Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF): When X0 = ON, MODRW instruction executes the function specified by Function Code 06 PLC  VFD-B, PLC sends: “01 06 2000 1770 52” VFD-B  PLC, PLC receives: “01 06 2000 1770 52” (No data processing on received data) RTU mode (COM3: M1320 = ON, COM1: M1139 = ON) When X0 = ON, MODRW instruction executes the function specified by Function Code 06 PLC  VFD-B, PLC sends: “01 06 2000 1770 8C 1E” VFD-B  PLC, PLC receives: “ 01 06 2000 1770 8C 1E ” (No data processing on received data) Program Example 9: COM2 (RS-485), Function Code H0F 1. Function code K15 (H0F):

write in multiple bit devices. Up to 64bits can be written. 3. For ASCII or RTU mode, PLC COM2 stores the data to be sent in D1256~D1295 and the 2. PLC1 connects to PLC2: (M1143 = OFF, ASCII Mode), (M1143 = ON, RTU Mode) received data in D1070~D1085. 4. Take the connection between PLC1 (PLC COM2) 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 M1002 Set communication protocol as 9600, 8, E, 1 Retain communication protocol Set receiving timeout as 100ms M1143 = OFF ASCII mode M1143 = ON RTU mode X0 Sending request X0 Data length(bit) Data address: H0500 Data storing register Function code:

K15 Write in multiple bit devices Receiving completed M1127 Connection device address: K1 ASCII mode: The received data is stored in in ASCII format. D1070~D1085 Processing received data RTU mode: The received data is stored in D1070~ in Hex format. D1085 Reset M1127 3-382 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 MOV H87 D1120 SET M1120 MOV K100 D1129 RST M1143 SET M1143 SET M1122 MODRW K1 K15 H0500 D0 K16 RST M1127