IF50
14 – Data readout via serial interface
All register codes described in the previous section “13 - Monitor function” are
also available for serial readout via PC or PLC. IF50 converter uses the
DRIVECOM communication standard according to ISO 1745. Details about this
protocol can be found in the file Serial Protocol x.pdf which is available for
download from Lika Electronic website.
To request for data transmission you must send the following request string to
the converter:
EOT
AD1
AD2
C1 C2 ENQ
EOT
AD1
AD2
C1
C2
ENQ
= control character (Hex 04)
= unit address, High Byte
= unit address, Low Byte
= register code, High Byte
= register code, Low Byte
= control character (Hex 05)
The following example shows the request string for readout of the actual
conversion result (code < :8 >) from a unit having address 11:
ASCII Code:
EOT
1
1
:
8
ENQ
Hex Code:
04
31
31
3A
38
05
Binary Code:
0000 0100 0011 0001 0011 0001 0011 1010 0011 1000 0000 0101
After a correct request, the unit will respond as follows:
STX C1 C2 x x x x x x x ETX BCC
STX
C1
C2
xxxxx
ETX
BCC
= control character (Hex 02)
= register code, High Byte
= register code, Low Byte
= readout data
= control character (Hex 03)
= block check character
For any further information refer to Serial Protocol x.pdf.
MAN IF50 I_E 1.0.odt
14 – Data readout via serial interface
73 / 80
Содержание IF50
Страница 36: ...This page intentionally left blank...
Страница 37: ...This page intentionally left blank...
Страница 38: ...This page intentionally left blank...
Страница 39: ...This page intentionally left blank...