Examples: Write Parameter - Siemens SINAMICS G130 Operating Instructions Manual

Converter built-in units 75 kw-800 kw
Hide thumbs Also See for SINAMICS G130:
Table of Contents

Advertisement

Table 6- 60
Response for unsuccessful read operation - read request still not completed
Value
Byte
Description
MBAP header
Number of following data bytes (20 h: 32 bytes ≙ 16 registers)
03 h
7
Function code (read)
20 h
8
0001 h
9,10
40601: Check value 1 = request is processed
2F00 h
11,12
40602: Function 2F h(47), response length 0 (fault)
0004 h
13,14
40603: Error code: 0004 Response Not Ready (response has still not been
issued)
6.11.6.3

Examples: Write parameter

Table 6- 61
Write parameter request: Writing the parameter value of p1121 from slave number 17
Value
Byte
Description
MBAP header
10 h
7
Function code (write multiple)
0258 h
8,9
Register start address
000A h
10,11
Number of registers to be written to (40601 ... 40610)
14 h
12
Number of data bytes (10 registers, each 2 bytes = 20 bytes)
0001 h
13,14
40601: C1 (activate request)
2F10 h
15,16
40602: Function 2F h (47), request length 16 bytes (10 h)
8002 h
17,18
40603: Request reference = 80 h, request identifier = 2 h (write)
0101 h
19,20
40604: DO-Id = 1, number of parameters = 1
1001 h
21,22
40605: Attribute, number of elements = 1
0461 h
23,24
40606: Parameter number = 1121
0000 h
25,26
40607: Subindex = 0
0801 h
27,28
40608: Format + number of values
4142 h
29,30
40609: Parameter value 12,15
6666 h
31,32
40610: Parameter value
Table 6- 62
Start parameter request: Writing the parameter value of p1121 from slave number 17
Value
Byte
Description
MBAP header
03 h
7
Function code (read)
0258 h
8,9
Register start address
0007 h
10,11
Number of registers to be written to (40601 ... 40610)
0010 h
12,13
Number of registers
Inverter chassis units
Operating Instructions, 07/2016, A5E00331449A
6.11 Communication via MODBUS TCP
Operation
309

Advertisement

Table of Contents
loading

Table of Contents