Function - Omron NY532-1500 Reference Manual

Ny-series industrial pc platform
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

3 Axis Command Instructions
Output Variables
Name
Meaning
Done
Done
Busy
Executing
CommandAborted
Command
Aborted
Error
Error
ErrorID
Error Code
* Refer to the NY-series Troubleshooting Manual (Cat. No. W564).
Output Variable Update Timing
Name
Done
When changing the command current position and
the actual current position are completed.
Busy
When Execute changes to TRUE.
CommandAborted
• When this instruction is canceled due to an error.
• When this instruction is executed while there is an
• When you start this instruction during MC_Stop
Error
When there is an error in the execution conditions or
input parameters for the instruction.
In-Out Variables
Name
Meaning
Axis
Axis
* Specify a user-defined Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (default: MC_Axis***)
or a system-defined axis variable name (_MC_AX[*], _MC1_AX[*], or _MC2_AX[*]).

Function

• This instruction changes the command current position of the Servo axis to the specified target posi-
tion. If you execute this instruction on an encoder axis, the actual current position will change to the
specified target position.
• Specify the target position in absolute coordinates.
• The actual current position changes at the same time as the command current position changes. The
following error is kept the same before and after the change. If you execute this instruction on a com-
mand servo axis, the difference between the actual position and the actual current position will
remain the same before and after the change. Because of this, after you execute this instruction, the
actual current position of the axis takes the value calculated by the following equation.
Actual current position after change = Target position − Following error before change
• If you specify the actual position for a servo axis or the command position for an encoder axis, a posi-
tion type error will occur.
3-148
Data type
Valid range
BOOL
TRUE or FALSE TRUE when the instruction is completed.
BOOL
TRUE or FALSE TRUE when the instruction is acknowledged.
BOOL
TRUE or FALSE TRUE when the instruction is aborted.
BOOL
TRUE or FALSE TRUE while there is an error.
WORD
*
Timing for changing to TRUE
error.
instruction execution.
Data type
_sAXIS_REF
---
Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
Timing for changing to FALSE
• When Execute is TRUE and changes to
FALSE.
• After one period when Execute is FALSE.
• When Done changes to TRUE.
• When Error changes to TRUE.
• When Execute is TRUE and changes to
FALSE.
• After one period when Execute is FALSE.
When the error is cleared.
Valid range
Specify the axis.
NY-series Motion Control Instructions Reference Manual (W561)
Description
Description
*

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ny512-1500Ny532-1400Ny512-1400Ny512-1300Ny532-1300

Table of Contents