MC_CombineAxes, MCP_CombineAxes – Combine the motion of 2 axes into a third axis
Block SymbolsLicensing group: MOTION CONTROL
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:
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 |
GearRatioDenominatorM1 | Denominator for the gear factor for master axis 1 | long |
GearRatioNumeratorM2 | Numerator for the gear factor for master axis 2 | long |
GearRatioDenominatorM2 | Denominator for the gear factor for master axis 2 | long |
BufferMode | Buffering mode | long |
|
|
|
RampIn | RampIn factor (0 = RampIn mode not used) | double |
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 | Error code | error |
|
|
|
SyncDistance | Position deviation of the slave axis from synchronized position | double |
Example
[Previous] [Back to top] [Up] [Next]