Efficient Networks Siemens Sinamics S120 User Manual

Page 400

Advertising
background image

Communication PROFIBUS DP/PROFINET IO

10.1 Communications according to PROFIdrive

Drive Functions

400

Function Manual, (FH1), 07/2007 Edition, 6SL3097-2AB00-0BP4

2. Invoke the request.
3. Evaluate the response.

Activity

1. Create the request.

Parameter request

Offset

Request reference = 25 hex Request ID = 01 hex

0 + 1

Request header

Axis = 02 hex

No. of parameters = 01 hex

2 + 3

Attribute = 10 hex

No. of elements = 08 hex

4 + 5

Parameter no. = 945 dec

6

parameter address

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.

● Axis:

02 hex ––> Drive 2, fault buffer with drive- and device-specific faults

● No. of parameters:

01 hex ––> One parameter is read.

● Attribute:

10 hex ––> The parameter values are read.

● No. of elements:

08 hex ––> The current fault incident with 8 faults is to be read.

● Parameter number:

945 dec ––> p0945 (fault code) is read.

● Subindex:

0 dec ––> Read access starts at index 0.

2. Invoke the parameter request.
If STW1.3 = "1" ––> Invoke parameter request
3. Evaluate the parameter response.

Parameter response

Offset

Request reference mirrored

= 25 hex

Response ID = 01 hex

0 + 1

Response header

Axis mirrored = 02 hex

No. of parameters = 01 hex

2 + 3

Advertising