菜单
本页目录

Siemens S7 Protocol

1. Enter Simple Connetor page

en添加链接1.png

Click the plus sign next to the Channel List, add a Siemens S7 protocol. en添加链接2.png

2. Under the channel, add an equipment PLC connection

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

FieldDescription
Equipment InstanceSelect the equipment instance under this channel.

ens72.png

FieldDescription
IP AddressThe IP address of the PLC.
PortThe IP port number of the PLC.
ModelThe model of the Siemens PLC.

3. After adding a channel, you can see the added PLC device connection under it.

en通道列表1.png

4. Add tags within the PLC of the equipment.

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

s7添加标签2 .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.
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.
Access 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. Tags with the "P" character icon represent that it is a tag to store product type info.
en标签列表3.png

5. Connectivity Testing

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