PC to CPU:
'STX' 'ADR' 'O' 'CHK' 'ETX'
'O'
ASCII-Code 0x4F OR 0X80 = 0xCF
Example:
ADR = 1
String =
0x02 0x81 0xCF 0xCE 0x03 (5 Bytes)
CPU to PC
'STX' 'ADR' 'O' Dig0 Dig1 Dig2 Mx0...Mxn Sk0...Skm 'CHK' 'ETX' (read value)
'O'
ASCII-Code 0x4F OR 0X80 = 0xCF
The length of the replied string depends on the configuration of the chamber. All configured digital channels, flags and softkeys are reported. When function active a '1' otherwise a '0' is replied.
Example of a configuration:
General channels:
Dig0
= Start Enable
Dig1
= Error pending
Dig2
= unused
Status bits (flags):
Mx0
= Temperature ON
Mx1
= Humidity ON
Mx2
= dew point > 7°C
Mx3
= dew point < 7°C
Mx4
= door closed
Settable channels (softkeys):
Sk0
deep dehumidification
Sk1
compressed air
Sk2
additional dehumidification
Sk3
regulating on mob. PT100
Sk4
Digital Output 1
Sk5
Digital Output 2
Example: ADR = 1
PC to CPU:
String =
0x02 0x81 0xCF 0xCE 0x03 (5 Bytes)
CPU to PC:
String =
0x02 0x81 0xCF 0xB0 0xB1 0xB0 0xB0 0xB0 0xB1 0xB0 0xB0 0xB0 0xB0 0xB0 0xB0 0xB0 0xB0 0xCE 0x03 (19 Bytes)