6-17
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-2 System f
or System-de
fined
V
a
riab
les f
o
r Motion
Control
z
Derivative Data Types
Refer to the
NJ-series CPU Unit Software User's Manual
(Cat. No. W501) for details on the other
data types that are used by an NJ-series Controller.
The attributes that are shown in the following table are the same for all system-defined variables for
motion control.
* Variables are published on the network with the variable names of the system-defined variables. The variable
names that are created when the axes or axes groups are created on the Sysmac Studio are not published to the
network.
System-defined variables for motion control consist of information representing the status of the MC
Function Module, status information for slave devices connected via EtherCAT communications, and
the portion of the MC parameter settings used to perform motion control.
You can access system-defined variables for motion control as variables in the user program and
monitor them from the Sysmac Studio.
System-defined variables for motion control are updated every primary period.
Type
Description
Enumerated data types
This data type uses one item from a prepared name list as
its value. Variables with this data type start with “_e.”
Structure data type
This data type consists of multiple data types placed
together into a single layered structure. Variables with this
data type start with “_s.”
Attributes of System-defined Variables for Motion Control
Attribute
Attribute of system-defined variables for motion control
Global/Local
Global variable
R/W access
Read only
Retain
Non-retain
Network Publish
Publish*
6-6-2
System for System-defined Variables for Motion Control
CPU Unit
Sysmac Studio
ID211
0
1
3
2
4
5
7
6
8
9
11
10
12
13
14
15
DC24V
7mA
COM
MACH
No.
AD042
RUN
ERC
ERH
B1
A1
x101
x100
0
9
8
7
6
5
4 3 2
1
0
9
8
7
6
5
4 3 2
1
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Monitor display
MC Common Variable
Axis Variables
Axes Group Variables
Accessed.
Servo Drive
Main memory
MC Function
Module processing
Data movement instructions
User program
Status
EtherCAT
communi-
cations
System-defined
variables for
motion control
Содержание 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...