MCFB_AKDFaultLookup
Function Block - String message of the corresponding AKD drive fault number.
- This function or function block can be used with PLCopen Motion engines.
- The FaultNumber is the same number as reported on the display of the AKD drive.
- OK output turns TRUE when the there is a match for the FaultNumber.
- The FaultDescription displays the corresponding text string.
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.
Inputs
|
Input |
Data Type See Data Types. |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
EN |
BOOL |
FALSE, TRUE |
N/A |
No default |
Enables the KollmorgenUDFB. Used in the FFLD editor only. |
|
FaultNumber |
DINT |
No range |
N/A |
No default |
The AKD drive fault number. |
Outputs
|
Output |
Data Type See Data Types. |
Range |
Unit |
Description |
|---|---|---|---|---|
|
OK |
BOOL |
FALSE, TRUE |
N/A |
TRUE if there is a match for the FaultNumber. |
|
FaultDescription |
STRING |
N/A |
N/A |
Description of the fault. |
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_AKDFault







