148 Communication protocol
Example 5: Reading a PROFIdrive parameter (array)
In this example, PROFIdrive parameter 945 is used to read the
code of the active fault. As shown on page 187, parameter 945 is
of the array type with subindexes 0 and 1.
The slave returns the code of the active fault (2300h). The fault
codes are according to the DRIVECOM® standard. See the drive
User’s manual for drive-specific fault codes.
The implementation of the PROFIdrive profile in the adapter
module supports the storage of the active and the five latest
occurred different faults in the fault buffer. The fault codes can be
accessed by PROFIdrive parameters 945 and 947 (see page 187).
The value zero indicates no fault. The subindexes of these
parameters are related to each other, that is, parameter 945 with
subindex 1 relates to the subindex of parameter 947.
Read: Req DP
header
6
3
B
1
0
1
0
0
0
0
0
0
0
0
0
0
0
4
7
F
3
4
1
5
DP
trailer
Resp 4
3
B
1
0
1
0
0
0
0
0
0
2
3
0
0
0
3
3
7
3
4
1
5
SW
ACT
Param.Value
Parameter Number (945 decimal)
Response (Transfer parameter value [array])
Subindex (Latest acknowledged fault)
1)
1)
2nd byte reserved
CW
REF
Request (Request parameter value [array])
Parameter Number (945 decimal)
Param.Value
Subindex (Latest acknowledged fault)
1)