3. Instruction Set
H87
MOV
M1002
D1109
SET
M1136
K100
MOV
D1252
MODRW
K16
K1
X0
H2000 D50
K2
Connection device address: K1
Function Code : K16
Write in multiple Word data
Data address: H2000
Da ta t re g is te r :
D50 = H1770, D51=H12
Data length: K2
SET
X0
M1316
RST
M1320
SET
M1320
M1320 = OFF
ASCII mode
Set communication protocol as 9600,8,E,1
Re ta in communica tio n s e tting
Set communication timeout as 100ms
Sending request
M1320 = ON
RTU mode
RST
M1318
M1318
Reset M1318
ASCII mode: No processing on received data .
RTU mode: No processing on received data .
Received data
Re ceiving comple te d
ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):
When X0 = ON, MODRW executes the function specified by Function Code H10
PLC VFD-B, PLC sends: “01 10 2000 0002 04 1770 0012 30”
VFDPLC, PLC receives: “01 10 2000 0002 CD”
(No processing on received data)
RTU Mode (COM3: M1320=On, COM1: M1139=On):
When X0 = ON, MODRW executes the function specified by Function Code H10
PLC VFD-B,PLC sends: “01 10 2000 0002 04 1770 0012 EE 0C”
VFD-BPLC, PLC receives :”01 10 2000 0002 4A08”
(No processing on received data)