Output Variable Update Timing
Name Timing for changing to TRUE Timing for changing to FALSE
InSync When the slave axis starts cam operation.
• When Periodic is F
ALSE and EndOfProfile
changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
EndOfProfile The period where the phase and displacement of
the end point of the cam table are output as the
command position.
One period after EndOfProfile changes to
TRUE.
Busy When Execute
changes to TRUE.
• When Periodic is FALSE and EndOfProfile
changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
InCam When the master axis passes the StartPosition
(Cam Table Start Position).
• When Periodic is F
ALSE and EndOfProfile
changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
Active When the instruction is started.
• When Periodic is F
ALSE and EndOfProfile
changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
CommandAborted
• When this instruction is aborted because an-
other motion control instruction was executed
with the Buf
fer Mode set to Aborting.
• When this instruction is canceled due to an er-
ror.
• When this instruction is executed while there
is an error.
• When you start this instruction during
MC_Stop instruction execution.
• When the MC_CamOut instruction is execut-
ed.
• When Execute is TRUE and changes to
FALSE.
• After one period when Execute is FALSE.
Error When there is an error in the execution condi-
tions or input parameters for the instruction.
When the error is cleared.
In-Out Variables
Name Meaning Data type
Valid
range
Description
Master Master Axis _sAXIS_REF ---
Specify the master axis.
*1
Slave Slave Axis _sAXIS_REF ---
Specify the slave axis.
*1
CamTable Cam Table ARRAY[0..N] OF
_sMC_CAM_REF
--- Specify the cam data structure _sMC_CAM_REF array
variable as the cam table.
*2
*1. Specify a user-defined Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (default: MC_Ax-
is*) or a system-defined axis variable name (_MC_AX[*]).
If you use Sysmac Studio version 1.29 or higher
, you can specify the system-defined axis variable name for AT specifi-
cation of a user-defined variable. This will allow you to specify the user-defined variable.
If you use Sysmac Studio version 1.28 or lower, do not specify any user-defined variable created in the variable table.
*2. "N" in the array variable is set automatically by the Sysmac Studio. Specify a cam data variable that was created on
Cam Editor of the Sysmac Studio.
3 Axis Command Instructions
3-177
NY-series Motion Control Instructions Reference Manual (W561)
MC_CamIn
3
Variables