AR100 Operation Manual
© 2018 Schmitt Industries
Revision 1.1
15
Byte
Bits
Description
7
6
5
4
3
2
1
0
0
0
ADR
network address
1
1
0
0 0 COD
code of request
2
1
0
0 0 MSG[0] lo lower tetrad of the 0th byte
3
1
0
0 0 MSG[0] hi higher tetrad of the 0th byte
4
1
0
0 0 MSG[1] lo lower tetrad of the 1st byte
5
1
0
0 0 MSG[1] hi higher tetrad of the 1st byte
...
... ... ... ... ...
Answer
'Answer' is the data burst that can be transmitted by ‘slave’ in the course of the
session.
All messages with a message burst contain 1 in the most significant digit.
Data in
a message are transferred in tetrads
. When byte is transmitted, lower tetrad goes
first, and then follows higher tetrad. When multi-byte values are transferred, the
transmission begins with lower byte.
When ‘answer’ is transmitted, the message contains:
•
SB-bit, characterizes the updating of the result. If SB is equal to "1", this
means that the sensor has updated the measurement result in the
buffer, if SB is equal to "0" - then non-updated result has been
transmitted. SB=0 when parameters transmit;
•
two additional bits of cyclic binary batch counter (CNT). Bit values in the
batch counter are identical for all sending’s of one batch. The value of
batch counter is incremented by the sending of each burst and is used
for formation (assembly) of batches or bursts as well as for control of
batch losses in receiving data streams.
The following is the format of the ‘answer’ data burst for the message
transmission (MSG):
Byte
Bits
Description
7
6
5
4
3
2
1
0
0
1
SB
CNT MSG[0] lo lower tetrad of the 0th byte
1
1
SB
CNT MSG[0] hi higher tetrad of the 0th byte
2
1
SB
CNT MSG[1] lo lower tetrad of the 1st byte
3
1
SB
CNT MSG[1] hi higher tetrad of the 1st byte
...
... ... ...
...
...