SMC_GroupSetUnits (FB)ΒΆ

FUNCTION_BLOCK SMC_GroupSetUnits

This function block allows setting conversion factors from user units to SI units.

InOut:

Scope

Name

Type

Comment

Inout

AxisGroup

AXIS_GROUP_REF_SM3

Reference to a group of axes

Input

Execute

BOOL

Executes the FB at the rising edge.

Units

SMC_GroupUnits

The unit conversion factors to be set.

Output

Done

BOOL

The defined load has been added to the axisgroup

Error

BOOL

Signals that an error has occurred within the function block

ErrorID

SMC_ERROR

Error identification