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

AxisGroup

Axis_Group_Ref_SM3

Input

Enable

BOOL

Set Enable to TRUE to enable execution of the function block

bRegulatorOn

BOOL

Set bRegulatorOn to TRUE to enable the power stage

bDriveStart

BOOL

Set bDriveStart to TRUE to disable the quickstop mechanism

Output

Status

BOOL

TRUE if axis is ready to move

Busy

BOOL

TRUE if execution of the function block is not finished

Error

BOOL

Signals an error occurred within the function block during execution

ErrorID

SMC_ERROR

Error identification