57
Appendix II: Communication protocol
(1) Instruction format
~
① Data sending format:
A: X: Knnnn: C0: C1: C2: C3: C4+EOS (end of symbol)
A: 1 byte, the instrument's communication address
X: 1 byte, only for W (write) or R (read)
K: 1 byte, M (measure), F (File), O (others)
nnnn: 2-5 bytes, the items operated by K instruction
C0: C1: C2: C3: C4: Parameter, please refer the specified instruction introduction
Eos:0x0 (hex)
② Data returning format:
A: X: Knnnn: C0: C1: C2: C3: C4+ Eos, hereinto:
A: Instrument communication address
X: E or F, E is error info of this frame dates, F is feedback info
Knnnn: It is same as the instruction from upper machine
C0: C1: C2: C3: C4: Feedback data or error info
Eos: 0x0(hex)
③ The communication setting of serial port
A(address):the range is 1
112, factory default setting is 1
Baud rate: 1200
2400
4800 and 9600 is selected, the factory default setting is 9600
Data bit length: 8 bits
Stop bit: 2 bits
Parity digit: N/A
Data flow control: N/A
、
、
Содержание ADT672
Страница 1: ...ADT672 DIGITAL PRESSURE CALIBRATOR ...