YASKAWA MP3000 Series Setup Manual page 177

Machine controller system
Hide thumbs Also See for MP3000 Series:
Table of Contents

Advertisement

4.1 User Program Types and Execution Timing
4.1.5 Registers
 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.
Type
#
D
X
Y
Z
A
Note: n: decimal digit, h: hexadecimal digit
4-44
Designation
Name
Methods
#Bnnnnnh,
#Wnnnnn,
#Lnnnnn,
# registers
#Qnnnnn,
#Fnnnnn,
#Dnnnnn,
#Annnnn
DBnnnnnh,
DWnnnnn,
DLnnnnn,
D registers
DQnnnnn,
DFnnnnn,
DDnnnnn,
DAnnnnn
XBnnnnnh,
XWnnnnn,
Function input
XLnnnnn,
registers
XQnnnnn,
XFnnnnn,
XDnnnnn
YBnnnnnh,
YWnnnnn,
Function output
YLnnnnn,
registers
YQnnnnn,
YFnnnnn,
YDnnnnn
ZBnnnnnh,
ZWnnnnn,
Function internal
ZLnnnnn,
registers
ZQnnnnn,
ZFnnnnn,
ZDnnnnn
ABnnnnnh,
AWnnnnn,
Function external
ALnnnnn,
registers
AQnnnnn,
AFnnnnn,
ADnnnnn
Description
These registers can be read in programs but they
cannot be written.
The values are set from the MPE720.
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)
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
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
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
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.
Features
Pro-
gram-
specific
Function
-specific

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mp3200Mp3300

Table of Contents