Table 14-32 Response of the converter to an invalid write request
Value Byte Description
Modbus Applica‐
tion Header
- 0 … 6 -
Protocol Data Unit 86h 7 Highest bit = 1 and function code
01h
…
04h
8 Error code
14.5.6 Registers write with function code FC16
Overview
Function code FC16 enables write access for the controller to multiple converter registers.
Function code FC16 is suitable in particular for writing the control parameters using registers
40150 et seq.
Requirement
The registers accessed by the controller must be consecutive with no gaps.
Description of function
The structure of the protocol data unit (PDU) in the case of write access using function code
FC16 is as follows:
• Byte7: FCode 16
• Byte8 and Byte9: Register
• Byte10 and Byte11: Number of registers to which controller is writing
• Byte 12: Number of bytes the controller is writing
• Byte 13 and following bytes: Data the controller is writing
Functions
14.5Modbus TCP communication
SINAMICS G220 converter
Operating Instructions, 04/2024, FW V6.2, A5E51781573B AB 393