MC_GearIn

Element Name Element Type Description
Execute Input Edge detected request to execute the function block.
Master Input/Output Select the master axis for the gearing operation. This must be a UINT variable with a value of the master axis number.
Slave Input/Output Select the slave axis for the gearing operation. This must be a UINT variable with a value of the slave axis number.
ContinuousUpdate Input Specify the update setting of the input value. This is explained in section 6.1.5 of the XMC user manual.
RatioNumerator Input Specify the numerator of the gear ratio (-32768 ~ 32767).
RatioDenominator Input Specify the denominator of the gear ratio (0 ~ 65535).
MasterValueSource Input

Select the source of the main axis for gearing operation.

  • 0: Synchronizes to the command position of the main axis.

  • 1: Synchronizes to the current position of the main axis.

Acceleration Input Specify the acceleration at the beginning of the gearing operation.
Deceleration Input Specify the deceleration at the beginning of the gearing operation.
Jerk Input Specify the change rate of acceleration/deceleration.
BufferMode Input Specify the sequential operation setting. See BufferMode table below.
InGear Output Indicates the gearing operation is running.
Busy Output Indicates the function block is currently being executed.
Active Output Indicates the function block is controlling the slave axis.
CommandAborted Output Indicates the function block was aborted.
Error Output Indicates whether an error occurs or not.
ErrorID Output Error Identification number.

 

 

 

 

 

 

 

 

 

 

LM605-1