Output Variables
Name Meaning
Data
type
Valid
range
Description
Enabled Enable BOOL TRUE or
F
ALSE
TRUE when the axis is being controlled.
Invalid Excessive Fol-
lowing Error be-
tween Axes
BOOL TRUE or
F
ALSE
TRUE when the permitted following error between axes
is exceeded.
Busy Executing BOOL TRUE or
F
ALSE
TRUE when the instruction is acknowledged.
DeviatedValue Following Error
between Axes
LREAL Negative
number
,
positive
number, or
0
Contains the difference between the specified master
and slave axes.
The unit is command units.
*1
Error Error BOOL TRUE or
F
ALSE
TRUE while there is an error.
ErrorID Error Code WORD
*2
Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
*1. Refer to Unit Conversion Settings in the NY
-series Industrial Panel PC / Industrial Box PC Motion Control User’s
Manual (Cat. No. W559) for information on command units.
*2. The upper four digits of the event code give the error code for ErrorID. Refer to the NY-series Troubleshooting Manual
(Cat. No. W564) for the event codes.
Output Variable Update Timing
Name Timing for changing to TRUE Timing for changing to FALSE
Enabled When Enable changes to TRUE.
• When Error changes to TRUE.
• When Enable changes to F
ALSE.
Invalid When the permitted following error between axes
is exceeded.
• When Error changes to TRUE.
• When Enable changes to FALSE.
• When the permitted following error between
axes is not exceeded.
Busy When Enable changes to TRUE.
• When Error changes to TRUE.
• When Enable changes to F
ALSE.
DeviatedValue
*1
When Enable is TRUE.
Error When there is an error in the execution condi-
tions or input parameters for the instruction.
When the error is cleared.
*1. DeviatedValue does not return to F
ALSE when Enable changes to FALSE.
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
*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[*]).
3 Axis Command Instructions
3-386
NY-series Motion Control Instructions Reference Manual (W561)