MC_SEW_ConfigUserUnit

This function block configures the user unit of the axis. The configuration can also be carried out via the Configuration menu of the logical device.

The user unit is managed on the MOVI-C® CONTROLLER and can be changed via this function block when the drive is deactivated. The drive is operated in system units (position: 65536 increments, speed: 65536 increments/s).

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Reference to a logical device
(name of the logical device)

See also AXIS_REF.

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Start execution of the function block.

diScalingNumerator

DINT

Numerator of the Position user unit

diScalingDenominator

DINT

Denominator of the Position user unit

uiNumberOfDecimalPlaces

UINT

Number of decimal places for profile generation

lrModuloMin

LREAL

Modulo minimum in [user unit]

lrModuloMax

LREAL

Modulo maximum in [user unit]

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

Function block successfully completed

Busy

BOOL

Function block is active

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number