CONTREX CX-1200 User Manual

Page 259

Advertising
background image

7 - 20

FUNCTION (02) DATA READ SINGLE PARAMETER

Table 20 Host Transmission

Character #

DESC

ASCII

STX

Address

Separator

Parm #

Inquiry

ETX

1

2

3

4

5

6

^B

1-99

,

0-999

?

^C

Parm # Field

This field may consist of one or more ASCII characters representing the parameter number re-
quested. If the parameter number is less than 10, then a single ASCII character may be used to
represent the parameter number. If the parameter number is in the range of 10 to 99, then two
characters are required to represent the parameter number. If the parameter number is 100 or greater,
then three characters are required to represent the parameter number. Any leading spaces will be
ignored.

Table 21 CX-1200 Response

Character #

DESC

ASCII

STX

Msg Error

Separator

Parm #

Equals

Value

ETX

1

2

3

4

5

6

7

^B

0-FF

,

0-999

=

<below>

^C

Value Field

This field will consist of an ASCII string representing the value for the parameter requested. If there
is an error retrieving the parameter value, this field will contain the error code number preceded by
an “E” (e.g., “E3”).

Examples with No Error:

decimal integer value of 1

“1”

decimal integer value of 1000

“1000”

decimal integer value of -20

“-20”

decimal value of 1234.56

“1234.56”

decimal value of -15.00

“-15.00”

Binary value of 89

D

“01011001”

Advertising