12. Communication Design Examples Control Program: M1002 Set the Master PLC communication address as K10 Retain communication setting Set communication time-out: 1000ms Set the communication format of Master PLC: MODBUS RTU Set starting Slave ID as K1 Set starting reference for Master to read from Slave ID 1 : D0 Set starting reference to store the data read from D0~D99 of Slave 1: D0 Set starting reference for Master to write in Slave 1: D100 100 data to be written in Slave 1 Set starting reference of Master: D100 D100~D199 of Master will be written in D100~D199 of Slave 1 Set starting reference for Master to read from Slave ID 2:
D200 100 data to be read from Slave 2 Set starting reference to store the data read from D200~D299 of Slave 2: D200 Set starting reference for Master to write in Slave 2: D300 100 data to be written in Slave 2 Set starting reference of Master:
D300 D300~D399 of Master will be written in D300~D399 of Slave 2 Enable 32 slave unit linkage and up to 100 data length of data exchange X0 Auto mode Enable PLC LINK DVP-PLC Application Examples 12-32 MOV K10 D1121 MOV H99 D1120 SET M1120 MOV K1000 D1129 SET M1143 MOV K1 D1399 MOV H1000 D1355 MOV K100 D1434 MOV K0 D1480 MOV H1064 D1415 MOV K100 D1450 MOV K100 D1496 MOV H10C8 D1356 MOV K100 D1435 MOV K200 D1481 MOV H112C D1416 MOV K100 D1451 MOV K300 D1497 SET M1353 SET M1351 SET M1350