Variables - Omron Sysmac NY-series Instruction & Reference Manual

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

Advertisement

2 Variables and Instructions
2-1

Variables

There are two types of variables for the MC Function Module.
The first type is system-defined variables, which you use to monitor axis status and some of the pa-
rameter settings. System-defined variables that are used by the MC Function Module are called sys-
tem-defined variables for motion control.
The second type is variables that are used to input arguments to motion control instructions and to
output execution status from motion control instructions. Some input variables to motion control in-
struction are enumerated variables. With enumerated variables, selections are made from a set of
enumerators.
This section describes the variable types, the valid ranges of motion control instruction input variables,
and the enumerated variables.
 System-defined Variables for Motion Control
Level 1
System-defined

variables

For details on system-defined variables for motion control, refer to the NY-series Industrial Panel
PC / Industrial Box PC Motion Control User's Manual (Cat. No. W559).
Additional Information
Axis Variables and Axes Group Variables are system-defined variables.
When you use them in the user program, use the system-defined variable names (_MC_AX[*]
and _MC_GRP[*]).
You can also use the variable names that are set on the Sysmac Studio in the user program.
You can change the names of any of the Axis Variables or Axes Group Variables that you cre-
ate on the Sysmac Studio.
In the following example, the Axis Variable name for the axis that was added for the system-
defined Axis Variable name of _MC_AX[0] has been changed to MyAxis1 in the Sysmac Studio.
Axis in-out variable
Specify the name
of an Axis Variable.
ServoOn
2-2
Level 2
Level 3
System-de-
MC Common
fined variables
Variable
for motion con-
Axis Variables
trol
Axes Group
Variable
MC_Power_instance
MyAxis1
Axis
Enable
Description
You can monitor the overall status of the MC Func-
tion Module.
You can monitor axis status and the settings of part
of the axis parameters.
You can monitor axes group status and the settings
of part of the axes group parameters.
MC_Power
Axis
MyAxis1
Status
MyAxis1OnStatus
Busy
MyAxis1OnBusy
Error
MyAxis1OnError
ErrorID
MyAxis1OnErrorID
NY-series Motion Control Instructions Reference Manual (W561)

Advertisement

Table of Contents
loading

Table of Contents