6.4 Registers
6-21
6
6.4 Registers
This section explains the types of register used by MP2100/MP2100M user programs (mainly ladder programs)
and how these registers are used.
6.4.1 Types of Register
(1) Registers in Drawings
The registers shown in the following table can be used in all drawings.
Type
Name
Designation Method
Range
Description
Charac-
teristic
S
System
registers
SB, SW, SL, SFnnnnn
(SAnnnnn)
SW00000 to
SW08191
System registers provided by the system.
Register number nnnnn is expressed as a
decimal number. When the system is
started, SW00000 to SW00049 are
cleared to 0.
Common
to all
drawings
M
Data registers
MB, MW, ML, MFnnnnn
(MAnnnnn)
MW00000 to
MW65534
Data registers are shared by all drawings.
Used as interfaces between drawings.
Register number nnnnn is expressed as a
decimal number.
I
Input registers
IB, IW, IL, IFhhhh
(IAhhhh)
IW0000 to
IW13FF
Registers used for input data.
Register number hhhh is expressed as a
hexadecimal number.
O
Output
registers
OB, OW, OL, OFhhhh
(OAhhhh)
OW0000 to
OW13FF
Registers used for output data.
Register number hhhh is expressed as a
hexadecimal number.
C
Constant
registers
CB, CW, CL, CFnnnnn
(CAnnnnn)
CW00000 to
CW16383
Constant registers can be read only in the
program. Register number nnnnn is
expressed as a decimal number.
#
# registers
#B, #W, #L, #Fnnnnn
(#Annnnn)
#W00000 to
#W16383
# registers can be read only in the corre-
sponding drawing. The actual range used
is specified by the user on the MPE720.
Register number nnnnn is expressed as a
decimal number.
Unique to
each
drawing
D
D registers
DB, DW, DL, DFnnnnn
(DAnnnnn)
DW00000 to
DW16383
D registers are unique to each drawing
and can be used only in the correspond-
ing drawing. The actual range used is
specified by the user on the MPE720.
Register number nnnnn is expressed as a
decimal number.