beautypg.com

3 types of register, Registers in drawings – Yaskawa MP940 User Manual

Page 85

background image

Basic System Operation

3.6.3 Types of Register

3-38

3.6.3 Types of Register

„

Registers in Drawings

The seven types of register shown in the following table can be used in all drawings and
motion programs.

Table 3.13 Types of Drawing Register

• The # registers cannot be used in motion programs.
• The following registers are saved in flash memory.

• M registers
• C registers
• # registers (Saved with the user program.)
• D registers (Saved with the user program.)

Type

Name

Designation Method

Range

Description

Characteristic

S

System registers

SB, SW, SL, SFnnnnn
(SAnnnnn)

SW00000 to
SW01023

System registers provided by the sys-
tem. Register number nnnnn is
expressed as a decimal number. When
the system is started, SW00000 to
SW00049 are cleared to 0.

Common to all
drawings

M

Data registers

MB, MW, ML,
MFnnnnn (MAnnnnn)

MW00000 to
MW32767

Data registers are shared by all draw-
ings. Used as interfaces between draw-
ings. Register number nnnnn is
expressed as a decimal number.

I

Input registers

IB, IW, IL, IFhhhh
(IAhhhh)

IW0000 to
IW07FF

Registers used for input data.
Register number hhhh is expressed as a
hexadecimal number.

O

Output registers

OB, OW, OL, OFhhhh
(OAhhhh)

OW0000 to
OW07FF

Registers used for output data.
Register number hhhh is expressed as a
hexadecimal number.

C

Constant registers

CB, CW, CL, CFnnnnn
(CAnnnnn)

CW00000 to
CW32767

Constant registers can be called only in
the program. Register number nnnnn is
expressed as a decimal number.

#

# registers

#B, #W, #L, #Fnnnnn
(Annnnn)

#W00000 to
#W16383

# registers can be called only in the
program and can be used only in the
corresponding drawing.
The actual range used is specified by
the user on the CP-717. Register num-
ber nnnnn is expressed as a decimal
number.

Unique to each
drawing

D

D registers

DB, DW, DL, DFnnnnn
(DAnnnnn)

DW00000 to
DW16383

D registers are unique to each drawing
and can be used only in the corre-
sponding drawing.
The actual range used is specified by
the user on the CP-717. Register num-
ber nnnnn is expressed as a decimal
number.

INFO