Slave Response To The Write Request; Reading And Writing Parameters Acyclically Via Fc 16 - Siemens SINAMICS G120X Operating Instructions Manual

Infrastructure converter for hvac/water/wastewater
Hide thumbs Also See for SINAMICS G120X:
Table of Contents

Advertisement

Advanced commissioning
6.3 Drive control
The response returns register address (bytes 2 and 3) and the value (bytes 4 and 5), which the
higher-level control had written to the register.
Table 6-54
Value
11 h
06 h
00 h
63 h
55 h
66 h
xx h
xx h
Table 6-55
Write request
Incorrect address (a holding register address does not exist)
Write to a "read-only" register
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.3.5.9

Reading and writing parameters acyclically via FC 16

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.
Header
In addition to the slave address, enter the transfer type, the start address and the number of the
following registers in the header.
User data
You control the access in the user data via register 40601.
In register 40602, you define the acyclic access as well as the length of the request data.
Register 40603 contains the request reference - it is defined by the user - and the access type
-reading or writing.
Register 40604 contains the number of the drive object (always 1) and the number of
parameters that are read or written.
Register 40605 contains the attribute that you use to control whether you read out the
parameter value or the parameter attribute. In the number of elements you specify how many
indices are read.
256

Slave response to the write request

Byte
Description
0
Slave address
1
Function code
2
Register start address "High"
3
Register start address "Low"
4
Register data "High"
5
Register data "Low"
6
CRC "Low"
7
CRC "High"
Invalid write request
Converter response
Exception Code 02 - invalid data ad‐
dress
Exception Code 04 - device failure
Operating Instructions, 06/2019, FW V1.01, A5E44751209B AC
SINAMICS G120X converter

Advertisement

Table of Contents
loading

Table of Contents