Delta DVP-ES2 User Manual
Page 465
3 . I n s t r u c t i o n S e t
3 - 3 4 9
RTU mode (M1143 = 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”
Registers for data to be sent (sending messages)
Register
Data
Descriptions
D1256 Low byte
01 H
Address
D1257 Low byte
06 H
Function
D1258 Low byte
20 H
D1259 Low byte
00 H
Data Address
D1260 Low byte
17 H
D1261 Low byte
70 H
Data
content
H1770 = K6000.
The content of register D50
D1262 Low byte
8C H
CRC CHK Low
D1263 Low byte
1E H
CRC CHK High
Registers for received data (responding messages)
Register
Data
Descriptions
D1070 Low byte
01 H
Address
D1071 Low byte
06 H
Function
D1072 Low byte
20 H
D1073 Low byte
00 H
Data Address
D1074 Low byte
17 H
D1075 Low byte
70 H
Data content
D1076 Low byte
8C H
CRC CHK Low
D1077 Low byte
1E H
CRC CHK High
Program example 8: COM1 (RS-232) / COM3 (RS-485), Function Code H06
1.
Function code K6 (H06): Write in single Word device.
2.
Set the value to be written into VFD-B in the register specified by operand S.
3.
PLC COM1/COM3 will not process the received data.
4.
Take the connection between PLC (PLC COM3) and VFD-B for example, the tables below
explains the status when PLC COM3 writes in single Word device in VFD-B (M1320 = OFF,
ASCII Mode ), (M1320 = ON, RTU Mode)
z
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
4. M1320→M1139: ASCII/RTU mode selection