Communication via Modbus TCP
6.6 Communication via data set 47
Communication
176 Function Manual, 12/2018, 6SL3097-5BD00-0BP0
6.6.1 Communication details
General parameter access is realized using the Modbus register 40601 … 40722.
Communication via DS47 is controlled using 40601. 40602 contains the function code
(always = 47 = 2F hex) and the number of the following user data. User data are contained
in registers 40603 … 40722.
Communication overview
Write values for acyclic access
1 47 Request
length
Request data Activate acyclic access
2 47 Response
length
Response data Response for a successful request
Response for an erronous request
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.
6.6.2 Examples: Read parameter
Table 6- 10 Write parameter request: Reading parameter value of r0002 from device number 17
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)
0001 h
2F0A h
8001 h
0101 h
1001 h
0002 h
13,14
15,16
17,18
19,20
21,22
23,24
40601: DS47 Control = 1 (activate request)
40602: Function 2F h (47), request length 10 bytes (0A h)
40603: Request reference = 80 h, request identifier = 1 h
40604: DO-Id = 1, number of parameters = 1
40605: Attribute, number of elements = 1
40606: Parameter number = 2