Name Meaning Data type Valid range
De-
fault
Description
BufferMode Buffer
Mode Se-
lection
_eMC_BUF-
FER_MODE
0: _mcAborting
1: _mcBuf
fered
0
*2
Specify the behavior when execut-
ing more than one motion instruc-
tion.
0: Aborting
1: Buffered
*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 default value for an enumeration variable is actually not the number, but the enumerator.
Output Variables
Name Meaning
Data
type
Valid
range
Description
InVelocity Target Velocity
Reached
BOOL TRUE or
F
ALSE
TRUE when the target velocity is reached.
Busy Executing BOOL TRUE or
F
ALSE
TRUE when the instruction is acknowledged.
Active Controlling BOOL TRUE or
F
ALSE
TRUE when the axis is being controlled.
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
InVelocity When the target velocity is reached.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
Busy When Execute changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
Active When the instruction is started.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
CommandAborted
• When this instruction is canceled due to anoth-
er instruction.
• When this instruction is canceled due to an er-
ror in another instruction.
• When this instruction is executed while there is
an axis error.
• When you start this instruction during
MC_Stop instruction execution.
• 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.
3 Axis Command Instructions
3-392
NY-series Motion Control Instructions Reference Manual (W561)