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:
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.