EasyManua.ls Logo

Siemens SINAMICS G220 - Page 397

Siemens SINAMICS G220
834 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...
Description of function
The controller accesses the converter parameters using registers 40601 … 40722:
Write access with function code FC16
Read access with function code FC03
Register 40601 controls communication via DS47. 40602 contains the function code and the
number of user data items following. Registers 40603…40722 contain the user data.
Value in the register Explanation
40601 40602 40603… 40722
0 47 Write values for acyclic access
1 47 Request length
[byte]
Request data Activate acyclic access
2 47 Response length
[byte]
Response data Response for a successful re‐
quest
2 47 0 Error code
1)
1 hex:Invalid length
2 hex:Action not permitted in
current converter state
3 hex: Invalid function code (FC ≠
2F hex)
4 hex: Response has still not been
issued
5 hex:General system fault
Response to an erroneous re‐
quest
1)
The error code is described in the PROFIdrive pro󹪝le.
The structure of the protocol data unit (PDU) in the case of write or read access is as follows:
Byte7: Write FCode 16; read FCode 03
Byte8 and Byte9: Register 40601
Byte10 and Byte11: Number of registers the controller is reading or writing
Byte 12: Number of bytes the controller is reading or writing
Byte 13 and following bytes: Data in accordance with DS47 of the PROFIdrive pro󹪝le
Example
The following example describes reading parameter r0002.
Procedure for reading the parameter value of r0002:
1. The controller sends a "Read parameter value" parameter request to the converter.
2. The controller sends a read request to the converter.
3. The converter responds to the read request with the parameter response.
Functions
14.5Modbus TCP communication
SINAMICS G220 converter
Operating Instructions, 04/2024, FW V6.2, A5E51781573B AB 395

Table of Contents

Related product manuals