Skip to main content

7.16.16 MC_GearIn

Function

Ratio between slave and master axis speed.

LD graphics

alt text

Parameter description

ParametersTypeDeclarationDescriptionRemarks
MasterAXISVAR_IN_OUTPrincipal axisInvoke Function Block
SlaveAXISVAR_IN_OUTSlave axisInvoke Function Block
ExecuteBOOLVAR_INRising edge activation
RatioNumeratorDINTVAR_INTransmission ratio molecule
RatioDenominatorDINTVAR_INTransmission ratio denominator
AccelerationLREALVAR_INTransmission acceleration[u/s2]
DecelerationLREALVAR_INTransmission deceleration[u/s2]
JerkLREALVAR_INTransmission jerk[u/s3]
BufferModeUSINTVAR_INDefine 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"
InGearBOOLVAR_OUTSynchronization Completed
BusyBOOLVAR_OUTWhether there is a valid output for FB, True:FB is not terminated
ActiveBOOLVAR_OUTFB control axis
CommandAbortedBOOLVAR_OUTThe command was terminated by another command
ErrorBOOLVAR_OUTAn error signal has occurred within the FB
ErrorIDWORDVAR_OUTError ID