SMC_GroupPower (FB)¶
FUNCTION_BLOCK SMC_GroupPower
Allows to power up all axes of a group.
Calling this function block will simply call MC_Power for all axes
of the group.
This function block is not tied to the state of the axis group, and
it does not influence the state of the axis group.
It can, for example, be called while the axis group is still in
state GroupDisabled. After the output Status becomes TRUE,
the group state will still be GroupDisabled.
- InOut:
Scope
Name
Type
Comment
Inout
AxisGroupInput
EnableBOOLSet
EnabletoTRUEto enable execution of the function blockbRegulatorOnBOOLSet
bRegulatorOntoTRUEto enable the power stagebDriveStartBOOLSet
bDriveStarttoTRUEto disable the quickstop mechanismOutput
StatusBOOLTRUEif axis is ready to moveBusyBOOLTRUEif execution of the function block is not finishedErrorBOOLSignals an error occurred within the function block during execution
ErrorIDSMC_ERRORError identification