Chapter 6 Motion Function Blocks
6.4.4 Electrical gearing disengage (MC_GearOut)
MC_GearOut
SlaveSlave
Execute Done
UINTUINT
BOOL BOOL
Busy BOOL
Error
BOOL
ErrorID WORD
Set the serve axis. (1~32: real/virtual axis, 33~36: virtual axis)
UINT BufferMode
Specify the sequential operation setting of motion function block.
(Refer to 6.1.4.BufferMode)
Indicate the state of motion function block completion.
Indicate that the execution of motion function block is not completed.
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
(1) This motion function block immediately disengages gear operation running in the spindle.
(2) If motion function block of which BufferMode is Aborting in the spindle where cam operation is running, gear operation is
automatically disengaged and the relevant motion function block is executed. If gear operation abort (MC_GearOut) motion
function block is only to be executed, the relevant axis performs operation to maintain the speed at the time when gear
operation is disengaged. To completely stop the spindle, use stop (MC_Halt) or immediate stop (MC_Stop) motion function
block.
(3) Example program
After the execution of MC Gearln command in sub-axis at the current position of 0, ContinuousUpdate of main-axis is set to
1, and then the velocity is gradually changed (1,000,000 2,000,000 3,000,000). This examples show the operation to
ensure that the velocity of sub-axis is no longer changed (b) by executing MC_GearOut command when the velocity of
main-axis is 2,000,000.