MC_ResetError
Description
This function performs in sequence the following tasks:
- It sends a request to the drive to clear any drive faults that exists
- Then it resets the axis errors
-
-
The condition causing the axis error has to be corrected before calling this function. The axis error still remains until the error condition exists when this function is called.
See also transition 15 in the status machine of the CANopen protocol.
-
-
This function or function block returns cached data. See Programming a Dual Core Controller for more information.
Arguments
For more detail on how inputs and outputs work, refer to PLCopen Function Blocks - General Rules
Input
En |
Description |
Requests to reset the axis errors |
Data type |
BOOL |
|
Range |
0, 1 |
|
Unit |
N/A |
|
Default |
— |
|
Axis |
Description |
Name of a declared instance of the AXIS_REF library function (for more details, About Axis Name and Number) |
Data type |
||
Range |
[1,256] |
|
Unit |
N/A |
|
Default |
— |
Output
OK |
Description |
Indicates the function has completed successfully See more details here. |
Data type |
BOOL |
Example
Structured Text
//reset the axis and drive errors for Axis 1
MC_ResetError( Axis1 );
Ladder Diagram