2 Data format
Three types format are used for the data:
* BYTE
* WORD two BYTES
* long two WORDS
The base data format the WORD.
MSB LSB MSB LSB
Most Significant WORD Least Significant WORD
Example 1000 or
0x (if long)
MSB LSB MSB LSB
0x00 0x00 0x03 0xe8
.
If the required data BYTE format, WORD with the MSB (Most Significant Byte) set is
anyway transmitted and this BYTE comes before the LSB (Least Significant Byte).SCHRACK TECHNIK GMBH 3
2.
Format: BYTE from 0xff
0 for broadcast messages with answer
Functional code command code
Used functional code:
Format: BYTE
0x03: reading consecutive words
0x10: writing consecutive words
Data they can be
- the address the required words (in the demand)
- the data (in the answer)
CRC word the result the calculation done all the bytes the message
2.1 Parameters description
Device address device identification number the network.
If the required data long format, WORDS are transmitted and the MSW comes before the
LSW.
It must the same for the demand and the answer