EasyManua.ls Logo

Siemens SINAMICS G130 - Communication Via Data Set 47

Siemens SINAMICS G130
610 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
6.11 Communication via MODBUS TCP
Inverter chassis units
306 Operating Instructions, 07/2016, A5E00331449A
Structure of a write request via Modbus function code 06 (FC 06)
Start address is the holding register address.
Via FC 06, with one request, only precisely one register can be addressed. The value, which
is written to the addressed register, is contained in bytes 10 and 11 of the write request.
Table 6- 54 Structure of a write request for slave number 17, example
Value
Byte
Description
MBAP header
06 h
00 h
63 h
55 h
66 h
7
8
9
10
11
Function code
Register start address "High" (write register 40100)
Register start address "Low"
Register data "High"
Register data "Low"
The response returns register address (bytes 8 and 9) and the value (bytes 10 and 11),
which the higher-level control had written to the register.
Table 6- 55 Slave response to the write request, example
Value
Byte
Description
MBAP header
06 h
00 h
63 h
55 h
66 h
7
8
9
10
11
Function code
Register start address "High"
Register start address "Low"
Register data "High"
Register data "Low"
Table 6- 56 Invalid write request
Write request
Inverter response
Incorrect address (a holding register address does not exist) Exception Code 02 - invalid data
address
Write to a "read-only" register Exception Code 04 - device failure
Write to a reserved register
For Exception Code 4, via the holding register 40499, you can read out the internal drive
error code, which has occurred for the last parameter access via the holding register.
6.11.6
Communication via data set 47
Via FC 16, with one request, up to 122 registers can be written to directly one after the other,
while for Write Single Register (FC 06) you must individually write the header data for each
register.

Table of Contents

Other manuals for Siemens SINAMICS G130

Related product manuals