14.5.5 Registers write with function code FC06
Overview
Function code FC06 enables write access for the controller to precisely one converter register.
Description of function
The structure of the protocol data unit (PDU) in the case of write access using function code
FC06 is as follows:
• Byte7: FCode 06
• Byte8 and Byte9: Register
• Byte10 and Byte11: Value to be written to the register
Example
Table 14-30 Structure of a write request
Value Byte Description
Modbus Applica‐
tion Header
- 0 … 6 -
Protocol Data Unit 06h 7 Function code
00h 8 "High" register (40100)
63h 9 "Low" register
55h 10 "High" register data
66h 11 "Low" register data
The converter responds with the register (bytes 8 and 9) and the value (bytes 10 and 11) that
the controller has written to the register.
Table 14-31 Response of the converter to a valid write request
Value Byte Description
Modbus Applica‐
tion Header
- 0 … 6 -
Protocol Data Unit 06h 7 Function code
00h 8 "High" register
63h 9 "Low" register
55h 10 "High" register data
66h 11 "Low" register data
Functions
14.5Modbus TCP communication
SINAMICS G220 converter
392 Operating Instructions, 04/2024, FW V6.2, A5E51781573B AB