Name Meaning Data type Valid range Default Description
BufferMode Buffer Mode
Selection
_eMC_BUF-
FER_MODE
0: _mcAborting
1: _mcBuf
fered
2: _mcBlendingLow
3: _mcBlendingPrevi-
ous
4: _mcBlendingNext
5: _mcBlendingHigh
0
*3
Specify the behavior when executing
more than one motion instruction.
0: Aborting
1: Buffered
2: Blending low
3: Blending previous
4: Blending next
5: Blending high
*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. Always set the target velocity. If the axis is moved without setting a target velocity, an error will occur.
*3. The default value for an enumeration variable is actually not the number, but the enumerator.
Output Variables
Name Meaning
Data
type
Valid
range
Description
Done Done BOOL TRUE or
F
ALSE
TRUE when the instruction is completed.
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
Done When positioning is completed.
• When Execute is TRUE and changes to
FALSE.
• After one period when Execute is FALSE.
Busy When Execute changes to TRUE.
• When Done changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
Active When the instruction is started.
• When Done changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted changes to TRUE.
3 Axis Command Instructions
3-81
NY-series Motion Control Instructions Reference Manual (W561)
MC_MoveRelative
3
Variables