菜单
本页目录

ModbusTCP protocol

1. Enter Simple Connector Page

en添加链接1.png

Click the plus sign next to the channel list to add a ModbusTCP protocol. en添加链接2.png

2. Add a PLC connection under the channel

After adding the channel, click the plus sign to the right of the channel name to add a PLC connection under it. en添加设备实例.png ens71.png

FieldDescription
Equipment InstanceSelect the equipment instance under this channel. If no equipment instance has been added, click here to see how to add one.

enMB1.png

After selecting the instance, you need to fill in the relevant information.

FieldDescription
IP AddressThe IP address of the PLC.
PortThe IP address port number of the PLC.
Starting Address from 0If the starting position of the data is 0.
Data FormatThe data format for Modbus.
String ReverseThe arrangement of strings in Modbus.

3. Add tags within the PLC device.

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

FieldDescription
Tag NameThe name of the tag.
TypeNormal tag or product type tag. The product type tag is used for the system to automatically collect and locate the product model. Normal tag is used for storing real-time data, and be retrieved by the system.
AddressThe address of the PLC data tag.
Station IDThe station ID required by ModbusTCP
Data TypeThe data type of the PLC data tag.
Access ModeSelect whether the PLC data tag is read-only or read-write.
Storage Areathe storage area of Modbus TCP

After completion, the tags you added will be displayed on the right side. Tags with the "P" character icon represent that it is a tag to store product type info.
en标签列表3.png

4.Connectivity Test

After adding device tags, we can test the tags to see if they can connect to the PLC.
en连接性测试1.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.
en连接性测试2.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).
en写入测试1.png

en写入2.png

After filling in the data value and submitting, a "Write successful" message will be displayed upon successful writing.
en写入3.png