beautypg.com

4 command code: 05, force on/off single contact, Command code: 05, force on/off single contact -16 – Delta DVP-ES2 User Manual

Page 618

background image

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g

Field Name

ASCII

Data Hi (T26)

00

Data Lo (T26)

07

Data Hi (T27)

00

Data Lo (T27)

08

Error Check (LRC)

C8

END 1

0D (Hex)

END 0

0A (Hex)

4.5.4 Command Code: 05, Force ON/OFF single contact

The Force data FF00 (Hex) indicates force ON the contact. The Force data 0000 (Hex) indicates force
OFF the contact. Also, When MMNN = 0xFF00, the coil will be ON, when MMNN = 0x0000, the coil will
be OFF. Other force data is invalid and will not take any effect.

Example: Force coil Y0 ON

PC→PLC “: 01 05 05 00 FF 00 F6 CR LF”

Sent message:

Field Name

ASCII

STX :

Slave Address

01

Command code

05

Coil Address Hi

05

Coil Address Lo

00

Force Data Hi

FF

Force Data Lo

00

Error Check (LRC)

F6

END 1

0D (Hex)

END 0

0A (Hex)

PLC→PC “: 01 05 05 00 FF 00 F6 CR LF”

Feedback message:

Field Name

ASCII

STX :

Slave Address

01

Command code

05

Coil Address Hi

05

Coil Address Lo

00

Force Data Hi

FF

4 - 1 6

This manual is related to the following products: