EasyManua.ls Logo

YASKAWA MP3000 Series - Page 177

YASKAWA MP3000 Series
326 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4.1 User Program Types and Execution Timing
4.1.5 Registers
4-44
Local Registers
Local registers are valid within only one specific program. The local registers in other programs
cannot be accessed.
You specify the usable range from the MPE720.
Note: n: decimal digit, h: hexadecimal digit
Typ e Name
Designation
Methods
Description Features
# # registers
#Bnnnnnh,
#Wnnnnn,
#Lnnnnn,
#Qnnnnn,
#Fnnnnn,
#Dnnnnn,
#Annnnn
These registers can be read in programs but they
cannot be written.
The values are set from the MPE720.
Pro-
gram-
specific
D D registers
DBnnnnnh,
DWnnnnn,
DLnnnnn,
DQnnnnn,
DFnnnnn,
DDnnnnn,
DAnnnnn
These registers can be used for general purposes
within a program.
By default, 32 words are reserved for each pro-
gram.
The default value after startup depends on the set-
ting of the D Register Clear when Start option.
Refer to the following section for details.
Setting the D Register Clear When Start Option
(page 4-46)
X
Function input
registers
XBnnnnnh,
XWnnnnn,
XLnnnnn,
XQnnnnn,
XFnnnnn,
XDnnnnn
These registers are used for inputs to functions.
Bit inputs: XB000000 to XB00000F
Integer inputs: XW00001 to XW00016
Double-length integers: XL00001 to XL00015
Quadruple-length integers: XQ00001 to
XQ00013
Real numbers: XF00001 to XF00015
Double-precision real numbers: XD00001 to
XD00013
Function
-specific
Y
Function output
registers
YBnnnnnh,
YWnnnnn,
YLnnnnn,
YQnnnnn,
YFnnnnn,
YDnnnnn
These registers are used for outputs from func-
tions.
Bit outputs: YB000000 to YB00000F
Integer outputs: YW00001 to YW00016
Double-length integers: YL00001 to YL00015
Quadruple-length integers: YQ00001 to
YQ00013
Real numbers: YF00001 to YF00015
Double-precision real numbers: YD00001 to
YD00013
Z
Function internal
registers
ZBnnnnnh,
ZWnnnnn,
ZLnnnnn,
ZQnnnnn,
ZFnnnnn,
ZDnnnnn
These are internal registers that are unique within
each function. You can use them for internal pro-
cessing in functions.
Bits: ZB000000 to ZB00063F
Integers: ZW00000 to ZW00063
Double-length integers: ZL00000 to ZL00062
Quadruple-length integers: ZQ00000 to
ZQ00060
Real numbers: ZF00000 to ZF00062
Double-precision real numbers: ZD00000 to
ZD00060
A
Function external
registers
ABnnnnnh,
AWnnnnn,
ALnnnnn,
AQnnnnn,
AFnnnnn,
ADnnnnn
These are external registers that use the address
input value as the base address.
When the address input value of an M or D register
is provided by the source of the function call, then
the registers of the source of the function call can
be accessed from inside the function by using that
address as the base.

Table of Contents

Other manuals for YASKAWA MP3000 Series

Related product manuals