通過sfc51讀取從站故障,并通過modbus tcp/p將故障傳送給dcs
林慧玲
發(fā)布于2014-03-27 18:02
2
0
標簽:
怎么通過sfc51讀取是哪個從站故障?當(dāng)從站故障時能否通過modbustcp/ip將故障狀態(tài)發(fā)送給dcs?怎么模擬測試從站故障?
iamusingthesfc51(“rdsysst”)toreadthestatusofsfledandreportittohmiviamodbustcp/ip.
nowiwouldliketotestthis.forthisifiweretounplugoneofthedimoduleiwillgenerateasf.butarelatedquestionwouldbethatwilltheprocessorgointostopmodeandifyesthanwillthemodbustcp/ipcommunicationworkwiththehmiwhentheprocessorisinstopmode.
佳答案
這個問題要想解決需要弄明白三個問題:
1、s7-300系統(tǒng)功能的系統(tǒng)狀態(tài)列表ssl,參考下面的文檔的34章
用于s7300/400系統(tǒng)和標準功能的系統(tǒng)軟件卷1/2https://support.automation.siemens.com/cn/view/zh/1214574
2、如何讀出ssl,參考下面文檔
sfc51常用功能使用入門
https://www.ad.siemens.com.cn/download/searchresult.aspx?searchtext=a0540
3、弄明白modbustcp/ip通訊,pn口和cp通訊方式不一樣,請參考
基于s7-300,400以太網(wǎng)通訊模塊cp343-1&cp443-1modbustcp通訊快速入門(更新版本v4.1)
https://www.ad.siemens.com.cn/download/searchresult.aspx?searchtext=a0394
基于s7-300,400cpu集成pn接口modbustcp通訊快速入門(更新版本v2.4)
https://www.ad.siemens.com.cn/download/searchresult.aspx?searchtext=a0401