
8 Serial Protocol
The 850 can be controlled via the serial port using the commands described in this
section.
8.1 Command Format
Commands must be in the following format:
0xEB, address, command, length of data, data 1,…, data n, checksum
where the following table describes the command components.
Device address. This is always 0x90 for the 850
Command to be sent (see Section 8.3)
How many bytes sent/received (from data 1 to data n)
One or more command variables within the range 0x01 to 0xFA and excluding 0xEB
Optional—Checks whether the sending/receiving frame is valid.
Check sum = Address + Command + Data length + Data 1+…+Data n
For example, EBH, 90H, 01H, 01H, F3H, 85H
Check sum = 90H + 01H + 01H + F3H = 185H
Note: The checksum gets the low 8 bits, for example, if the check sum = EBH, then check sum =
14H
8.2 Device Response
The device responds as follows:
0xEB, 0x90, command, 0x01, answer, check sum
where answer is one of the values described in the following table.
Either:
–the device received the wrong address and returns no response
–the device gets information about Errors and Alarms
The data is out of range. The command is not executed
The device is currently controlled by the buttons. The command is not executed
The data length is incorrect. The command is not executed
The data is out of range. The command is not executed
Kommentare zu diesen Handbüchern