53
14 Supplement
VEGAPULS C 23 • Modbus and Levelmaster protocol
58349-EN-200806
14.6 Additional measurement data
Register Number Register Name
Type
Note/Unit
2303
Measured distance
float32
ro
Distance from the sensor to the liquid surface (m)
2305
Absolute echo am-
plitude
float32
ro
dB
2314
Signal Quality
float32
ro
dB
14.7 Diagnosis data, device information
Register Number Register Name
Type
Note
2300
Current diagnos-
tic code
uint32
ro
According to NAMUR NE 107 recommendation
2307
Device status
uint8
ro
Current event category: 0 = ok, 1 = failure, 2 = check, 4 =
maintenance, 8 = out of spec
2308
Device serial num-
ber
string (12
charac-
ters)
-
14.8 Function codes
The function codes (FCs) are automatically used by the Modbus master to carry out certain actions
such as reading or writing.
FC3 Read Holding Register
With this command, any number (1-127) of holding registers is read out. The start register, from
which the readout should start, and the number of registers are transmitted.
Parameter
Length
Code/Data
Request:
Function Code
1 Byte
0x03
Start Address
2 Bytes
0x0000 to 0xFFFF
Number of Registers
2 Bytes
1 to 127 (0x7D)
Response:
Function Code
1 Byte
0x03
Start Address
2 Bytes
2*N
Register Value
N*2 Bytes
Data
FC4 Read Input Register
With this command, any number (1-127) of input registers is read out. The start register, from which
the readout should start as well as the number of registers are transmitted.