7.1 User Program Types and Execution Timing
7.1.5 Registers
7-26
7.1.5
Registers
Registers are areas that store data within the SERVOPACK. Variables are registers with labels
(variable names).
There are two kinds of registers: global registers that are shared between all programs, and
local registers that are used only by a specific program.
Global Registers
Global registers are shared by ladder programs, user functions, motion programs, and
sequence programs. Memory space for global registers is reserved by the system for each reg-
ister type.
Local Registers
Local registers can be used within each specific drawing. These registers cannot be shared by
other drawings. Local registers are stored in the program memory for each drawing.
Ladder Program Conceptual Diagram
Ladder
program
s
U
s
er function
s
Motion
program
s
/
s
equence
program
s
Global regi
s
ter
s
S
regi
s
ter
s
65,5
3
5 word
s
M regi
s
ter
s
1,048,576 word
s
G regi
s
ter
s
2,097,152 word
s
I regi
s
ter
s
65,5
3
6 word
s
Input data
+
Monitor parameter
s
O regi
s
ter
s
65,5
3
6 word
s
Output data
+
S
etting parameter
s
C regi
s
ter
s
16,
3
84 word
s
H01
U
s
er function
FUNC01
U
s
er function
FUNC02
H
The
s
e regi
s
ter
s
cannot be
s
hared between different drawing
s
.
The
s
e regi
s
ter
s
cannot be
s
hared between different drawing
s
.
D regi
s
ter
s
# regi
s
ter
s
Z regi
s
ter
s
Y regi
s
ter
s
X regi
s
ter
s
D regi
s
ter
s
# regi
s
ter
s
Z regi
s
ter
s
Y regi
s
ter
s
X regi
s
ter
s
D regi
s
ter
s
# regi
s
ter
s
Child drawing
D regi
s
ter
s
# regi
s
ter
s
Parent drawing