MC_ClearFaults
Function A 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. -
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
En |
BOOL |
FALSE, TRUE |
N/A |
No default |
Function enable Enable signal for the drive, Hardware-Enable with 24V signal to X8, Software-Enable command by setup Software, fieldbus or permanently set. Both are required for enabling the drive. – execute function. This Input must be on shot. |
Axis |
AXIS_REF |
1, 256 |
N/A |
No default |
AXIS_REF.AXIS_NUM is the master axis number.
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
BOOL |
FALSE, TRUE |
N/A |
Boolean output to indicate successful request.
|
Remarks
-
-
This function or function block A function block groups an algorithm and a set of private data. It has inputs and outputs. returns cached data.
See Program a Multi-Core Controller.
- See Function Blocks - General Rules about how inputs and outputs work.
- The condition causing the drive fault has to be corrected before calling this function.
- If the fault condition still exists when this function is called, this function sends a request to the drive but the drive faults remain.
- This function does not reset New start of the microprocessor. axis errors.
- MC_ResetError is required to reset axis errors and possibly to re-enable or turn power on to the servo axis after the fault condition is cleared.
Usage
When there is a positive Position means a point in space which is described by different coordinates. Depending on the used system and transformation it can consist of a maximum of six dimensions (coordinates).This means three Cartesian coordinates in space and coordinates for the orientation. In ACS there can be even more than six coordinates. If the same position is described in different coordinate systems the values of the coordinates are different. transition of the EN input, this function requests a Fault Reset of the Drive for the Axis defined in the axis input of this function.
Figure 1: MC_ClearFaults
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
(* MC_ClearFaults ST example *)
MC_ClearFaults( Axis1); //clear drive faults for Axis 1
See Also