Character 1 - stx, Characters 2, 3 device number, Character 4 -error code – CONTREX M-Traverse User Manual

Page 124

Advertising
background image

3 - 77

Table 3-43 Data Inquiry - M–Traverse Response

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Dev# Dev# Error Par# Par# Data Data Data Data Data Data Data Data Data

STX 10s 1s Code 10s 1s 10mil 1mil 100th 10th 1th 100s 10s 1s

Forma

t ETX

STX 0-9 0-9 @— 0-9 0-9 0-9 0-9 0-9 0-9 0 -9 0-9 0-9 0-9 0-; ETX

Character
#

DESC

ASCII

The following is a description of the Data Inquiry-M–Traverse Response Characters.

Character 1 - STX:

This is the first character in the character string.

Characters 2, 3 Device Number:

This is the two character access address for the M–Traverse.

Character 4 -Error Code:

If there are errors in the transmission that the M–Traverse receives from the host
computer, the Error Code will display them. Use Table 3-42 to convert the ASCII
code to binary. Then the binary code can be decoded as follows:

Bit 7

Always “0”.

Bit 6

Always “1”.

Bit 5

Always “0”.

Bit 4

1 = Control Mask Error / Lockout during Run state.

Bit 3

1 = Minimum / Maximum Error (out of range).

Bit 2

1 = Data Error (invalid data).

Bit 1

1 = Parameter Error (invalid parameter or message type).

Bit 0

1 = Transmit Error (parity, framing, overrun, no STX or no ETX).

Note:

The M–Traverse will only accept data if there are no errors. The ASCII error

code “@” (Binary code “1000000”) indicates that the Host Transmission
contains no errors. Also see MV-74 for the ASCII Error Code for the last
Response Message.

Advertising