PC to CPU:
'STX' 'ADR' 's' index_value 'CHK' 'ETX'
's'
ASCII-Code 0x73 OR 0x80 = 0xF3
index
Read the info. number according to the status (data record "S" in ASCII code OR 0x80 i.e. the index 2 corresponds to the collective failure.
_
blank = 0x20 OR 0x80 = 0xA0
value
'1' oder '0' correspond NO oder OFF
Example 1:
Switch the installation on/off: ADR = 1, installation ON = 1 (index = 1)
String =
0x02 0x81 0xF3 0xB1 0xA0 0xB1 0xD2 0x03 (8 Bytes)
Example 2:
Acknowledge error: ADR = 1, acknowledge collective failure = 0 (index 2)
String =
0x02 0x81 0xF3 0xB2 0xA0 0xB0 0xD0 0x03 (8 Bytes)
CPU to PC
'STX' 'ADR' 's' Index 'CHK' 'ETX'
's'
ASCII-Code 0x73 OR 0x80 = 0xF3