6 Basic System Operation
6.4.1 Types of Register
6-22
(2) Registers in Functions
The types of register shown in the following table can be used in functions.
Note: SA, MA, IA, OA, DA, #A, and CA can also be used in the program.
Type
Name
Designation Method
Range
Description
Charac-
teristic
X
Function input
registers
XB, XW, XL, XFnnnnn XW00000 to
XW00016
Input to a function.
Bit input: XB000000 to XB00000F
Integer input: XW00001 to
XW00016
Double-length integer input:
XL00001 to
XL00015
Register number nnnnn is expressed
as a decimal number.
Unique to
each
function
Y
Function output
registers
YB, YW, YL, YFnnnnn YW00000 to
YW00016
Output from a function.
Bit output: YB000000 to YB00000F
Integer output: YW00001 to
YW00016
Double-length integer output:
YL00001 to YL00015
Register number nnnnn is expressed
as a decimal number.
Z
Internal function
registers
ZB, ZW, ZL, ZFnnnnn
ZW00000 to
ZW00063
Internal registers unique to each func-
tion. Can be used in the function for
internal processes. Register number
nnnnn is expressed as a decimal num-
ber.
A
External function
registers
AB, AW, AL, AFnnnnn AW00000 to
AW32767
External registers that use the address
input value as the base address. For
linking with S, M, I, O, #, and
DAnnnnn registers. Register number
nnnnn is expressed as a decimal num-
ber.
#
# registers
#B, #W, #L, #Fnnnnn
(#Annnnn)
#W00000 to
#W16383
Registers that can only be read by a
function. Can be used only by the
corresponding function. The actual
range used is specified by the user on
the MPE720. Register number nnnnn
is expressed as a decimal number.
D
D registers
DB, DW, DL, DFnnnnn
(DAnnnnn)
DW00000 to
DW16383
Internal registers unique to each func-
tion. Can be used only by the corre-
sponding function. The actual range
used is specified by the user on the
MPE720. Register number nnnnn is
expressed as a decimal number.
S
System registers
SB, SW,SL, SFnnnnn
(SAnnnnn)
Same as the registers for drawings.
These registers can be called from any drawings or function. Use
them carefully when the same function is called from drawings
with different priority levels.
M
Data registers
MB, MW, ML,
MFnnnnn
(MAnnnnn)
I
Input registers
IB, IW, IL, IFhhhh
(IAhhhh)
O
Output registers
OB, OW, OL, OFhhhh
(OAhhhh)
C
Constant registers
CB, CW, CL, CFnnnnn
(CAnnnnn)