Jregisters in functions – Yaskawa MP930 User Manual
Page 94

3.6 Registers
3 -35
J
Registers in Functions
The 11 types of register shown in Table 3.16 can be used in functions.
Table 3.16 Types of Function Register
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 XB0000F
Integer input: XW00001 to XW00016
Double 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 input: YB000000 to YB0000F
Integer input: YW00001 to XW00016
Double integer input: YL00001 to YL00015
Register number nnnnn is expressed as a decimal
number.
Z
Internal function
registers
ZB, ZW, ZL,
ZFnnnnn
ZW0000 to
ZW00063
Internal registers unique to each function. Can be
used in the function for internal processes. Register
number nnnnn is expressed as a decimal number.
A
External function
registers
AB, AW, AL,
AFnnnnn
AW0000 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 ex-
pressed as a decimal number.
#
# registers
#B, #W, #L,
#Fnnnnn
(Annnnn)
#W00000 to
#W16383
Registers that can only be referenced by a function.
Can be used only by the corresponding function.
The actual range used is specified by the user on the
CP-717. 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 function.
Can be used only by the corresponding function.
The actual range used is specified by the user on the
CP-717. Register number nnnnn is expressed as a
decimal number.
3