EasyManua.ls Logo

Siemens SINAMICS G120XA - Example: R0002 Read Acyclically; Response for Successful Read Operation

Siemens SINAMICS G120XA
918 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...
Example: r0002 read acyclically
Table 6-23 Write parameter request: Reading the parameter value of r0002 from slave number 17
Value Byte Description
11 h 0 Slave address
10 h
0258 h
0007 h
0E h
0001 h
2F0A h
8001 h
0101 h
1001 h
0002 h
0000 h
1
2,3
4,5
6
7,8
9,10
11,12
13,14
15,16
17,18
19,20
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)
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
xx h
xx h
21
22
CRC "Low"
CRC "High"
Table 6-24 Start parameter request: Reading the parameter value of r0002 from slave number 17
Value Byte Description
11 h 0 Slave address
03 h
0258 h
0007 h
0010 h
1
2,3
4,5
6,7
Function code (read)
Register start address
Number of registers to be read (40601 … 40607)
Number of registers
xx h
xx h
8
9
CRC "Low"
CRC "High"
Table 6-25 Response for successful read operation
Value Byte Description
11 h 0 Slave address
03 h
20 h
0002 h
2F08 h
8001 h
0101 h
0301 h
001F h
1
2
3,4
5,6
7,8
9,10
11,12
13,14
Function code (read)
Number of following data bytes (20 h: 32 bytes 16 registers)
40601: DS47 Control = 2 (the request was executed)
40602: Function code 2F h (47), response lengths 8 bytes
40603: Request reference mirrored = 80 h,
response identifier = 1 (request parameter)
40604: DO-ID = 1, number of parameters = 1
40605: Format, number of elements = 1
40606: Parameter value = 1F h (31)
xx h
xx h
15
16
CRC "Low"
CRC "High"
Advanced commissioning
6.2 Drive control
SINAMICS G120XA converter
Operating Instructions, 03/2019, FW V1.0, A5E44751205B AB 163

Table of Contents

Related product manuals