資源描述:
《西門子PLC多個站點MODBUS輪詢通訊.pdf》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、CP341ModbusRTU多站點輪詢CP341ModbusRTUPollingMulti-SlavesGetting-StartedEdition(2009年7月)摘要本文檔討論使用CP341實現(xiàn)Modbus主站輪詢多個從站關(guān)鍵詞CP341,ModbusRTU,輪詢,功能碼KeyWordsCP341,ModbusRTU,Polling,F(xiàn)unctionCodeIA&DTService&SupportPage2-16目錄目錄........................................
2、.......................................................................................31.軟件環(huán)境........................................................................................................................41.1STEP7V5.4SP3........................
3、................................................................................41.2CPPtPParamV5.1SP8............................................................................................41.3CPPTPModbusMasterV3.1.4..................................
4、................................................42.硬件列表........................................................................................................................43.組態(tài)配置........................................................................
5、................................................43.1組態(tài)CPU及CP341......................................................................................................43.2設(shè)置Modbus總線傳輸速率和幀字符結(jié)構(gòu).................................................................
6、....53.3設(shè)置電氣接口..............................................................................................................64.編程.............................................................................................................................
7、...64.1創(chuàng)建發(fā)送數(shù)據(jù)塊DB1...................................................................................................64.2創(chuàng)建接收數(shù)據(jù)DB.........................................................................................................64.3創(chuàng)建輪詢功能塊FC1.......
8、.............................................................................................74.4在OB1中調(diào)用輪詢功能塊FC1...................................................................................145.總結(jié).....................