Chapter 6 Motion Function Blocks
UINT StartMode
Set the cam operation mode.
0 : Cam table is applied as an absolute value (mcAbsolute)
1: Cam table is applied as a relative value based on the command starting point
UINT MasterValueSource
Select the source of the main axis for cam operation.
0 : Synchronized in the target value of the main axis.
1 : Synchronized in the current value of the serve axis.
Specify the cam table to operate.
UINT BufferMode
Specify the sequential operation setting of motion function block.
(Refer to 6.1.4.BufferMode)
BOOL InSync
Indicate that cam operation is normally being fulfilled.
(Indicate that the serve axis is following the cam table.)
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 to operate the serve axis cam depending on the main axis.
(2) Cam operation command can be given to the serve axis even if the main axis is in stop state.
(3) You must give cam operation abort (MC_CamOut) command to the serve axis or operate other motion function block to
stop cam operation.
(4) 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.
(5) If another command is executed by Buffered while this motion function block is being executed (BufferMode=1~5 of newly
executed command), the operation of the cam profiled cycle is terminated, and then the newly executed command is run
subsequently. InSync / Busy / Active / CommandAborted / Error output of MC_CamIn function block are all Off.
(6) The axis is in 'Synchronized Motion' while this motion function block is running.
(7) Set the offset of cam table to be applied in MasterOffset and SlaveOffset. MasterOffset sets the offset with the starting point
of the main axis, and SlaveOffset sets the offset with the starting point of the serve axis. Refer to the Figure below.