5 command code: 06, set content of single register – Delta DVP-ES2 User Manual
Page 619
4 . C o m m u n i c a t i o n s
Field Name
ASCII
Force Data Lo
00
Error Check (LRC)
F6
END 1
0D (Hex)
END 0
0A (Hex)
4.5.5 Command Code: 06, Set content of single register
Example: Set content of register T0: 12 34 (Hex)
PC→PLC “: 01 06 06 00 12 34 AD CR LF”
Sent message:
Field Name
ASCII
STX :
Slave Address
01
Command code
06
Register Address Hi
06
Register Address Lo
00
Preset Data Hi
12
Preset Data Lo
34
Error Check (LRC)
AD
END 1
0D (Hex)
END 0
0A (Hex)
PLC→PC “: 01 06 06 00 12 34 AD CR LF”
Feedback message:
Field Name
ASCII
STX :
Slave Address
01
Command code
06
Register T0 Address Hi
06
Register T0 Address Lo
00
Preset Data Hi
12
Preset Data Lo
34
Error Check (LRC)
AD
END 1
0D (Hex)
END 0
0A (Hex)
4 - 1 7