![background image](http://html1.mh-extra.com/html/omron/nj501-1300/nj501-1300_user-manual_742205137.webp)
6-15
6 Motion Control Programming
NJ-series CPU Unit Motion Control User’s Manual (W507)
6-6
S
y
stem
-de
fined
V
ariab
les f
o
r Mo
tio
n
Co
ntr
o
l
6
6-6-1 Ov
er
vie
w
of Syste
m
-defined V
ar
iab
les f
or Motion Con
trol
6-6
System-defined Variables for Motion
Control
This section describes the variables of the MC Function Module.
The NJ-series Controller is compliant with the IEC 61131-3 standard. Parameter settings, status
information, and other data are handled as variables in the user program in the NJ-series Controller.
Of these, system-defined variables that belong to the MC Function Module are called system-
defined variables for motion control.
The following table lists all of the types of system-defined variables for motion control.
z
MC Common Variable
You can monitor the overall status of the MC Function Module with the MC Common Variable. The
variable name is
_MC_COM
.
z
Axis Variables
Use these variables to handle EtherCAT slaves, Servo Drives, encoder input terminals, virtual Servo
Drives, and virtual encoder input terminals.
You can use either the system-defined variables or the variables that are set on the Sysmac Studio
to specify the Axis Variables in the user program.
You can change any of the Axis Variables that you create on the Sysmac Studio.
•
Axis Variables in the system-defined variables:
_MC_AX[0]
to
_MC_AX[63]
•
Default Axis Variables when axes are created on Sysmac Studio:
MC_Axis000
to
MC_Axis063
z
Axes Group Variables
Use these variables to handle multiple axes as a single group.
You can use either the system-defined variables or the variables that are set on the Sysmac Studio
to specify the Axes Group Variables in the user program.
You can change any of the Axes Group Variables that you create on the Sysmac Studio.
•
Axes Group Variables in the system-defined variables:
_MC_GRP[0]
to
_MC_GRP[31]
•
Default Axes Group Variables when axes groups are created on Sysmac Studio:
MC_Group000
to
MC_Group031
Refer to the
NJ-series CPU Unit Software User's Manual
(Cat. No. W501) for details on the variables
that are used by an NJ-series Controller.
6-6-1
Overview of System-defined Variables for Motion Control
Types of System-defined Variables for Motion Control
Level 1
Level 2
Level 3
Description
System-defined
variables
System-defined vari-
ables for motion con-
trol
MC Common
Variable
You can monitor the overall status of the
MC Function Module.
Axis Variables
You can monitor axis status and the set-
tings of part of the axis parameters.
Axes Group
Variables
You can monitor axes group status and the
settings of part of the axes group parame-
ters.
Содержание NJ501-1300
Страница 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Страница 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Страница 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Страница 44: ...1 Introduction to the Motion Control Function Module 1 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 58: ...2 Motion Control Configuration and Principles 2 14 NJ series CPU Unit Motion Control User s Manual W507...
Страница 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Страница 98: ...4 Checking Wiring from the Sysmac Studio 4 12 NJ series CPU Unit Motion Control User s Manual W507...
Страница 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Страница 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Страница 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Страница 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Страница 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Страница 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Страница 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Страница 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...