Status responses – Welch Allyn LC101 CO2 Module - User Manual User Manual
Page 34

LC101 CO
2
Module OEM Implementation Manual
Page 34
Confidential
Welch Allyn OEM Technologies
Status Responses
Status responses are data packets that communicate Module, sensor and system status. The
status response also serves as an acknowledgement for mode commands.
Status response packet format:
<
STX
02h
X
identifier
1*(ASCII)
xx
mode
2*(ASCII)
yy
message
2*(ASCII)
zz
CCITT/CRC code
2*(ASCII)
>
ETX
03h
NOTE: To simplify the Module status response examples that follow, the CRC data (zz) is
assumed to be included with the ETX character (>).
Status Response Mode Byte
The format of the Mode byte is as follows:
<Sxxyy>
where
S = Identifier
(1 byte = 1 ASCII character)
xx = Mode
(2 Hex digits = 2 ASCII characters)
yy = Status message
(2 Hex digits = 2 ASCII characters)
Status Response Mode Byte - Format Summary
*Bits 5 and 6 will always be set to 1; Bit 7 will always be set to 0.
**Bits 3 and 4 are always zero as there are only 4 modes (values 0, 2, and 6 to 31 are undefined).
bit 7*
bit 6*
bit 5*
bit 4**
bit 3**
bit 2
bit 1
bit 0
Status
Response xx
Mode
8
4
2
1
8
4
2
1
<S61yy>
Standby
0
1
1
0
0
0
0
1
<S63yy>
Measurement
0
1
1
0
0
0
1
1
<S64yy>
Autorun
0
1
1
0
0
1
0
0
<S65yy>
Fault
0
1
1
0
0
1
0
1