菜单
本页目录

ModbusTCP protocol

1. Simple Connector Page

Scen4.png Click the plus sign next to the Channel List, add a ModbusTCP protocol. Scen5.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. 标准en1.png 标准en2.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.

MBen1.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.png MBen2.png

FieldDescription
Tag NameThe name of the tag.
AddressThe address of the PLC data tag.
Station IDThe station ID required by ModbusTCP
Data TypeThe data type of the PLC data tag.
Read/Write 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.
标准标签列表en.png

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