MC_GrpReset
Description
This function block makes the transition from the state GroupErrorStop to GroupStandby by resetting all internal group-related errors – it does not affect the output of the FB instances. This function block also resets axis errors and drive faults for each axis in the group. This function block does not cause any motion.
-
- This function block starts a motion-related action and therefore stores data for calculations and error checking. Please see Calling Function Blocks Multiple Times in the Same Cycle if you are using a dual-core controller.
Related Functions
MC_GrpReadError, MC_GrpReadStatus, MC_ErrorDescription
Coordinated Motion, the top-level topic for Coordinated Motion.
Arguments
For more details on how inputs and outputs work, refer to PLCopen Function Blocks - General Rules.
Input
Execute | Description | On the rising edgeA rising edge is the transition of a digital signal from low to high. It is also called positive edge, this FB resets group-related errors and all of the axes in the group. |
Data Type | BOOL | |
Range | 0, 1 | |
Unit | N/A | |
Default | — | |
AxesGroup | Description | The axes group in which the axes will be reset. |
Data Type | AXES_GROUP_REF | |
Range | N/A | |
Unit | N/A | |
Default | — |
Output
Done | Description | If True, then the reset completed successfully. |
Data Type | BOOL | |
Busy | Description | If True, then the FB is executing. |
Data Type | BOOL | |
Error | Description | If True, an error has occurred. |
Data Type | BOOL | |
ErrorID | Description | Indicates the error identifier if Error output is set to TRUE. See table in PLCopen Function Block ErrorID Output. |
Data Type | INT |
Example
ST
Inst_MC_GrpReset ( EnableReset, Group1_Ref );
FBD
IL
BEGIN_IL"Instruction list" This is a low-level language and resembles assembly
CAL Inst_MC_GrpReset ( EnableReset, Group1_Ref )
END_IL
FFLD