EasyManua.ls Logo

Siemens sinamics dcp - 7.4.5.4 Example 1: read parameters

Siemens sinamics dcp
450 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
7.4 Communication according to PROFIdrive
SINAMICS DCP
Operating Instructions, 09/2019, A5E34382853K
205
7.4.5.4 Example 1: read parameters
Requirements
The PROFIdrive controller has been commissioned and is fully operational.
PROFIdrive communication between the controller and the device is operational.
The controller can read and write data sets in conformance with PROFIdrive DPV1.
Task description
Following the occurrence of at least one fault (r2139.3 = "1") on drive object 2, the active
fault codes must be read from the fault buffer r0945[0] ... r0945[7].
The request is to be handled using a request and response data block.
Basic procedure
1. Create a request to read the parameters.
2. Invoke the request.
3. Evaluate the response.
Create the request
Parameter request
Offset
Request header
Request reference = 25 hex
Request ID = 01 hex
0 + 1
Drive object No. = 02 hex Number of parameters = 01 hex 2 + 3
Parameter address
Attribute = 10 hex
Number of elements = 08 hex
4 + 5
Parameter no. = 945 dec 6
Subindex = 0 dec
8
Information about the parameter request:
Request reference:
The value is selected at random from the valid value range. The request reference
establishes the relationship between request and response.
Request ID:
01 hex This identifier is required for a read request.
Drive object No.:
02 hex Drive 2, fault buffer with drive- and device-specific faults
Number of parameters:
01 hex One parameter is read.

Table of Contents

Other manuals for Siemens sinamics dcp

Related product manuals