MCFB_AKDFault
Function Block - Outputs AKD drive fault information.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
EN |
BOOL |
FALSE, TRUE |
N/A |
No default |
Enables the KollmorgenUDFB. Used in the FFLD editor only. |
Axis |
AXIS_REF |
1 to 256 |
N/A |
No default |
Name of a declared instance of the AXIS_REF library function.
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
FAULT |
BOOL |
FALSE, TRUE |
N/A |
TRUE if the selected drive currently has a Fault. |
FaultNumber |
DINT |
100 to 999 |
N/A |
The AKD drive fault number. |
Remarks
-
-
This function block lists the highest priority fault as displayed on the AKD.
The FB_AKDFltRpt function block lists faults in the order they occur.
- This function or function block can be used with PLCopen Motion engines.
- The FAULT output returns TRUE when the selected drive goes into a fault state.
- The FaultNumber is the same number as reported on the display of the AKD drive.
This image shows the function or function block I/O.
Figure 1: MCFB_AKDFault
Usage
- Provide drive fault information the application program uses to determine next steps.
- Example: Perform a machine-controlled stop or perform an immediate disable of the servo drives.
- In the application program, sends output fault information from this UDFB to the HMI for review by the machine operator.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Execute and Read the Function Block
Inst_MCFB_AKDFault( Axis1(*lib:AXIS_REF*) );
FaultDrive1 := Inst_MCFB_AKDFault.FAULT;
FaultDrive1Number := Inst_MCFB_AKDFault.FaultNumber;
FaultDrive1Description := MCFB_AKDFaultLookup( FaultDrive1Number(*DINT*) );
See Also
- FB_AKDFltRpt
- MC_ReadStatus (PLCopen Motion Engine)
- MCFB_AKDFaultLookup