1.首先打開軟件建立300站點 [attachment=128860]
2、添加硬件進行組態(tài)、在DP模塊上建立總線、插入遠程IO擴展模塊ET200M、添加數(shù)字量輸出模塊,保存 [attachment=128861] [attachment=128862]
3、打開編輯畫面的塊,插入相應(yīng)塊 [attachment=128863]
4、打開FC塊,編寫程序,對應(yīng)映射地址發(fā)送、接收區(qū)地址 [attachment=128864]
5、在OB1塊中調(diào)用FC塊、下載整個站點測試 [attachment=128865]
程序如下:
[attachment=128866]