TECHNICAL NOTE
MOTION APPLICATION ENGINEERING GROUP
Yaskawa Electric America - 2121 Norman Drive South – Waukegan IL 60085
(800) YASKAWA - Fax (847) 887-7280
11/23/2005 23 of 23 eng/05.055/MCD
D registers for working memory
Global memory should be reserved only for data that is used by multiple drawings (or additional
components such as an HMI). Data only used by one drawing should be kept in the D registers
of the specific drawing to minimize global memory usage.
The MP controller has seven types of memory. Proper allocation of this memory will greatly
simplify programming, debugging, maintenance, and transferability of a given project. Memory
can be allocated automatically or manually. A brief explanation of memory types and their usage
will assist the user in determining the proper allocation method to use. Below are the types of
memory available; followed by the abbreviation used in parenthesis, physical size, and a brief
description of their usage.
1) Global memory registers
a. Data (M) 64k
“M” registers are shared by all drawings. Used as interfaces between drawings.
Register number nnnnn is expressed as a decimal number.
b. System (S) 8k
“S” registers provided by the system. Register number nnnnn is expressed as a
decimal number. When the system is started, SW00000 to SW00049 are cleared
to 0
c. Inputs (I) (Physical/Motion) 64k
“I” registers used for input data. Register number hhhh is expressed as a
hexadecimal number.
d. Outputs (O) (Physical/Motion) 64k
“O” registers used for output data. Register number hhhh is expressed as a
hexadecimal number.
e. Constants (C) 16k
“C” registers can be read only in the program. Register number nnnnn is
expressed as a decimal number.
2) Local (Drawing Specific)
a. General purpose (D) up to 16k
D registers are unique to each drawing and can be used only in the
corresponding drawing. The user of the MPE720 specifies the actual range used.
Register number nnnnn is expressed as a decimal number.
b. Constants (#) up to 16k
“#” registers can be read only in the corresponding drawing. The user of the
MPE720 specifies the actual range used. Register number nnnnn is expressed
as a decimal number.