CONTREX CX-1200 User Manual

Page 283

Advertising
background image

7 - 44

FUNCTION (07) DATA WRITE PLC PROGRAM

Table 51 Host Transmission

Byte #

DESC

Decimal

1

2

3

4

5-132

133

134

135

STX

Length

Address

Function PLC Program

ETX

CRC

Hex

2

9-135

0-99

7

0-255

3

0-65535

02

09-87

00-63

07

00-FF

03

0000-FFFF

PLC Program Field - (2 to 128 Bytes)
This field should contain a PLC Program, which may be any where from 2 to 128 bytes of data. The format
for this data should be in pairs of Commands & Operands:

PLC Command - 1 byte
PLC Operand

- 1 byte

Refer to Appendices: Appendix K for the PLC Program Commands and Appendices: Appendix L for the PLC
Program Operands.

Message Length = 9 to 135 bytes

Table 52 CX-1200 Response

Byte #

DESC

Decimal

1

2

3

4

5

6

7

8

STX

Length

Address Msg Error Error Code

ETX

CRC

Hex

2

8

1-99

0-255

0-32

3

0-65535

02

08

01-63

00-FF

00-20

03

0000-FFFF

Message Length = 8 bytes

Advertising