OPC UA

Last modified by Wecon on 2025/09/03 21:03

OPC UA Client

This document describes the communication between Wecon HMI PI8150ig and LX6C-0808MT-DB Ethernet OPC UA, the PLC as Server and the HMI as Client.

OPC UA Server Setting

1)Add [Symbol Configuration]

1718694163624-376.png

2)The option [Support OPC UA features] is enabled by default, do not change it, and then click [Add];

1718694187203-702.png

3)Click [Build] to compile the project; 

1718694206493-877.png

4)Tick the boxes for POU node to make all variables are accessible from OPC clients;

1718694223959-314.png

HMI Settings

ItemsSettingsNote
ProtocolOPC_UA_Client 
ConnectionEthernet 
Port No.4840 
PLC station No.1 

Note: Only 8000ig Series support OPC UA Client.

1)[New]→[setting]→[communication device]:[communication]Ethernet, [Protocol]Ethernet1, [Device type]OPCUA,[Protocol]OPC_UA_Client→[OK]

1718692090272-964.png

2)Set the  [Device IP] as Server IP:[Server IP]192.168.8.8,[Porta]4840.If you set the account of server,you need enter the [Username] and [Password] in the appropriate places.

1718692350491-886.png

3)Enter [Labels manage],click[Get Tags From Device]

1718692618961-813.png

Choose the tags we need:[Root]-[Objects]-[DeviceSet]-[LX6C-0808MT-DD]-[Resources]-[Application]-[Programs].Then click[Add],and[Save].

123.png

 4)Then you can use these tags in the HMI.

1718692728268-946.png