EasyManua.ls Logo

Siemens SINAMICS S120 Series

Siemens SINAMICS S120 Series
236 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 4060340722.
Communication overview
Value in the register
Explanation
40601
40602
40603 … 40722
0
47
Write values for acyclic access
1 47 Request
length
[bytes]
Request data Activate acyclic access
2 47 Response
length
[bytes]
Response data Response for a successful request
2
47
0
Error code
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
4060340722. 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
Value
Byte
Description
MBAP header
10 h
0258 h
0007 h
0E h
7
8,9
10,11
12
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
0000 h
13,14
15,16
17,18
19,20
21,22
23,24
25,26
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
40607: Subindex = 0

Table of Contents

Related product manuals