Registers; Types Of Registers - YASKAWA MP210 Series User Manual

Machine controller
Table of Contents

Advertisement

5.3 Registers

This section explains the types of registers used in MP2100/MP2100M user programs (mainly ladder programs)
and how to use them.

5.3.1 Types of Registers

(1) DWG Registers
DWG Registers are used by ladder programs (ladder drawings; DWG). Each drawing can use the registers out-
lined in the following table.
Type
Name
System
S
registers
M
Data registers
I
Input registers
Output
O
registers
Constants
C
registers
#
# registers
D*
D registers
* Up to 32 D registers (32 words, DW0000 to DW0031) can be used when creating drawings, but this can be
changed in the MPE720 Drawings Properties window.
For details, refer to the Machine Controller MP900/MP2000 Series MPE720 Software for Programming Device
User's Manual (Manual No.: SIEP C880700 05).
Note: 1. n: Decimal number; h: Hexadecimal number
2. B, W, L, F, and A: Data type (B: Bit, W: Integer, L: Double-length integer, F: Real number, A: Address.)
For details, refer to 5.3.2 Data Types and Register Specifications.
S and M register data has a battery backup to ensure the data is held even if the MP2100/MP2100M power is
IMPORTANT
turned OFF and ON. When data is to be held even when the power is turned OFF and back ON, Yaskawa rec-
ommends using the battery backup function to write the data to the M registers.
Specification
Range
Method
SB, SW, SL, SFnnnnn
SW00000 to
(SAnnnnn)
SW08191
MB, MW, ML,
MW00000 to
MFnnnnn
MW65534
(MAnnnnn)
IB, IW, IL, IFhhhh
IW0000 to
(IAhhhh)
IW7FFF
OB, OW, OL,
OW0000 to
OFhhhh (OAhhhh)
OW7FFF
CB, CW, CL,
CW00000 to
CFnnnnn (CAnnnnn)
CW16383
#B, #W, #L, #Fnnnnn
#W00000 to
(#Annnnn)
#W16383
DB, DW, DL,
DW00000 to
DFnnnnn
DW16383
(DAnnnnn)
Details
Registers provided by the system.
SW00000 to SW00049 are cleared to all
zeros when the system starts.
Registers shared by all drawings. Used,
e.g., as an interface between drawings.
Registers used for input data.
Registers used for output data.
Registers that can only be called from
programs.
Call-only registers Can be called only by
corresponding drawing. The usage range
is set by the user using MPE720.
Internal registers unique to each draw-
ing. Can be used only by corresponding
drawing. The usage range is set by the
user using MPE720.
5.3 Registers
Characteris-
tics
Common to
all drawings
Unique to
each drawing
5
5-23

Advertisement

Table of Contents
loading

Table of Contents