MC_ResetError
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
En |
BOOL |
0, 1 |
N/A |
No default |
Requests to reset the axis errors. |
Axis |
AXIS_REF |
1, 256 |
N/A |
No default |
Name of a declared instance of the AXIS_REF library function.
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
BOOL |
No range |
N/A |
Function block executed successfully. See Pipe Network - General Rules for more information. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller for more information.
This function performs these tasks in sequence:
- Sends a request to the drive to clear any drive faults that exists
- 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 Transition Events and Actions, #15 in the status machine of the CANopen protocol.
Figure 6-209: MC_ResetError
FBD Language Example
Not available.
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//reset the axis and drive errors for Axis 1
MC_ResetError( Axis1 );