4 fc16 write multiple register, 4 fc17 report slave id, 4 fc43 sub 14, read device identification – VEGA VEGAPULS 65 (≥ 2.0.0 - ≥ 4.0.0) Modbus and Levelmaster protocol User Manual
Page 60
60
11 Supplement
VEGAPULS 65 • Modbus and Levelmaster protocol
41365-EN-121011
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.
11.4 FC16 Write Multiple Register
With this function code, several holding registers can be writen. Only registers can be written in an
enquiry which are immediately consecutive. If there are gaps (registers do not exist) between the
registers, then they cannot be written in a telegram.
Request:
Parameter
Length
Code/Data
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:
Parameter
Length
Code/Data
Function Code
1 Byte
0x10
Sub Function Code
2 Bytes
0x0000 to 0xFFFF
Data
2 Bytes
0x01 to 0x7B
11.4 FC17 Report Slave ID
With this function code, the Slave ID can be queried.
Request:
Parameter
Length
Code/Data
Function Code
1 Byte
0x11
Response:
Parameter
Length
Code/Data
Function Code
1 Byte
0x11
Byte Number
1 Byte
Slave ID
1 Byte
Run Indicator Status
1 Byte
11.4 FC43 Sub 14, Read Device Identification
With this function code, the Device Identification can be queried.
Request:
Parameter
Length
Code/Data
Function Code
1 Byte
0x2B