|
A
PPENDIX
60
5.
Appendix
5.1
Reading Out Data via Serial Interface
The free operating software OS 6.0 is available at:
The code positions (SERIAL VALUE) defined in the SERIAL MENU can be read
out serially at any time by a PC or a PLC. Communication with this device is
based on the Drivecom protocol according to ISO 1745 or the Modbus RTU
protocol. For details, refer to the chapter "Modbus RTU Interface" in this manual.
See Chapter 5.2.
The request string for reading out data is:
EOT
AD1
AD2
C1
C2
ENQ
EOT = control characters (hex 04)
AD1 = device address, high byte
AD2 = device address, low byte
C1 = code position to be read out, high byte
C2 = code position to be read out, low byte
ENQ = control characters (hex 05)
If, for example, the current display value is to be read out from a device with
device address 11 (code = 1), the detailed request string will be as follows:
ASCII code: EOT
1
1
:
1
ENQ
Hexadecimal: 04
31
31
3A
31
05
Binary:
0000
0100
0011
0001
0011
0001
0011
1010
0011
0001
0000
0101
If the request is correct, the response from the device is:
STX
C1
C2
xxxxx
ETX
BCC
STX = control characters (hex 02)
C1 = code position to be read out, high byte
C2 = code position to be read out, low byte
xxxxx = data to be read out
ETX = control characters (hex 03)
BCC = block check character
Summary of Contents for K23-SSI/Rx/IU-C
Page 1: ...Your automation our passion K23 SSI Rx IU C Signal converter Manual...
Page 80: ...APPENDIX 80 Calculating the SSI offset Calculating the display value...
Page 83: ...APPENDIX 83 5 8 Dimensions...
Page 84: ...www pepperl fuchs com Subject to modifications Pepperl Fuchs Printed in Germany DOCT 6641...