DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
RTU mode (M1143 = ON)
When X0 = ON, MODRW instruction executes the function specified by Function Code H10
PLC VFD-B,PLC transmits: “01 10 2000 0002 04 1770 0012 EE 0C”
VFD-BPLC, PLC receives: ”01 10 2000 0002 4A08”
Registers for data to be sent (sending messages)
Data Address
Number of Register
The content of D50: H1770 (K6000)
The content of D51: H0012 (K18)
Registers for received data (responding messages)
Data Address
Number of Register
Program example 12: COM1 (RS-232) / COM3 (RS-485), Function Code H10
1. Function code K16 (H10): Write in multiple Word devices. Up to 16 Words can be written. For
PLC COM2 ASCII mode, only 8 words can be written.
2. PLC COM1/COM3 will not process the received data
3. Take the connection between PLC COM3 and VFD-B for example, the tables below explain
the status when PLC COM3 writes multiple Words in VFD-B. (M1320 = OFF, ASCII mode)
(M1320 = ON, RTU mode)
If PLC applies COM1 for communication, the below program can be usable by changing:
a) D1109→D1036: communication protocol
b) M1136→M1138: retain communication setting
c) D1252→D1249: Set value for data receiving timeout
d) M1320→M1139: ASCII/RTU mode selection
e) M1316→M1312: sending request
f) M1318→M1314: receiving completed flag