Jump to content

DanT

Mobile App Beta
  • Posts

    295
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by DanT

  1. Hi;

     

    A Note from Experience.

    A SAMBA PLC has Limited Memory !!

    When Adding  Unitronics VFD   Functon blocks  to a SAMBA, it takes up a lot of that available memory and leaves only a small amount for actual application programming.

    User program will have to be very small.

    ( In our case, customer ended up using Small UniStream PLC   to handle the program and the VFD)

     

    DanT

     

     

  2. Hi;

     

    In the screen shot, F1  is a NO Contact.

    That means as long as F1 is Pressed, the shift will happen every scan cycle.

    So the data will be thru the shifting in say 16 cycles. - a blink of the eye.

    Try with a   ---|P|----   for   F1  and every time the F1 key is pressed, then 1 shift at a time -  abd observe the output.

    Aslo, if it in a subroutine, be sure it is being called.  and maybe note how you are calling the subroutine - every scan cycle or intermittent.

    As Joe noted, post the program so we can see the whole picture.

     

    DanT

  3. Hi;

    UAC-CX-01RS2 to the PLC USC-B5-TA30     --     Will NOT Work.

    UAC-CX-01RS2  is for use on the   US5/US7/US10   Models.

     USC-B5-TA30 requires         UAC-CB-01RS2           Com Module            - it  sits beside the USC  CPU  on the DIN Rail.

    Contact your distributor.

    DanT

     

                                                                        

  4. HI;

    Based on the above,

    You will have to replace the PLC,  They are not repairable.

    You will need a copy of the orginal program to load into the new PLC.

    Visilogic programming software is a Free Download from the Unitroncis website.

    You should also get the USB Programming cable - for SM43  or SM70   ( SM35 uses the RS232-CB1  Com  Programming Cable)

    Is there and Ethernet Card or CANBUS Card, or  Serial Com Card Installed?  -- Replace them also - they may have gotten damaged  also.

    Contact the Machine Builder, or Unitronics sales for the closest distributor.

     

    DanT

     

  5. Hi Mac;

     

    SM43-J-R20  or   T20   has Fixed I/O is designed not to be expanded using standard   IO-xxx   Modules.

    The SAMBA  Series in a subset of the Vision Series, meant for simple self contained projects.

    You will have to go upto a Full Vision Model.

                   V430-J-R34         22 Inputs, 12 Relay Out

                   EX-A2X                  Expansion Adapter

                  IO-DI8-RO8        8 Inputs, 8 Relay Out

                 (  EX-DI8-RO8   is an option    --   Fixed  I/O Expansion  8 In, 8 Relay Out )

     

    You can also consider Kratmel's solution, but you have to re-adjust all the Canbus Struct  Addressing to make it work.

    Another Method is using the remote I/O    -   SAMBA + Ethernet Module +  URB-TCP2 + IO Modules. Again  it is the programming overhead to make it work.

    These are for more experienced Unitroncis programmers who know the tricks from experience.

    SAMBA  has limited Programming memory.

     

     DanT

    • Thanks 2
  6. Hi;

    In INFO Mode there is a menu item for Ethernet.  This provides informtion about the Ethernet Adress and Ports  in use.

    You also need to know the name of the PLC - that is under    Version - Software

    You need both the PLC Name and the IP Address to connect to the PLC via   Ethernet.    ( The PLC name acts like a password, and assues you are connecting to the right PLC )

     

    DanT

     

  7. Hi;

    One issue can be mis-matched versions  between UniLogic on your computer and the Version used to download the original program into the PLC.

      ( UniLogis is VERY  Picky  about this      The versions MUST MATCH )

     

    What version of UniLogic OS  is in the PLC?  

          UniApps      -- About

     

    What version of UniLogic are you using ?

        If necessary you can download older versions of UniLogic and install them - Yes you have to uninstall the current version first.

           ( To have Multiple versions of UniLogic available on your computer, see the  posts elsewhere in this forum)

     

    DanT

  8. Hi;

     

    When using the EX-RC1, you have to understand how the Data is transfered and the use of the Structs ( at BOTH Ends )

    Modify  the   EX-RC1.vlp   example to  limit to the   devices used.

         Order of the IO Modules should be    IO-DI8-RO8,  IO-DI8-RO8,  IO-AI4-AO2

    Review the EX-RC1  Analog Example and add the structs  for the Analog   AFTER the Digital Structs.

    It will take a bit of experimentation to get it right.

     

    Digital I/O is compressed into an Integer and sent and received,  Analog is sent as  Integers

    without any compression.

    The structs have to be the same at each end  .

    DanT

     

     

     

     

     

    • Like 1
  9. Hi;

     

    The UniStream  B3  Models  - 2 Only -- are in the UniStream   PLC Section - Tech Documenmts 

           USC-B3-R20  or   T20.   They do not have a Built in HMI, The HMI is Virtual -- VNC from Display  or PC

    The B3  is a subset of the Full UniStream Series  and has  Limits,  but still very functional for the right applications.

    The unit has  3 GB for programming,

    Spec sheet  does not specify a limit to the Virtual HMI's,  or subtroutines called from the main.  ( The layered limit is subroutines calling subroutines.)

    DanT

     

     

          

    • Like 1
  10. Hi;

     

    Rest API  is a functon in the  UniStream Series only.

    V700  is a Vision Series PLC,  older than the UniStream Series, and does not have/support  the Rest API  Function 

       Vision Series is based on another  OS technology - Microcontroller and Fixed Structure.

    You may have to resort to an intermediate solution - Raspberry PI( for example)  to get the weather data, then Modbus the infomation into the V700

     

    DanT

  11. Hi;

    VisiLogic has Function Blocks for sending and receiving data as you have described.

       FB  Protocol    >    Protocol Scan    ( to receive data from a device)    and Protocol Send   to send Data to a device

     For FB  Protocol Scan setup,  refer to an example in    Help    Examples  :

        Help  Examples   Version 900    Projects      Communications   FB Protocol    V130_Receive _4_Numbers

    There is also an example for  FB  Protocol Send  (  to send data to another device)   in the same examples folder.

     

     Post your code   AND   how you have the protocol Scan  Setup  done.  We can review.

     

    DanT

  12. Hi;

    Your code does not show the setup for the Protocol Scan -- How the data is structured to receive

    For FB  Protocol Scan setup,  refer to an example in    Help    Examples  :

        Help  Examples   Version 900    Projects      Communications   FB Protocol    V130_Receive _4_Numbers

    There is also an example for  FB  Protocol Send  (  to send data to another device)   in the same examples folder.

     

    DanT

  13. Hi;

     

        SAMBA   is a  very stripped down version of a regular Vision  ( V350, V430, V700)    PLC with     "severe " limits on usable memory.

       SAMBA is meant for small stand alone projects.

        Just a few differences   ( for  a full   listing of the  limits, refer to a  SAMBA Spec Sheet   )

                                                              SAMBA                          Vision( ex  V350)

    MB                                                       512                                              8192

    MI                                                          256                                              4096

    ML                                                            32                                                512

    MF                                                            24                                                  64

    HMI Screens                                      24                                                1024

    micro SD Card                                 NO                                                YES

    I/O Expansion                                   NO                                               YES

     

    UniStream B3   Series has limits ( Check the Specs), but the B5 and B10  models have lots of space.

    DanT

  14. Hi;

     

    Net 3   -- Protocol Scan

         Why are you using the 1 second pulse to scan?   This means your program only runs this every second for 1 scan cycle.

              Data can show up anytime!

       Remove the 1 Second Pulse and let it run free and collect the data as it comes.  

    Consider using the session complete  MB4001  to copy data to the   COPY BUFFER  in a new net

     

    DanT

  15. Hi;

    Here is where to look for information :

    Programming Examples :

    Help -  Examples - V900 - Project Examples -  Communications - EX-RC1     >  Examples there to work with.

    EX-RC1  uses the RS232  Programming port to set the program inside   Note :   57k Baud Rate MAX !!

    Just a note:     Analog Data is sent  as integers and received as integers

                                  Inputs and Outputs( Bits)  are encoded  to    Bytes ( 8 Bits  = 1 Byte)    asent and then decoded  at  the other end.

                                    So pay attemtion as to where the data ends up. Once Understood, it works.

      

    Canbus Wiring :

    Review         Help   - CANBUS -- Getting Started with CANBUS   - Specs and Wiring.

    Use   Proper CANBUS/Devicenet Cables. 

    CANBus  cabling is NOT Powered by  the PLC, so POwer must be applied to the CANBUS  Power Wire  Pair

    Review the Addessing  for the Module and the PLC

     

    If you have issues, you can Post Your Code for assistance. 

     

    DanT

     

     

  16. Hi;

    Info Mode tells a lot about   what is happening inside a Vision PLC

    Touch the scteen ( in a Non Programmed Touch Area ) for 5-10 Seconds

          Enter Info Mode / Calibrate TouchScreen Appears

                   Enter Info Mode     -- Password is   1111

                           New Screen with menu appears.

                                       Version  - Software gives info about  the OS and installed Program

                                      Flash memory   --  tells  if program is backed up in Flash Memory

                                     Explore the others to get familiar with the PLC  status

     

    DanT

    • Like 1
  17. Hi;

    Any M91-2   ( Example  M91-2-R1)   has High Speed Input.

    The High Speed Input (HSI) can be configured to provide Frequency  - in hardare setup

    You can then convert ( with a bit of Math, or  Linearization function)  this number into the parameter you need in yor project ( Example    Meters/Min )

    Under  Help   there are Example Programs

     

    DanT

     

     

×
×
  • Create New...