In the program example, the master axis is controlled by "MC_MoveVelocity" and the slave axis
moves in sync with the master axis.
When the synchronous operation is completed, the
"MC_GearIn_0.InGear" flag is set to TRUE.
The "Busy" flag is set to TRUE during execution. While the "Busy" flag is set to TRUE,
"MC_MoveVelocity_0" and "MC_GearIn_0" must be called every cycle. Otherwise, the
operation will terminate with an error.
To separate the slave axis from the master axis and finish the synchronous gear operation, use
the "MC_GearOut" function block. When "MC_GearOut" is called, the synchronous operation is
terminated and the slave axis continues to move at the same velocity as when the synchronous
operation is terminated. Because the operation continues even after the slave axis is separated
11.4 Synchronous Operation
WUME-GM1RTXOP-01 11-47