Chapter 6 Motion Function Blocks
LREAL Acceleration
Specify the maximum acceleration of the spindle at the beginning of
2
LREAL Deceleration
Specify the maximum deceleration of the spindle at the beginning of
2
Specify the change rate of acceleration/deceleration. [u/s
3
UINT BufferMode
Specify the sequential operation setting of motion function block.
(Refer to 6.1.4.BufferMode)
BOOL InSync
Indicate that gear operation is normally being fulfilled as the specified gear ratio is
Indicate synchronization is starting.
Indicate that the execution of motion function block is not completed.
Indicate that the current motion function block is controlling the relevant axis.
Indicate that the current motion function block is interrupted while it is running.
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
(1) This motion function block is an operation to synchronize the speed of the main axis and the spindle in the set position
depending on gear ratio which is set in the specific position.
(2) Giving gear operation abort (MC_GearOut) commands to the spindle or operation of other motion function block allow
stopping gear operation.
(3) RatioNumerator and RatioDenominator set the numerator and denominator of gear ratio to be applied to the spindle
respectively. If the numerator is set to negative number, the rotation direction of the spindle goes into reverse of the main
axis.
(4) MasterValueSource selects the source of the main axis to be synchronized. If it is set to 0 (mcSetValue), synchronization is
performed by putting the target position of the main axis in the current motion control period as a source, and if it is set to
1(mcActualValue), synchronization is performed by putting the current position of the main axis got feedback from the
current motion control period as a source. Other values set besides these two cause "error 0x10D1”.
(5) Input the positions of the main axis and the spindle where gear operation is completed synchronization in
MasterSyncPosition input and SlaveSyncPosition input respectively. Input the distance where the spindle starts
synchronization in MasterStartDistance input, and the spindle starts synchronization at the position away the distance set in
MasterStartDistance input from the position set in MasterSyncPosition input.
(6) Once synchronization starts, StartSync output is On. When synchronization is completed and gear operation starts,
StartSync output is Off and InSync output is On.
(7) If this motion function block is aborted by another command (BufferMode=0 of newly executed command), the cam
operation is stopped, and the CommandAborted output is on.
(8) If another command is executed by Buffered while this motion function block is being executed (BufferMode=1~5 of newly
executed command), the status of gear operation (InGear phase) is terminated, and then the newly executed command is
run subsequently.
InSync / Busy / Active / CommandAborted / Error output of this function block are all Off.
(9) The spindle is in 'SynchronizedMotion' while this motion function block is running.