Solutions
GE Fanuc OPC UA Server
1min
Protocol overview and ladder logic design for PAC Systems Rx3i to use it as an OPC server
- The PAC Systems OPC UA server is described under service request 130, protocol 0x0001. See the details below from PAC Systems RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual
- The following ladder logic can be used to start the OPC UA server
-
-
- R00001, R00002, R00003 are registers in which the parameter 16#0001, 16#0000 and -240 is moved indicating OPC protocol, start request and time zone offset configuration respectively
-
Step by Step guide to start the OPC server and connect it to LE using the OPC UA Client Advanced driver
- Open the PAC Machine Edition software and make sure that the controller is added and configured properly in the software.
- Add a new program and build the ladder logic as shown above.
- Create all the required variables in the Variables list as per the ladder logic.
- Save and download the program and go online. Go to programmer mode and right click on the OPC Command push button and click on force ON to start the OPC UA server.
- Once the OPC server is started, go to Litmus Edge DeviceHub > Devices page.
- In Litmus Edge, add OPC device with OPC UA Client Advanced driver
- Enter URL opc.tcp://<IP Address>:4840 and save device. The device will show connected. Here, IP Address should be the IP assigned to the PLC in the PAC addition software and 4840 is the port number used by the server
- The driver allows browsing as well. All tags can be now browsed and read in flows.
Important notes
- OPC UA Server is supported using the embedded Ethernet port with RX3i CPE305/CPE310 firmware version 8.20 or greater. So, the controller firmware version should be greater than 8.2. But in this case the OPC server can be started from the PAC Machine edition software using ladder logic. To start the server using online OPC commands of software there are different requirements mentioned below
- The PAC Machine edition version 9.5 and greater have OPC online commands present in the software that supports OPC UA. These commands help the user to start the OPC server directly instead of using the ladder logic. Also, the suggested firmware version of controller is 10.10 or greater for effective working with PAC machine version 9.5 or greater
Reference Video