MC_GrpReset
Function Block A function block groups an algorithm and a set of private data. It has inputs and outputs. - Makes the transition from the state GroupErrorStop to GroupStandby by resetting New start of the microprocessor. all internal group-related errors.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
Execute |
BOOL |
0, 1 |
N/A |
No default |
On the rising edge The transition of a digital signal from low to high. AKA: positive edge., resets group-related errors and all of the axes in the group. |
AxesGroup |
No range |
N/A |
No default |
The axes group the axes are reset in. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Done |
BOOL |
No range |
N/A |
If TRUE, the command completed successfully. |
Busy |
BOOL |
No range |
N/A |
If TRUE, the FB is executing. |
Error |
BOOL |
No range |
N/A |
If TRUE, an error has occurred. |
ErrorID |
INT |
No range |
N/A |
Indicates the error if Error output is TRUE. |
Remarks
-
- This function block starts a motion-related action and stores data for calculations and error checking.
See Call Function Blocks Multiple Times in the Same Cycle if using a dual-core controller.
- See Coordinated Motion, the top-level topic for Coordinated Motion.
- See Function Blocks - General Rules about how inputs and outputs work.
- This function or function block does not generate any motion.
- This function block:
- Does not affect the output of the FB instances.
- Resets axis errors and drive In electrical engineering, a drive is an electronic device to provide power to a motor or servo. Control device for regulating the speed, torque and position of a motor. A unit controlling a motor using the current and timing in its coils. faults for each axis in the group.
Figure 1: MC_GrpReset
FBD Language Example
FFLD Language Example
IL Language Example
BEGIN_IL Instruction list - This is a low-level language and resembles assembly.
CAL Inst_MC_GrpReset ( EnableReset, Group1_Ref )
END_IL
ST Language Example
Inst_MC_GrpReset ( EnableReset, Group1_Ref );
See Also