MC_CombineAxes
This FB serves to combine the motions of two axes ( Master1 and Master2 ) via an addition or subtraction. Thus, a resulting third axis ( Slave ) is generated.
- For clutching to the master axes, the slave axis carries out a compensating movement.
- A gearbox factor can be defined between the prevailing master and slave axis.
- Only the slave axis is moved with this FB, not the two master axes.
|
|
|
|
MC_CombineAxes |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXIS_REF |
- |
|
Master1 |
InSync |
|
- |
BOOL |
|
AXIS_REF |
- |
|
Master2 |
Busy |
|
- |
BOOL |
|
AXIS_REF |
- |
|
Slave |
Active |
|
- |
BOOL |
|
BOOL |
- |
|
Execute |
CommandAborted |
|
- |
BOOL |
|
BOOL |
- |
|
ContinuousUpdate |
Error |
|
- |
BOOL |
|
MC_COMBINE_MODE |
- |
|
CombineMode |
ErrorID |
|
- |
L_IE1P_Error |
|
INT |
- |
|
GearRatioNumeratorM1 |
|
|
|
|
|
UINT |
- |
|
GearRatioDenominatorM1 |
|
|
|
|
|
INT |
- |
|
GearRatioNumeratorM2 |
|
|
|
|
|
UINT |
- |
|
GearRatioDenominatorM2 |
|
|
|
|
|
MC_SOURCE |
- |
|
MasterValueSourceM1 |
|
|
|
|
|
MC_SOURCE |
- |
|
MasterValueSourceM2 |
|
|
|
|
|
LREAL |
- |
|
Velocity |
|
|
|
|
|
LREAL |
- |
|
Acceleration |
|
|
|
|
|
LREAL |
- |
|
Deceleration |
|
|
|
|
|
LREAL |
- |
|
Jerk |
|
|
|
|
|
MC_BUFFER_MODE |
- |
|
BufferMode |
|
|
|
|
|
|
|
|
|
|
|
|
|
Inputs
|
Master1 |
Reference to master axis 1 |
|
|
Master2 |
Reference to master axis 2 |
|
|
Slave |
Reference to slave axis The slave axis can be a virtual or physical axis. |
|
|
Execute BOOL |
||
|
FALSE↗TRUE |
Clutch in slave axis and execute cam.
|
|
|
ContinuousUpdate BOOL |
Continuous acceptance of the parameters |
|
|
FALSE |
Die anliegenden Parameter werden mit einer steigenden Flanke an Execute übernommen. |
|
|
TRUE |
Die anliegenden Parameter werden kontinuierlich übernommen, d. h. während der Abarbeitung ist eine Änderung der Parameter möglich. |
|
|
CombineMode MC_COMBINE_MODE |
Combine mode for calculating the new position setpoint:
|
|
|
GearRatioNumeratorM1 INT |
Gear factor (numerator/denominator) between slave and master axis 1 |
|
|
GearRatioDenominatorM1 UINT |
||
|
GearRatioNumeratorM2 INT |
Gear factor (numerator/denominator) between slave and master axis 2 |
|
|
GearRatioDenominatorM2 UINT |
||
|
MasterValueSourceM1 |
Source of relevant data for the master axis 1:
|
|
|
MasterValueSourceM2 |
Source of relevant data for the master axis 2:
|
|
|
Velocity LREAL |
Maximum velocity [Units/s] |
|
|
Acceleration LREAL |
Maximum acceleration [Units/s 2 ] |
|
|
Deceleration LREAL |
Maximum deceleration [Units/s 2 ] |
|
|
Jerk LREAL |
Maximum jerk [Units/s 3 ] |
|
|
BufferMode |
Mode for processing successive motion commands Note: Only thei mcBuffered and mcAborting buffer modes are supported. |
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
InSync BOOL |
TRUE |
Master axes and slave axis are synchronised. |
|
Busy BOOL |
TRUE |
Processing is running. |
|
Active BOOL |
TRUE |
The command of the FB is currently executed.
|
|
CommandAborted BOOL |
TRUE |
The command was aborted by another FB. |
|
Error BOOL |
TRUE |
An error has occurred. For details see ErrorID . |
|
ErrorID |
If Error =Â TRUE: Error number for the error that has occurred.
|
|
Motion axes (AXIS_REF)