MC_Reset (FB)
FUNCTION_BLOCK MC_Reset
MC_Reset function block makes the transition from the state ErrorStop to StandStill by resetting all internal axis-related errors. It does not affect the output of the function block instances
Gives a reset to the axis as well, in any state. In addition, a reset message is sent to the drive (e.g. output DRIVE_RESET_FAULT AT CMC_Basic_Kernel)
Note
Ouptut “Done” will be TRUE after a wait time of 5 seconds, even though Reset operation is complete.
- InOut:
Scope
Name
Type
Comment
Input
ExecuteBOOLStarts the function block at rising edge
Output
DoneBOOLShows the status of the function block. Done = TRUE if the execution is finished
BusyBOOLThe function block with Busy = TRUE has control on the axis
ErrorBOOLSignals that error has occurred within function block
ErrorIDError identification. For error details refer to Enumeration ERROR_ID
Inout
AxisReference to axis