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