Function - Omron Sysmac NY-series Instruction & Reference Manual

Industrial pc platform, motion control
Hide thumbs Also See for Sysmac NY-series:
Table of Contents

Advertisement

3 Axis Command Instructions
Name
Meaning
Error
Error
ErrorID
Error Code
*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
Done
When resetting the following error counter is
completed.
Busy
When Execute changes to TRUE.
Active
When the instruction is started.
CommandAborted
When the MC_ResetFollowingError instruction
is aborted because another motion control in-
struction 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.
Error
When there is an error in the execution condi-
tions or input parameters for the instruction.
In-Out Variables
Name
Axis
Axis
*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_ResetFollowingError instruction resets the following error between the command current
position and the actual current position in the MC Function Module to 0 in Cyclic Synchronous Posi-
tion (CSP) Control Mode.
• When Execute changes to TRUE, the actual current position at that point is used as the command
position (i.e., the target position).
3-168
Data
type
range
BOOL
TRUE or
FALSE
WORD
Timing for changing to TRUE
Meaning
Data type
_sAXIS_REF
Valid
TRUE while there is an error.
Contains the error code when an error occurs.
*1
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 CommandAborted changes to TRUE.
When Done changes to TRUE.
When Error changes to TRUE.
When CommandAborted 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
---
Specifies the axis.
NY-series Motion Control Instructions Reference Manual (W561)
Description
Description
*1

Advertisement

Table of Contents
loading

Table of Contents