Name Meaning
Data
type
Valid
range
Description
CommandAborted Command
Aborted
BOOL TRUE or
F
ALSE
TRUE when the instruction is aborted.
Error Error BOOL TRUE or
F
ALSE
TRUE while there is an error.
ErrorID Error Code WORD
*1
Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
*1. 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
Busy When PositiveEnable or NegativeEnable
changes to TRUE.
• When the axis stops.
• 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 Buffer 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 PositiveEnable is TRUE and changes to
FALSE.
• When NegativeEnable is TRUE and changes
to FALSE.
• After one period when PositiveEnable and
NegativeEnable are 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
Axis Axis _sAXIS_REF ---
Specifies the 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[*]).
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.
Function
• The MC_MoveJog (Jog) instruction performs jogging according to the specified V
elocity (Target Ve-
locity).
• To jog in the positive direction, change PositiveEnable (Positive Direction Enable) to TRUE. To jog in
the negative direction, change NegativeEnable (Negative Direction Enable) to TRUE.
• If PositiveEnable (Positive Direction Enable) and NegativeEnable (Negative Direction Enable) are
changed to TRUE at the same time, PositiveEnable (Positive Direction Enable) takes priority. As a
result, the axis will jog in the positive direction.
3 Axis Command Instructions
3-9
NY-series Motion Control Instructions Reference Manual (W561)
MC_MoveJog
3
Function