
4.1 User Program Types and Execution Timing
4.1.5 Registers
4-43
4
Creating User Programs
Register Types
This section describes global and local registers.
Global Registers
Global registers are shared by ladder programs, user functions, motion programs, and
sequence programs. In other words, the operation results of a ladder program can be used by
other user functions, motion programs, or sequence programs.
Note: n: decimal digit, h: hexadecimal digit
Type
Name
Designation
Methods
Usable Range
(MP3000-series
Controller)
Description
S
System registers
(S registers)
SBnnnnnh,
SWnnnnn,
SLnnnnn,
SQnnnnn,
SFnnnnn,
SDnnnnn,
SAnnnnn
SW00000 to
SW65534
These registers are prepared by the system.
They report the status of the Machine Con-
troller and other information.
The system clears the registers from
SW00000 to SW00049 to 0 at startup.
They have a battery backup.
M
Data registers
(M registers)
MBnnnnnnnh,
MWnnnnnnn,
MLnnnnnnn,
MQnnnnnnn,
MFnnnnnnn,
MDnnnnnnn,
MAnnnnnnn
MW0000000 to
MW1048575
These registers are used as interfaces
between programs.
They have a battery backup.
G
G registers
GBnnnnnnnh,
GWnnnnnnn,
GLnnnnnnn,
GQnnnnnnn,
GFnnnnnnn,
GDnnnnnnn,
GAnnnnnnn
GW0000000 to
GW2097151
These registers are used as interfaces
between programs.
They do not have a battery backup.
I
Input registers
(I registers)
IBhhhhhh,
IWhhhhh,
ILhhhhh,
IQhhhhh,
IFhhhhh,
IDhhhhh,
IAhhhhh
IW00000 to
IW07FFF,
IW10000 to
IW17FFF
These registers are used for input data.
IW08000 to
IW0FFFF
These registers store the motion monitor
parameters.
These registers are used for Motion Mod-
ules.
IW20000 to
IW21FFF
These registers are used for CPU interface
input data.
O
Output registers
(O registers)
OBhhhhhh,
OWhhhhh,
OLhhhhh,
OQhhhhh,
OFhhhhh,
ODhhhhh,
OAhhhhh
OW00000 to
OW07FFF,
OW10000 to
OW17FFF
These registers are used for output data.
OW08000 to
OW0FFFF
These store the motion setting parameters.
These registers are used for Motion Mod-
ules.
OW20000 to
OW21FFF
These registers are used for CPU interface
output data.
C
Constant regis-
ters (C registers)
CBnnnnnh,
CWnnnnn,
CLnnnnn,
CQnnnnn,
CFnnnnn,
CDnnnnn,
CAnnnnn
CW00000 to
CW16383
These registers can be read in programs but
they cannot be written.
The values are set from the MPE720.
Содержание MP3000 Series
Страница 153: ...4 1 User Program Types and Execution Timing 4 1 2 Motion Programs 4 20 Ladder Program Example...
Страница 212: ...5 4 Tuning 5 70 5 4 1 Using SigmaWin When Using a Servo 5 70 5 4 2 Using DriveWizard Plus When Using an Inverter 5 70...
Страница 274: ...5 3 Monitoring Machine Operation 5 3 3 Realtime Tracing 5 64...