63
10 Supplement
VEGABAR 87 • Modbus and Levelmaster protocol
46297-EN-220624
Implemented function codes:
Sub Function Code
Name
0x00
Return Data Request
0x0B
Return Message Counter
With sub function codes 0x00 only one 16 bit value can be written.
FC16 Write Multiple Register
This function code is used to write to several Holding Registers. In a request, it can only be written
to registers that are in direct succession.
Parameter
Length
Code/Data
Request:
Function Code
1 Byte
0x10
Start Address
2 Bytes
0x0000 to 0xFFFF
Register Value
2 Bytes
0x0001 to 0x007B
Byte Number
1 Byte
2*N
Register Value
N*2 Bytes
Data
Response:
Function Code
1 Byte
0x10
Sub Function Code
2 Bytes
0x0000 to 0xFFFF
Data
2 Bytes
0x01 to 0x7B
FC17 Report Sensor ID
With this function code, the sensor ID on Modbus is queried.
Parameter
Length
Code/Data
Request:
Function Code
1 Byte
0x11
Response:
Function Code
1 Byte
0x11
Byte Number
1 Byte
Sensor ID
1 Byte
Run Indicator Status
1 Byte
FC43 Sub 14, Read Device Identification
With this function code, the Device Identification is queried.
Parameter
Length
Code/Data
Request:
Function Code
1 Byte
0x2B
MEI Type
1 Byte
0x0E
Read Device ID Code
1 Byte
0x01 to 0x04
Object ID
1 Byte
0x00 to 0xFF