DVP - ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

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 - 16

 

 

 

 

 

 

Page 618
Image 618
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Command Code 05, Force ON/OFF single contact, Pc→Plc