FB_AKDFltRptOutputs AKD drive fault Information.
The oFAULT output turns TRUE when the selected drive goes into a fault state. This function block outputs the total number of faults in the AKD drive fault history variable (Pre-Defined Error Field Object 1003h), and the fault number and message for the last 3 drive faults.
Each fault has two outputs: the fault number and a fault message. The fault number is the same number as reported on the display of the AKD drive. The fault message provides a short description of the fault. For example if the first fault is a feedback error with a F401 displayed on the front of the drive, the output of this FB are:
The iResetfaultHistory Input resets the faults reported by the FB.
The oDriveNotUsed outputs a 1 (True) if the axis is configured to Simulated in the ProjectEthercat setup screen.
This function Block can be used with either the PipeNetwork or PLCopenA vendor -and product- independent worldwide association active in Industrial Control and aiming at standardizing PLC file formats based on XML Motion engines.The following figure shows the function block I/O:
|
oFAULT |
Description |
TRUE if selected drive currently has a Fault |
|
Data type |
BOOL |
|
|
Unit |
n/a |
|
|
oNumberFaults |
Description |
Number of faults saved in the Drive's history |
|
Data type |
DINT |
|
|
Range |
[0 , 10] |
|
|
Unit |
n/a |
|
|
oFirstFaultNumber |
Description |
Three digit AKD Fault identifier |
|
Data type |
DINT |
|
|
Range |
[100 , 999] |
|
|
Unit |
n/a |
|
|
oFirstFaultMessage |
Description |
Description of the Fault |
|
Data type |
STRING |
|
|
Unit |
n/a |
|
|
oSecondFaultNumber |
Description |
Three digit AKD Fault identifier. |
|
Data type |
DINT |
|
|
Range |
[100 , 999] |
|
|
Unit |
n/a |
|
|
oSecondFaultMessage |
Description |
Description of the Fault |
|
Data type |
STRING |
|
|
Unit |
n/a |
|
|
oThirdFaultNumber |
Description |
Three digit AKD Fault identifier |
|
Data type |
DINT |
|
|
Range |
[100 , 999] |
|
|
Unit |
n/a |
|
|
oThirdFaultMessage |
Description |
Description of the Fault |
|
Data type |
STRING |
|
|
Unit |
n/a |
|
|
oDriveNotUsed |
Description |
Is this Drive Real (0) on Simulated (1) |
|
Data type |
BOOL |
|
|
Unit |
n/a |
Typical usage for this UDFB are:
MC_ReadStatus (PLCopen Motion Engine)
MLAxisStatus (Pipe Network Motion Engine)
|
//Execute the Function BlockA function block groups an algorithm and a set of private data. It has inputs and outputs. A1_AKDFltRpt (1001, resetFaultHistST);
//Read FunctionA function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. Block Outputs AKD1_Fault:= A1_AKDFltRpt.oFault; AKD1_NumFault:= A1_AKDFltRpt.oNumberFaults; AKD1_FirstFaultNumber:= A1_AKDFltRpt.oFirstFaultNumber; AKD1_FirstFaultMessage:= A1_AKDFltRpt.oFirstFaultMessage; AKD1_SecondFaultNumber:= A1_AKDFltRpt.oSecondFaultNumber; AKD1_SecondFaultMessage:= A1_AKDFltRpt.oSecondFaultMessage; AKD1_ThirdFaultNumber:= A1_AKDFltRpt.oThirdFaultNumber; AKD1_ThirdFaultMessage:= A1_AKDFltRpt.oThirdFaultMessage; ;
|
A1_FaultReporting is an instance of the FB_S700FltRpt function block.
|
Copyright © 2015 Kollmorgen™ |
|