Registers in functions – Yaskawa MP940 User Manual
Page 86

3.6 Registers
3-39
3
Registers in Functions
The 11 types of register shown in the following table can be used in functions.
Table 3.14 Types of Function Register
Type
Name
Designation Method
Range
Description
Characteristic
X
Function input regis-
ters
XB, XW, XL, XFnnnnn XW00000 to
XW00016
Input to a function.
Bit input: XB000000 to XB00000F
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 regis-
ters
YB, YW, YL, YFnnnnn YW00000 to
YW00016
Output from a function.
Bit input: YB000000 to YB00000F
Integer input: YW00001 to YW00016
Double integer input: YL00001 to 
YL00015
Register number nnnnn is expressed as a 
decimal number.
Z
Internal function reg-
isters
ZB, ZW, ZL, ZFnnnnn
ZW0000 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 reg-
isters
AB, AW, AL, AFhhhh
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 
expressed as a decimal number.
#
# registers
#B, #W, #L, #Fnnnnn 
(Annnnn)
#W00000 to 
#W16383
Registers that can only be called 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 num-
ber.
D
D registers
DB, DW, DL, DFnnnnn 
(DAnnnnn)
DW00000 to 
DW16383
Internal registers unique to each func-
tion.
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 num-
ber.
