怎么通过SFC51读取是哪个从站故障?当从站故障时能否通过MODBUS TCP/IP将故障状态发送给DCS?怎么模拟测试从站故障?
I am using the SFC51 (“RDSYSST”) to read the status of SF LED and report it to HMI via Modbus TCP/IP.
Now I would like to test this. For this if I were to unplug one of the DI module I will generate a SF. But a related question would be that will the processor go into STOP mode and if yes than will the Modbus TCP/IP communication work with the HMI when the processor is in STOP mode.
最佳答案
这个问题要想解决需要弄明白三个问题:
1、S7-300系统功能的系统状态列表SSL,参考下面的文档的34章
用于 S7300/400系统和标准功能的系统软件卷1/2 http://support.automation.siemens.com/CN/view/zh/1214574
2、如何读出SSL,请参考下面文档
SFC 51常用功能使用入门
http://www.ad.siemens.com.cn/download/searchResult.aspx?searchText=A0540
3、弄明白MODBUS TCP/IP通讯,PN口和CP通讯方式不一样,请参考
基于S7-300,400以太网通讯模块CP343-1&CP443-1 Modbus TCP通讯快速入门(更新版本V4.1)
http://www.ad.siemens.com.cn/download/searchResult.aspx?searchText=A0394
基于S7-300,400 CPU集成PN 接口 Modbus TCP通讯快速入门(更新版本V2.4)
http://www.ad.siemens.com.cn/download/searchResult.aspx?searchText=A0401
提问者对于答案的评价:
谢谢!
原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc238706.html