beautypg.com

Registers in functions – Yaskawa MP920 User's Manual Design User Manual

Page 108

background image

3 Basic System Operation

3.6.3 Types of Register

3-34

„

Registers in Functions

The 11 types of register shown in Table 3.15 can be used in functions.

Note: SA, MA, IA, OA, DA, #A, and CA registers can be also used inside functions.

Table 3.15 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
Long 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 YW00016
Long 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
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 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 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.

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 referenced from draw-
ings 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)