CONTREX CX-1200 User Manual

Page 260

Advertising
background image

7 - 21

FUNCTION (03) DATA WRITE SINGLE PARAMETER

Table 22 Host Transmission

Character #

DESC

ASCII

STX

Address Separator

Parm #

Assign

Value

Inquiry

ETX

1

2

3

4

5

6

7

8

^B

0-99

,

0-999

=

<below>

?

^C

Value Field

This field will consist of an ASCII string representing the value to be assigned to the parameter.
Leading spaces in this field will be ignored.

Examples:

decimal integer value of 1

“1”

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”

Inquiry Field (Inq)

The inclusion of the inquiry designator is optional. If no response is required this character may be
omitted from the message. If this character field is not included in the message, the operation will be
performed, however the control will not respond.

Table 23 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 assigned to the parameter. If an error
occurred in the assignment operation, this field will contain the error code number preceded by an
“E” (e.g., “E3”).

Value Field 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