LD220
7 - Appendix
7.1 Data readout via serial interface
parameter (see the “6.11 Serial menu”
section on page 71) are available for serial readout by a PC or a PLC. For
communication the monitors use the Drivecom Protocol according to ISO 1745.
All protocol details can be found in the user's guide “MAN Serial Protocol
IFxx_LD25x_LD30x I_E.pdf”. It is available for download from our web page
www.lika.biz.
To request for a data transmission you must send the following request string to
the converter:
EOT
AD1
AD2
C1
C2
ENQ
EOT = control character CTRL D (Hex 04)
AD1 = unit address, High Byte
AD2 = unit address, Low Byte
C1 = register code, High Byte
C2 = register code, Low Byte
ENQ = control character CTRL E (Hex 05)
EXAMPLE
The following example shows the request string for readout of the serial code =
1 from a unit having address “11”:
ASCII code:
EOT
1
1
:
1
ENQ
Hex code:
04
31
31
3A
31
05
Binary code:
0000 0100 0011 0001 0011 0001 0011 1010 0011 0001 0000 0101
Following a correct request, the unit will respond:
STX
C1
C2
xxxxx
ETX
BCC
STX = control character CTRL B (Hex 02)
C1 = register code, High Byte
C2 = register code, Low Byte
xxxxx= readout data
ETX = control character CTRL C (Hex 03)
BCC = block check character
MAN LD220 E 1.4.odt
7 - Appendix
86 of 100