CONTREX CX-1200 User Manual
Page 282

7 - 43
FUNCTION (06) DATA READ PLC PROGRAM
Table 49 Host Transmission
Byte #
DESC
Decimal
1
2
3
4
5
6
7
8
STX
Length
Address
Function PLC Type
ETX
CRC
Hex
2
8
1-99
6
0-1
3
0-65535
02
08
01-63
06
00-01
03
0000-FFFF
PLC Program Type:
00 = Default Program
01 = Current User Program
Message Length = 8 bytes
Table 50 CX-1200 Response
Byte #
DESC
Decimal
1
2
3
4
5-132
133
134
135
STX
Length
Address Msg Error PLC Program
ETX
CRC
Hex
2
9-135
1-99
0-255
0-255
3
0-65535
02
09-87
01-63
00-FF
00-FF
03
0000-FFFF
PLC Program Field - (2 to 128 Bytes)
This field will contain the PLC Program Requested, which may be any where from 2 to 128 bytes of data.
The format for this data will 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