Operation
7.7 Communication via Modbus TCP
SINAMICS DCP
284 Operating Instructions, 09/2019, A5E34382853K
Error codes
1 hex: Invalid Length (invalid length)
2 hex: Invalid State (in the actual inverter state, this action is not permitted)
3 hex: Invalid function code (FC ≠2F hex)
4 hex: Response not ready (the response has still not been issued)
5 hex: Internal Error (general system error)
Incorrect access operations to parameters via data set 47 are logged in registers
40603 … 40722. The error codes are described in the PROFIdrive profile.
7.7.5.3 Examples: Read parameter
Table 7- 41 Write parameter request: Reading parameter value of r0002 from device number 17 (DCP_CTRL)
0258 h
0007 h
8,9
10,11
Function code (write multiple)
Register start address
Number of registers to be read (40601 … 40607)
Number of data bytes (7 registers, each 2 bytes = 14 bytes)
2F0A h
8001 h
0101 h
1001 h
0002 h
15,16
17,18
19,20
21,22
23,24
40601: DS47 control = 1 (acyclic access - activate request)
40602: Function 2F h (47), request length 10 bytes (0A h)
40603: Request reference = 80 h, request identifier = 1 h (read)
40604: DO-Id = 1, number of parameters = 1
40605: Attribute, number of elements = 1
40606: Parameter number = 2
Table 7- 42 Start parameter request: Reading parameter value of r0002 from device number 17 (DCP_CTRL)
MBAP header
03 h
0258 h
0007 h
7
8,9
10,11
Function code (read)
Register start address
Number of registers to be read (40601 … 40607)