Efficient Networks S120 manual Activity, Information about the parameter request

Models: S120

1 560
Download 560 pages 21.93 Kb
Page 400
Image 400

Communication PROFIBUS DP/PROFINET IO

10.1Communications according to PROFIdrive

2.Invoke the request.

3.Evaluate the response.

Activity

1. Create the request.

Parameter request

 

 

Offset

Request header

Request reference = 25 hex

Request ID = 01 hex

0 + 1

 

Axis = 02 hex

No. of parameters = 01 hex

2 + 3

parameter address

Attribute = 10 hex

No. 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:

01hex ––> This identifier is required for a read request.

Axis:

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

No. of parameters:

01hex ––> One parameter is read.

Attribute:

10hex ––> The parameter values are read.

No. of elements:

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

Parameter number:

945dec ––> 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

Response header

Request reference mirrored

Response ID = 01 hex

0 + 1

 

= 25 hex

 

 

 

Axis mirrored = 02 hex

No. of parameters = 01 hex

2 + 3

400

Drive Functions

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

Page 400
Image 400
Efficient Networks S120 manual Activity, Information about the parameter request