MC_GroupSetPosition (FB)ΒΆ

FUNCTION_BLOCK MC_GroupSetPosition

Allows to set the position of all axes of an axis group.

This function block calls MC_SetPosition for all axes of the group.

This function block must be called in state GroupStandby without following a dynamic coordinate system. Must not be commanded in the same cycle after commanding MC_GroupContinue.

InOut:

Scope

Name

Type

Comment

Inout

AxisGroup

Axis_Group_Ref_SM3

Reference to group of axes

Input

Execute

BOOL

Execution starts on the rising edge

Position

SMC_POS_REF

The new position of the axes.

Relative

BOOL

RELATIVE = True, ABSOLUTE = False (Default)

CoordSystem

SMC_COORD_SYSTEM

Applicable coordinate system

Output

Done

BOOL

TRUE if position has been set

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