This FB serves to establish a velocity synchronism between master and slave axis.
- For clutching to the master axis, the slave axis carries out a compensating movement.
- A gearbox factor can be defined between master and slave axis.
- Only the slave axis is moved with this FB, not the master axis.
|
|
|
|
MC_GearIn |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXIS_REF |
- |
|
master |
InGear |
|
- |
BOOL |
|
AXIS_REF |
- |
|
Slave |
Busy |
|
- |
BOOL |
|
BOOL |
- |
|
Execute |
Active |
|
- |
BOOL |
|
BOOL |
- |
|
ContinuousUpdate |
CommandAborted |
|
- |
BOOL |
|
INT |
- |
|
RatioNumerator |
Error |
|
- |
BOOL |
|
UINT |
- |
|
RatioDenominator |
ErrorID |
|
- |
L_IE1P_Error |
|
MC_SOURCE |
- |
|
MasterValueSource |
|
|
|
|
|
LREAL |
- |
|
Acceleration |
|
|
|
|
|
LREAL |
- |
|
Deceleration |
|
|
|
|
|
LREAL |
- |
|
Jerk |
|
|
|
|
|
MC_BUFFER_MODE |
- |
|
BufferMode |
|
|
|
|
|
|
|
|
|
|
|
|
|
Inputs
|
RatioDenominator UINT |
||
|
MasterValueSource |
Source of relevant data for the master axis:
|
|
|
Acceleration LREAL |
Maximum acceleration in [unit/s 2 ] |
|
|
Deceleration LREAL |
Maximum deceleration in [unit/s 2 ] |
|
|
Jerk LREAL |
Maximum jerk in [unit/s 3 ] |
|
|
BufferMode |
Mode for processing successive motion commands Note: Only the mcBuffered and mcAborting buffer modes are supported. |
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
InGear BOOL |
TRUE |
The slave axis is coupled to the master axis with the set gearbox ratio, both axes are now running synchronously in terms of velocity. |
|
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.
|
|
BufferMode