
24
15.1.3. Request message
format:
x1 c
x1
device address –
may be seen in the warranty card or
from the device information level (parameter
Addr
)
c
control byte (x1+c = 0)
15.1.4. Answer message
format:
i11 i12 i21 i22 i31 i32 … in1 in2 c
n
number of inputs, as ordered
in1 in2
information for input #n
c
control byte (i11+i12+i21+i22+i31+i32+…+in1+in2+c = 0)
information about an input:
in1
in2
FF
FF
no such input
FF
FE
out of the ADC range
FF
FD
ADC overflow
FF
FC
ADC underflow
x1
x2
measured input value:
x1 – MSB; х2 – LSB;
v = x1 x2 / 4; if v > 9999, then v = 10000 – v;
measured value = v * 0.1
x2 mod 4
15.2. ASCII communication protocol
15.2.1. RS485
Baud rate
4800
Data bits
8
Parity control bit
even
Stop bits
1
15.2.2. Commands and answers
command format:
@ x1 t pr data cs * CR
answer format:
@ x1 t pr 00 data cs * CR
@ x1 t pr rs cs * CR
@ x1 IC cs * CR
The bytes in the frame (command or answer) come in succession without spaces.