Appendix I: Communication protocols
1. Instructions format
1.1 PC machine's send format
A X Knnnn: C0 C1 C2 C3 C4+ Eos (End of symbol):: ::::
A 1 byte, the communication address of ADT681:
X 1 byte, only for W (write) or R (read):
K 1 byte, M (for measure operation), F (for file operation), O (other operation):
nnnn 2-5 bytes, the item operated by K instruction:
C0:C1:C2:C3:C4 Parameter, refer the specified instruction introduction:
Eos 0x0(Hex):
1.2 Return format of the ADT681
A X Knnnn C0 C1 C2 C3 C4+Eos hereinto:: ::::: , :
:A Communication address of the ADT681
X E or F, E: error information of this frame data F: feedback information.:.
Knnnn It is same as the instructions from upper machine:
C0 C1 Feedback data or error information or ok,,,,:C2 C3 C4
Eos 0x0(Hex):
1.3 Error information code instruction
1000: Receive the overflow from buffer zone.
1001: The user cannot perform this task
1004: Irregular code has been entered
1005: The pressure unit is unavailable
38