3-17
3 I/O Ports, Slave Configuration, and Unit Configuration
NJ-series CPU Unit Software User’s Manual (W501)
3-5 Creating the Axes and Assigning Them to the Servo
Drives/Encoder Input Slaves
3
3-5-2 Axis Variables and Axes Group Variables
The following table lists the types of Axis Variables and Axes Group Variables.
Refer to the NJ-series Motion Control Instructions Reference Manual (Cat. No. W508) for details on
Axis Variables and Axes Group Variables.
Specifying Axis and Axes Group Variables
The variables can be specified with variable names that are created with the Sysmac Studio or with
system-defined variable names.
Application
There are two ways to use Axis Variables and Axes Group Variables.
1) Specifying Axes and Axes Groups in Motion Control Instructions:
If you specify an axis or axes group for an I/O variable for a motion control instruction, you can
perform operations for the OMRON Servo Drive or encoder input slave.
2) Monitoring Axis Variable Members:
You can use instructions to monitor the actual position, error information, or other information
on the Servo Drive and encoder input slaves.
3-5-2 Axis Variables and Axes Group Variables
Type of variable Application Device to access Creation method
Axis Variables System-defined axis
variables
An Axis Variable is
used to control a sin-
gle axis.
The EtherCAT slave
(Servo Drive or
encoder input slave)
that is assigned to
the axis
Provided by the sys-
tem.
Axis Variables auto-
matically created
when axes are cre-
ated with the Sys-
mac Studio
You must create an
axis with Sysmac
Studio and assign
the device to the
axis.
Axes Group Vari-
ables
System-defined
axes group variables
An Axes Group Vari-
able is used for
multi-axes coordi-
nated control.
The EtherCAT
slaves (Servo Drive
or encoder input
slaves) that are
assigned to the axes
group
Provided by the sys-
tem.
Axes Group Vari-
ables automatically
created when axes
groups are created
with the Sysmac
Studio
You must create an
axes group with the
Sysmac Studio.
Type
Names
Axis Variables Axes Group Variables
Variable names created with the
Sysmac Studio
MC_Axis***
(“***” is assigned in ascending order
from 000 in the order the variables
are created.) You can change the
names as required.
MC_Group***
(“***” is assigned in ascending order
from 000 in the order the variables
are created.) You can change the
names as required.
System-defined variable names _MC_AX[0..63]
(The array element numbers are
assigned in ascending order from 0
in the order the variables are cre-
ated.)
_MC_GRP[0..31]
(The array element numbers are
assigned in ascending order from 0
in the order the variables are cre-
ated.)