Table 14-36 Write parameter request: Read parameter value of r0002
Value Byte Description
Modbus Appli‐
cation Header
- 0 … 6 -
Protocol Data
Unit
10h 7 Function code
0258h 8, 9 Register (40601)
0007h 10, 11 Number of registers to be read (40601 … 40607)
0Eh 12 Number of data bytes (seven registers of two bytes each = 14 bytes)
0001h 13,14 40601: DS47 Control=1 (activate request)
2F0Ah 15,16 40602: Function code 2Fh (47), request length 10 bytes (0Ah)
8001h 17,18 40603: Request reference = 80h, request identier = 1h
0101h 19,20 40604: DO-ID = 1, number of parameters = 1
1001h 21,22 40605: Attribute, number of elements = 1
0002h 23,24 40606: Parameter number = 2
0000h 23,24 40607: Subindex = 0
Table 14-37 Read parameter response: Read parameter value of r0002
Value Byte Description
Modbus Appli‐
cation Header
- 0 … 6 -
Protocol Data
Unit
03 h 7 Function code
0258h 8, 9 Register (40601)
0007h 10, 11 Number of registers to be read (40601 … 40607)
Table 14-38 Response of the converter to a valid read request
Value Byte Description
Modbus Appli‐
cation Header
- 0 … 6 -
Protocol Data
Unit
03h 7 Function code
0Eh 8 Number of bytes (14bytes are returned)
0002h 9, 10 40601: DS47 Control= 2 (the request was executed)
2F08h 11, 12 40602: Function code 2F h (47), response length 8 bytes
8001h 13, 14 40603: Request reference mirrored = 80 h, response identier = 1
(read parameter)
0101h 15, 16 40604: Drive object = 1, number of parameters = 1
0301h 17, 18 40605: Format, number of elements = 1
001Fh 19, 20 40606: Parameter value = 1Fh (31)
Functions
14.5Modbus TCP communication
SINAMICS G220 converter
396 Operating Instructions, 04/2024, FW V6.2, A5E51781573B AB