MCV_Handwheels

The increments output by handwheels are appended to this function block in the form of a counter state. The following criteria must be met to ensure that a change in handwheel counter state executes an axis:

The axis group to which an axis belongs must be in manual mode (see FB MCV_GrpOperationMode).

Handwheel mode must be activated for the axis and the axis must be linked to a handwheel (see FB MCV_ManMode).

Block diagram

FB parameters

VAR_INPUT

Variable name

Data type

Description

Enable

BOOL

If the input is TRUE, the motion controller transfers the counter states of the handwheel increments to the axes whose axis group is in manual mode and whose handwheel interface was linked to a handwheel.

HwheelIncIn

MCV_AY_MM_HW_INC

The signed counter state of a handwheel is transferred to the motion controller by each element in this array.

VAR_OUTPUT

Variable name

Variable name

Variable name

Valid

BOOL

Is TRUE when TRUE is present at the “Enable” input.

Error

BOOL

Indicates TRUE when an error occurs.

ErrorID

INT

Error identifier

HwheelIncOut

MCV_AY_MM_HW_INC

Every element in the array indicates the counter state of the corresponding input “HwheelIncIn[x]” which was transferred to the motion controller.

Attention

attention

If axes in different axis groups which are in manual mode are connected to the same handwheel, all these axes move when the handwheel counter state changes.