VisiLogic and Remote IO
Ofir Levi
Jan-26th, 2020 13:00

Vision controllers now support our URB series of UniStream® Ethernet-based Remote I/O, which is supported by both Vision and Samba. 

Here the basic steps in order to connect and configure URB remote IO with Vision or Samba controller:

1. First configure the IP address of the URB adapter - see in article https://support.unitronics.com/index.php?/selfhelp/view-article/Remote-IO-Quick-Start-Guide

2. From VisiLogic Tools menu open "URB Remote IO configurator".

3. Open new project

4. Select the type of URB adapter you are using:

5. Add the IO modules you wish to use and configure them accordingly.

6. Once done download the configuration to the URB. Select Download Configuration ,type the IP address of the URB adapter and click Ok:

7. In case it was downloaded successfully - it should prompt the below message:

8. Select the tab Adapter's Addressing in order determine the addressing the IO data for VisiLogic - Select the addresses of MI/XI , MB/XB that will be used in the VisiLogic program. (Make sure that if you are using existing application to select unused addresses).
9. After addressing is done , you can export the addressing to files for importing it to your VisiLogic application:
10. Open your VisiLogic application.

11. Configure the Ethernet settings of the PLC and a socket to TCP as Client and MODBUS TCP Configuration:

12. Perform TCP connect in order to connect to the Remote IO :

13. Send MODBUS R.H.R command to read the inputs data. The inputs address start in address 0. Link the MI address and set the length according to the configuration.

       

14. Perform parse to the data received - Use the struct ladder element to parse the data. You can import the file created by the "URB configurator"  - This will fill all fields automatically.

15. Collect the data to write to outputs and send write command - Use the struct ladder element to parse the data. Import the outputs file created by the "URB configurator"  - This will fill all fields automatically.

       

Examples Attached.

Was this article helpful?
8 out of 8 found this helpful