..
Code
BYTES
number
WORD ..SCHRACK TECHNIK GMBH 6
Answer format (containing data):
BYTE BYTE BYTE MSB LSB MSB LSB MSB LSB
Device address Funct..
Answer format (the demand was wrong) :
BYTE BYTE BYTE MSB LSB
Device address
Funct. Code 0x80 Error code CRC16
Error codes :
* 0x01 incorrect functional code
* 0x02 wrong first WORD address
* 0x03 incorrect data
.
Code
First
WORD
address
WORDS
number
BYTE
numbers
Word
Value
CRC16
Answer format (containing data):
BYTE BYTE BYTE MSB LSB MSB LSB MSB LSB
Device
address
Funct. WORD CRC16
The BYTES number must always match the WORDS number (in the demand) 2..... WORD CRC16
The BYTES number must always match the WORDS number (in the demand) 2..
Answer format (the demand was wrong):
BYTE BYTE BYTE MSB LSB
Device address Funct.. Code +
0x80
Error code CRC16
Error codes :
* 0x01 incorrect functional code
* 0x02 wrong first WORD address
* 0x03 incorrect data
Code 0x10 writing more consecutive WORDS
Command format :
BYTE BYTE MSB LSB MSB LSB BYTE MSB LSB MSB LSB MSB LSB
Device
address
Funct. Code BYTES number WORD ..