Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming RTU mode (M1143 = ON) When X0 = ON, MODRW instruction executes the function specified by Function Code H0F PLC1  PLC2 , PLC1 sends: “ 01 0F 0500 0010 02 34 12 21 ED ” PLC2  PLC1 , PLC1 receives: “ 01 0F 0500 0010 54 CB ” Registers for data to be sent (sending messages) Registers for received data (responding messages) Program example 10: COM1 (RS-232) / COM3 (RS-485), Function Code H0F 1. Function code K15 (H0F): write in multiple bit devices. Up to 64 bits can be written 2. PLC1 connects to PLC2: (M1143 = OFF, ASCII mode), (M1143 = ON, RTU mode) 3. PLC COM1/COM3 will not process the received data. 4.

Take the connection between PLC1 (PLC COM3) and PLC2 (PLC COM1) for example, the tables below explain the status when PLC1 force ON/OFF Y0~Y17 of PLC2. Set value: K4Y0=1234H  If PLC applies COM1 for communication, the below program can be usable by changing: 1. D1109→D1036: communication protocol 2. M1136→M1138: retain communication setting 3. D1252→D1249: Set value for data receiving timeout 3-384 Register Data Descriptions D1256 Low byte 01 H Address D1257 Low byte 0F H Function D1258 Low byte 05 H Data Address D1259 Low byte 00 H D1260 Low byte 00 H Number of Data(count by bit) D1261 Low byte 10 H D1262 Low byte 02 H Byte Count D1263 Low byte 34 H Data content 1 Content of D0:

H34 D1264 Low byte 12 H Data content 2 Content of D1: H12 D1265 Low byte 21 H CRC CHK Low D1266 Low byte ED H CRC CHK High Register Data Descriptions D1070 Low byte 01 H Address D1071 Low byte 0F H Function D1072 Low byte 05 H Data Address D1073 Low byte 00 H D1074 Low byte 00 H Number of Data(count by bit) D1075 Low byte 10H D1076 Low byte 54H CRC CHK Low D1077 Low byte CB H CRC CHK High Device Status Device Status Device Status Device Status Y0 OFF Y1 OFF Y2 ON Y3 OFF Y4 ON Y5 ON Y6 OFF Y7 OFF Y10 OFF Y11 ON Y12 OFF Y13 OFF Y14 ON Y15 OFF Y16 OFF Y17 OFF