7.16.16 MC_GearIn
Function
Ratio between slave and master axis speed.
LD graphics

Parameter description
| Parameters | Type | Declaration | Description | Remarks |
|---|---|---|---|---|
| Master | AXIS | VAR_IN_OUT | Principal axis | Invoke Function Block |
| Slave | AXIS | VAR_IN_OUT | Slave axis | Invoke Function Block |
| Execute | BOOL | VAR_IN | Rising edge activation | |
| RatioNumerator | DINT | VAR_IN | Transmission ratio molecule | |
| RatioDenominator | DINT | VAR_IN | Transmission ratio denominator | |
| Acceleration | LREAL | VAR_IN | Transmission acceleration[u/s2] | |
| Deceleration | LREAL | VAR_IN | Transmission deceleration[u/s2] | |
| Jerk | LREAL | VAR_IN | Transmission jerk[u/s3] | |
| BufferMode | USINT | VAR_IN | Define the time sequence of FB: 0 means to immediately abort the ongoing movement (default value); 1 means to affect the axis when the last movement is "complete" | |
| InGear | BOOL | VAR_OUT | Synchronization Completed | |
| Busy | BOOL | VAR_OUT | Whether there is a valid output for FB, True:FB is not terminated | |
| Active | BOOL | VAR_OUT | FB control axis | |
| CommandAborted | BOOL | VAR_OUT | The command was terminated by another command | |
| Error | BOOL | VAR_OUT | An error signal has occurred within the FB | |
| ErrorID | WORD | VAR_OUT | Error ID |