MC_Reset
The
MC_Reset
function block will reset axis related alarms on the controller and on the drive.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| B | Axis | AXIS_REF | Logical axis reference. | |
| VAR_INPUT |
|
|||
| B | Execute | BOOL | Upon the rising edge of the Execute input, all other inputs are read and the function block becomes operational. If an input needs to be modified, the value will have to be changed and the Execute input will have to be re-triggered. | FALSE |
| VAR_OUTPUT | ||||
| B | Done | BOOL | The Done output is set to TRUE when the commanded action has completed successfully. If another function block takes control before the action is completed, the Done output will never become TRUE. This output is reset when Execute becomes FALSE. | |
| E | Busy | BOOL | For function blocks with Execute input, the Busy output is set to TRUE upon the rising edge of the Execute, and set to FALSE when Done, CommandAborted or Error outputs becomes TRUE. In the case of a function block with an Enable input, Busy indicates that the function block is operating, but may not be ready to provide valid outputs. | |
| B | Error | BOOL | The Error output is set to TRUE if an error has occurred during the operation of the function block. The output is cleared when the Execute or Enable input becomes FALSE. | |
| E | ErrorID | UINT | The ErrorID output provides the identifier of the error when there is an active error in the function block execution. The output is cleared when the Execute or Enable input becomes FALSE. | |
Notes
- State Diagram Referring to the, this function block makes the transition from the ErrorStop to StandStill state by resetting axis-related errors.
- MC_ReadAxisError Axis specific alarms for servos are those whose ErrorClass starts with 16#3302, 16#3303, 16#4302, or 16#4403. Use to determine whether the alarm is axis specific, or a controller alarm in general.
- MC_GroupDisable If this axis is part of an AxesGroup, some alarms cannot be cleared when the group is enabled. Use before to executing MC_Reset.
- MC_ReadAxisError Some servo alarms cannot be cleared without power cycle.MC_Reset does not verify that alarms are cleared before setting the Done output. It returns Done when the attempt to clear is complete. Use to check if the axis still has an alarm/error after MC_Reset is done. There may be more than one alarm active for the axis.
- Please refer to specific product manuals for details regarding servo or VFD errors.
-
For VFDs with
Modbus RTU connection:
- Axis_REF: Logical axis number and driver type have to be defined
-
Further details of the communication management to Yaskawa Drives and Generic Devices are described here:
Modbus RTU Communication Details for Drives and generic Modbus Devices
Error Description
See the
Function Block ErrorID List
Example
Instance of
MC_Reset
resetting Servo Axis 1.
The Logic Analyzer trace for the above example is shown below: