EasyManua.ls Logo

Siemens sinamics dcp - 7.7.5.3 Examples: Read parameter

Siemens sinamics dcp
450 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...
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)
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 (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
40607: Subindex = 0
Table 7- 42 Start parameter request: Reading parameter value of r0002 from device number 17 (DCP_CTRL)
Value
Byte
Description
MBAP header
03 h
0258 h
0007 h
0010 h
7
8,9
10,11
12,13
Function code (read)
Register start address
Number of registers to be read (40601 … 40607)
Number of registers

Table of Contents

Other manuals for Siemens sinamics dcp

Related product manuals