Definition of message elements – CONTREX CX-1200 User Manual

Page 244

Advertising
background image

7 - 5

Definition of Message Elements

“STX”

Signals the start of transmission. (Host/CX-1200) A single byte ASCII Char
(02) “^B”.

”Address”

Address of the CX-1200 that will recognize and interpret the message. A
two character ASCII number in the range of “01” - “99”. (“@0” = Global
Transmission)

“Function”

The CX-1200 function requested which defines the data structure to follow.
It is a two character ASCII number in the range of “01”-”10" (accepted
functions are defined above).

“Message Error” (Msg Error) General transmission response from the CX-1200. This is a two character

ASCII HEX number, in the range of “00” - “FF”, which may indicate a
serial communications error has occurred upon receipt of a message trans-
mission.

“Data Field”

A field of variable length which contains the data for the function requested.
The Data Field is defined for individual functions through out the following
section.

“ETX”

Signals the end of the message. (Host/CX-1200) A single byte ASCII Char
(03) “^C”.

“CRC”

(Cyclic Redundancy Check) If CRC Enable is “ON”, a CRC value is calcu-
lated and sent with each transmission. The CRC includes all message data
except the STX byte. The data stream is checked against the CRC at the
receiving end. The CRC is a four character ASCII HEX number in the range
of “0000” - “FFFF”.

“Format Character” (Fmt)

An ASCII character, in the range of “0-2”; where “0” indicates the value is
“OK” as is, “1” indicates the value is negative and “2” indicates the value is
in binary format.

“Resolution Character” (Res) An ASCII character, in the range of “0-9”, that indicates the number of digits

to the right of the decimal point for the value.

Advertising