菜单
本页目录

OPC-UA Protocol

1. Simple Connector Page

Scen4.png Click the plus sign next to the Channel List, add a OPC-UA protocol. Scen5.png

2. Add PLC connection under the channel

After adding a channel with the OPC-UA protocol, click the plus sign to the right of the channel name to add a PLC connection under it. 标准en1.png

After selecting the equipment instance, you need to fill in the PLC information. opcuaen1.png

FieldDescription
Equipment InstanceSelect the equipment instance under this channel.
Endpoint URLThe OPC-UA connection IP address and port number.
Anonymous LoginWhether password login is required. If not anonymous login, then username and password need to be filled in.
UsernameThe username for the OPC-UA connection.
PasswordThe password for the OPC-UA connection.

3. After adding, you can see the added PLC connection under this channel.

标准设备列表en.png

4. Add tags to PLC

Select the PLC connection, and click "Add Tag" on the right. 标准添加标签en.png oupuaen2.png

FieldDescription
Tag NameThe name of the tag.
AddressThe address of the PLC data tag.
Data TypeThe data type of the PLC data tag.
Scan IntervalThe time interval to scan the PLC tag. It is applicable when there is a need to subscribe the tag, and this will be the minimum interval to detect the tag value change.
Read/Write ModeSelect whether the PLC data tag is read-only or read-write.

After completion, the tags you added will be displayed on the right side.
标准标签列表en.png

5. Connectivity Testing

After adding device tags, we can test the tags to see if they can connect to the PLC.
连测en1.png

An access status of "Success" indicates that it can connect to the PLC, meaning the tag is functioning correctly.
If it shows "Failure", this means the PLC tag cannot be read, there is a connection issue. ) 连测en2.png

Click "Write" to perform a write test (only tags with a read/write mode set to "Read/Write" can be used for write testing).
连测en3.png 连测en4.png

After filling in the data value and submitting, a "Write successful" message will be displayed upon successful writing.
连测en5.png