82
10 Supplement
VEGAPULS 69 • Modbus and Levelmaster protocol
47252-EN-210205
Parameter
Length
Code/Data
Response:
Function Code
1 Byte
0x04
Start Address
2 Bytes
2*N
Register Value
N*2 Bytes
Data
FC6 Write Single Register
This function code is used to write to a single Holding Register.
Parameter
Length
Code/Data
Request:
Function Code
1 Byte
0x06
Start Address
2 Bytes
0x0000 to 0xFFFF
Number of Registers
2 Bytes
Data
Response:
Function Code
1 Byte
0x04
Start Address
2 Bytes
2*N
Register Value
2 Bytes
Data
FC8 Diagnostics
With this function code different diagnostic functions are triggered or diagnostic values read out.
Parameter
Length
Code/Data
Request:
Function Code
1 Byte
0x08
Sub Function Code
2 Bytes
Data
N*2 Bytes
Data
Response:
Function Code
1 Byte
0x08
Sub Function Code
2 Bytes
Data
N*2 Bytes
Data
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.