Appendix; Reading Out Data Via Serial Interface - Pepperl+Fuchs K23-SSI/USB/25B-C Manual

Signal converter
Table of Contents

Advertisement

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
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:
Hexadecimal: 04
Binary:
If the request is correct, the response from the device is:
STX
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
AD1
AD2
EOT
1
31
0000
0011
0100
0001
C1
C2
K23-SSI/USB/25B-C | A
Pepperl-Fuchs.com
C1
C2
1
:
1
31
3A
31
0011
0011
0011
0001
1010
0001
xxxxx
ETX
PPENDIX
ENQ
ENQ
05
0000
0101
BCC
47

Advertisement

Table of Contents
loading

Table of Contents