Communication via PROFIBUS
Acyclic communication
4-133
E Siemens AG, 2004. All rights reserved
SINAMICS S120 Installation and Start-Up Manual, 12/04 Edition
S Axis:
02 hex –> Drive 2, fault buffer with drive and device-specific faults.
S No. of parameters:
01 hex –> One parameter is read.
S Attribute:
10 hex –> The parameter values are read.
S No. of elements:
08 hex –> The current fault incident with 8 faults is to be read.
S Parameter number:
945 dec –> p0945 (fault code) is read.
S 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 = 25 hex
Response ID = 01 hex 0 + 1
Axis mirrored = 02 hex No. of parameters =
01 hex
2 + 3
Parameter value Format = 06 hex No. of values = 08 hex 4 + 5
1. value = 1355 dec 6
2. value = 0 dec 8
... ...
8. value = 0 dec 20
Information about the parameter response:
S Request reference mirrored:
This response belongs to the request with request reference 25.
S Response ID:
01 hex –> Read request positive, values stored as of 1st value
S Axis mirrored, no. of parameters:
The values correspond to the values from the request.
S Format:
06 hex –> Parameter values are in Unsigned16 format.