Input DescriptionΒΆ

../_images/342aa07135753a8f0a331390006e5ff8

Function Block MC_CombineAxes

Note

The inputs marked with a triangle 3499f2b230ff6feb0a33139000652195_78f228175b765b440a33139001315693 are of the class VAR_IN_OUT (input and output variable). These inputs must be connected to a variable.

Execute

Data type: BOOL

Starts the Function Block at rising edge.

CombineMode

Data type: BOOL

Defines the type of combination applied to AxisOut:

FALSE: Addition of the 2 input axes positions

TRUE: Substraction of the 2 input axes positions.

GearRatioNumeratorM1

Data type: INT

Numerator for the gear factor for master axis 1 towards the slave.

GearRatioDenominatorM1

Data type: INT

Corresponding denominator for master axis 1.

GearRatioNumeratorM2

Data type: INT

Numerator for the gear factor for master axis 2 towards the slave.

GearRatioDenominatorM2

Data type: INT

Corresponding denominator for master axis 2.

MasterValueSourceM1

Data type: MC_SOURCE

Defines the source for synchronization for master axis 1:

mcSetValue: Synchronization on master set value.

mcActualValue. Synchronization on master actual value .

MasterValueSourceM2

Data type: MC_SOURCE

Defines the source for synchronization for master axis 2:

mcSetValue: Synchronization on master set value.

mcActualValue: Synchronization on master actual value .

BufferMode

Data type: MC_BUFFERMODE, default: MC_Aborting, no other modes supported

Defines the behavior of the axis.

Master1

Data type: AXIS_REF

Reference to the first master axis.

Master2

Data type: AXIS_REF

Reference to the second master axis.

Slave

Data type: AXIS_REF

Reference to the resulting combined axis. Can be a virtual axis or linked directly to a real axis.