MCV_GrpAllHomedStatus

This FB is a utility FB which can be used in a PLC application.

The FB checks whether all axes assigned to an axis group are referenced and indicates how many axes are assigned to this axis group.

Block diagram

FB parameters

VAR_IN_OUT

Variable name

Data type

Description

AxesGroup

AXES_GROUP_REF

Axis group reference

VAR_INPUT

Variable name

Data type

Description

Enable

BOOL

It TRUE is applied to the input, the FB checks every time it is called whether all axes in an axis group are referenced.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

TRUE when the Enable input is TRUE.

Homed

BOOL

Is TRUE when all axes in the axis group are referenced.

NrAxesInGroup

UINT

Number of axes present in the axis group

Error

BOOL

Indicates TRUE when an error occurs.

ErrorID

WORD

Error identifier