MC_GroupReadConfiguration (FB)ΒΆ

FUNCTION_BLOCK MC_GroupReadConfiguration

This function block gets the axis reference according to the given group identifier in order to read the current configuration of an axis group. This is an administrative FB, since no movement is generated.

InOut:

Scope

Name

Type

Comment

Inout

AxisGroup

AXIS_GROUP_REF_SM3

Reference to a group of axes

Input

Enable

BOOL

Gets the axis reference according to the given group identifier while enabled

IdentInGroup

IDENT_IN_GROUP_REF_SM3

Identifies the axis in the group

Output

pAxis

POINTER TO AXIS_REF_SM3

Reference to the selected axis

NumAxes

UDINT

Number of axes in group

Valid

BOOL

TRUE if valid outputs are available

Busy

BOOL

The FB is not finished

Error

BOOL

Signals that an error has occurred within the function block

ErrorID

SMC_ERROR

Error identification