DVP-ES2/EX2/EC5/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. 
2.  PLC1 connects to PLC2: (M1143 = OFF, ASCII Mode), (M1143 = ON, RTU Mode) 
3.  For ASCII or RTU mode, PLC COM2 stores the data to be sent in D1256~D1295 and the 
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 
H87MOV
M1002
D1120
SET M1120
K100
MOV
D1129
RST
M1127
Set communication protocol as 9600, 8, E, 1
Retain communication protocol 
Set receiving timeout as 100ms
MODRW K15K1
X0
H0500 D0 K16
Connection device
address: K1
Function code: K15
Write in multiple bit devices
Data address: H0500
Data storing register
Data length(bit)
Processing received data
ASCII mode: The received data is stored in   in ASCII format.  D1070~D1085
RTU mode: The received data is stored in D1070~ in Hex format.D1085 
Reset M1127
M1127
SET
X0
M1122
Sending request
M1143 = OFF
ASCII mode
RST
M1143
M1143 = ON 
RTU mode
SET
M1143
Receiving completed