MC_GearIn
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
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
master |
Transfer of the axis data structure of the master axis |
|
|
Slave |
Transfer of the axis data structure of the slave axis |
|
|
Execute BOOL |
FALSEรคTRUE |
Start coupling of the slave axis to the master axis. |
|
ContinuousUpdate BOOL |
Continuous acceptance of the parameters |
|
|
FALSE |
The pending parameters are accepted with a rising edge at Execute. |
|
|
TRUE |
The pending parameters are accepted continuously, i.e. during the execution the parameters may change. |
|
|
RatioNumerator INT |
Gearbox factor (numerator/denominator) between slave axis and master axis |
|
|
RatioDenominator UINT |
||
|
MasterValueSource |
Source of relevant data for the master axis:
|
|
|
Acceleration LREAL |
Maximum acceleration in [unit/s2] |
|
|
Deceleration LREAL |
Maximum deceleration in [unit/s2] |
|
|
Jerk LREAL |
Maximum jerk in [unit/s3] |
|
|
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.
|
|
Motion axes (AXIS_REF)