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
, 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
).
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)
Summary of Contents for FPBA-01 PROFIBUS DP
Page 4: ......
Page 10: ...10 Table of contents Document library on the Internet 195 ...
Page 20: ...20 About the manual ...
Page 26: ...26 Overview of the PROFIBUS network and the FPBA 01 module ...
Page 30: ...30 Mechanical installation ...
Page 91: ...Start up 91 8 Click Properties Network Settings and set baud rate ...
Page 98: ...98 Start up ...
Page 118: ...118 Communication profiles ...
Page 178: ...178 Diagnostics ...
Page 182: ...182 Technical data ...