
Uz210_02c_oi_e.doc / Dez-15
Page 22 / 27
6.2.
Communication Protocol
When communicating with the unit via protocol, you have full read/write access to all internal
parameters, states and actual values. The protocol uses the DRIVECOM standard according to
DIN ISO 1745. The serial access codes of all parameters can be found in the parameter
description (see chapter
5
).
To request data from the unit, the following request string must be sent:
EOT AD1 AD2 C1 C2 ENQ
EOT = control character (Hex 04)
AD1 = unit address, High Byte
AD2 = unit address, Low Byte
C1 = register code to read, High Byte
C2 = register code to read, Low Byte
ENQ = control character (Hex 05)
The table below shows how to request the actual analogue input data (register code ;6) from a
converter with the serial unit number 11:
ASCII-Code:
EOT
1
1
;
6
ENQ
Hexadecimal:
04
31
31
3B
36
05
Binary:
0000 0100 0011 0001 0011 0001 0011 1011 0011 0100 0000 0101
Upon correct receipt of the request string the unit will respond:
STX C1 C2 x x x x x x x ETX BCC
STX = control character (Hex 02)
C1 = register code to read, High Byte
C2 = register code to read, Low Byte
xxxxx = data (measuring value)
ETX = control character (Hex 03)
BCC = block check character
Leading zeros will not be transmitted. The block check character BCC is composed by an
EXCLUSIVE-OR function of all characters from C1 up to and including ETX.
Содержание UZ210
Страница 25: ...Uz210_02c_oi_e doc Dez 15 Page 25 27 ...