MC_CombineAxes, MCP_CombineAxes – Combine the motion of 2 axes into a third axis

Block SymbolsLicensing group: MOTION CONTROL
Qt SVG Document Exported by REXYGEN Studio uMaster1 uMaster2 uSlave Execute GearRatioNumeratorM1 GearRatioDenominatorM1 GearRatioNumeratorM2 GearRatioDenominatorM2 BufferMode CombineMode RampInFactor yMaster1 yMaster2 ySlave InSync CommandAborted Busy Active Error ErrorID SyncDistance MC_CombineAxes Qt SVG Document Exported by REXYGEN Studio uMaster1 uMaster2 uSlave Execute yMaster1 yMaster2 ySlave InSync CommandAborted Busy Active Error ErrorID SyncDistance MCP_CombineAxes

Function Description

The MC_CombineAxes block combines a motion of two master axes into a slave axis command. The slave axis indicates synchronized motion state. Following relationship holds:

SlavePosition = Master1Position GearRatioNumeratorM1 GearRatioDenominatorM1 + +Master2Position GearRatioNumeratorM2 GearRatioDenominatorM2

Negative number can be set in GearRatio... parameter to obtain the resulting slave movement in form of difference of master axes positions.

Inputs

uMaster1

First master axis reference

Reference

uMaster2

Second master axis reference

Reference

uSlave

Slave axis reference

Reference

Execute

The block is activated on rising edge

Bool

GearRatioNumeratorM1

Numerator for the gear factor for master axis 1

Long (I32)

GearRatioDenominatorM1

Denominator for the gear factor for master axis 1

Long (I32)

GearRatioNumeratorM2

Numerator for the gear factor for master axis 2

Long (I32)

GearRatioDenominatorM2

Denominator for the gear factor for master axis 2

Long (I32)

BufferMode

Buffering mode

Long (I32)

1 ....

Aborting (start immediately)

2 ....

Buffered (start after finish of previous motion)

3 ....

Blending low (start after finishing the previous motion, previous motion finishes with the lowest velocity of both commands)

4 ....

Blending high (start after finishing the previous motion, previous motion finishes with the lowest velocity of both commands)

5 ....

Blending previous (start after finishing the previous motion, previous motion finishes with its final velocity)

6 ....

Blending next (start after finishing the previous motion, previous motion finishes with the starting velocity of the next block)

RampIn

RampIn factor (0 = RampIn mode not used)

Double (F64)

Outputs

yMaster1

First master axis reference

Reference

yMaster2

Second master axis reference

Reference

ySlave

Slave axis reference

Reference

InSync

Slave axis reached the cam profile

Bool

CommandAborted

Algorithm was aborted

Bool

Busy

Algorithm not finished yet

Bool

Active

The block is controlling the axis

Bool

Error

Error occurred

Bool

ErrorID

Result of the last operation

Error

i ....

REXYGEN general error

 

SyncDistance

Position deviation of the slave axis from synchronized position

Double (F64)

Example
image/svg+xmlaxis_slave_gearin [axis_slave_gearin] axis_slave_camin [axis_slave_camin] axis_master_gearin [axis_master_gearin] axis_master_camin [axis_master_camin] axis_combineaxis [axis_combineaxis] MC_GearIn uMasteruSlaveExecuteRatioNumeratorRatioDenominatorAccelerationDecelerationJerkBufferModeyMasterySlaveInGearCommandAbortedBusyActiveErrorErrorID MC_CombineAxes uMaster1uMaster2uSlaveExecuteGearRatioNumeratorM1GearRatioDenominatorM1GearRatioNumeratorM2GearRatioDenominatorM2BufferModeRampInyMaster1yMaster2ySlaveInSyncCommandAbortedBusyActiveErrorErrorIDSyncDistance MC_CamIn uMasteruSlaveCamTableIDExecuteMasterOffsetSlaveOffsetMasterScalingSlaveScalingStartModeBufferModeRampInFactoryMasterySlaveInSyncCommandAbortedBusyActiveErrorErrorIDEndOfProfileSyncDistance

image/svg+xml0 1 2 3 4 5 6 7 8 9 10 −0.5 0 0.5 1 1.5 2 2.5 3 3.5 Position position Position − slave GearIn Position − slave CamIn Final position CombineAxis

2024 © REX Controls s.r.o., www.rexygen.com