DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
4.5.6 Command Code: 15, Force ON/OFF multiple contacts
Max contacts/coils available for Force ON/OFF: 255
Example: Set Coil Y007…Y000 = 1100 1101, Y011…Y010 = 01.
PC→PLC “: 01 0F 05 00 00 0A 02 CD 01 11 CR LF”
Sent message:
Field Name ASCII
STX :
Slave Address 01
Command code 0F
Coil Address Hi 05
Coil Address Lo 00
Quantity of Coils Hi 00
Quantity of Coils Lo 0A
Byte Count 02
Force Data Hi CD
Force Data Lo 01
Error Check (LRC) 11
END 1 0D (Hex)
END 0 0A (Hex)
PLC→PC “: 01 0F 05 00 00 0A E1 CR LF”
Feedback message:
Field Name ASCII
STX :
Slave Address 01
Command code 0F
Register T0 Address Hi 05
Register T0 Address Lo 00
Preset Data Hi 00
Preset Data Lo 0A
Error Check (LRC) E1
END 1 0D (Hex)
END 0 0A (Hex)
4.5.7 Command Code: 16, Set content of multiple registers
Example: Set register T0 to 00 0A , T1 to 01 02 .
PC→PLC “: 01 10 06 00 00 02 04 00 0A 01 02 D6 CR LF”
4-18