9 Application Instructions API 150-199 Registers for PLC1 received data (responding messages): 3. RTU Mode: When PLC1 is connected to PLC2 When X10 = On, function code 15 of MODRW instruction will start to be executed. PLC1 PLC2, PLC1 sends: “ 01 0F 0500 0006 01 3F ” PLC2 PLC1, PLC1 receives: “ 01 0F 0500 0006 D5 05 ” Registers for PLC sent data (sending messages): Registers for PLC received data (responding messages): Program example 10: COM1 (RS-232) / COM3 (RS-485), Function Code H0F 5. Function code K15 (H0F): write in multiple bit devices. Up to 64 bits can be written 6. PLC1 connects to PLC2:
(M1143 = OFF, ASCII mode), (M1143 = ON, RTU mode) DVP-PLC Application Manual 9-22 Register DATA Explanation D1263 low ‘3’ 33 H Data content 1 Content in D0 register (H3F) D1263 high ‘F’ 46 H D1264 low ‘A’ 41 H LRC CHK 1 Error checksum:
LRC CHK (0,1) D1264 high ‘5’ 35 H LRC CHK 0 Register DATA Explanation D1070 low ‘0’ 30 H ADR 1 ADR 0 D1070 high ‘1’ 31 H D1071 low ‘0’ 31 H CMD 1 CMD 0 D1071 high ‘F’ 46 H D1072 low ‘0’ 30 H Data address D1072 high ‘5’ 35 H D1073 low ‘0’ 30 H D1073 high ‘0’ 30 H D1074 low ‘0’ 30 H Number of registers D1074 high ‘0’ 30 H D1075 low ‘0’ 30 H D1075 high ‘6’ 36 H D1076 low ‘E’ 45 H LRC CHK 1 LRC CHK 0 D1076 high ‘5’ 35 H Register DATA Explanation D1256 low 01 H Address D1257 low 0F H Function D1258 low 05 H Data address D1259 low 00 H D1260 low 00 H Data content Content in D0 register (H3F) D1261 low 06 H D1262 low 01 H CRC CHK Low D1263 low 3F H CRC CHK High Register DATA Explanation D1070 low 01 H Address D1071 low 0F H Function D1072 low 05 H Data address D1073 low 00 H D1074 low 00 H Data content D1075 low 06H D1076 low D5H CRC CHK Low D1077 low 05 H CRC CHK High