Kaiyi — 12.6.6 PLC Programs Writing

Chapter 12 Network Module AH10PFBM 【 Control program in slave PLC 】 Write the program through the ISPsoft software After the slave PLC runs and M1 is ON, write 100~103 to the corresponding D200~D203; 104 and 105 to D500 and D501 respectively in the slave PLC. The values in D200~D203, D500 and D501 are sent to the master through PROFIBUS. 【 Program Execution 】 Before the master establishes the communication with the slave, the data in registers D of the master and slave for exchange are shown as the following table.

12-51 Register in master Value No data Register in slave Value PLC (Decimal) transmitted PLC (Decimal) D6000 500 D300 0 D6001 501 D301 0 D6002 502 D302 0 D6003 503 D303 0 D6004 504 D600 0 D6005 505 D601 0 D1000 0 D200 100 D1001 0 D201 101 D1002 0 D202 102 D1003 0 D203 103 D1004 0 D500 104 D1005 0 D501 105