5-1
Section
Memory Area Functions
310
SRM1(-V2)
The following memory areas can be used with the SRM1(-V2).
Data area
Words
Bits
Function
IR area
1
Input area
IR 000 to IR 007
(8 words)
IR 00000 to IR 00715
(128 bits)
These bits are allocated to the external I/O
terminals. The ON/OFF status of the I/O
bits will be the same as the ON/OFF status
of the I/O terminals
Output area
IR 010 to IR 017
(8 words)
IR 01000 to IR 01715
(128 bits)
of the I/O terminals
(When the CompoBus/S is used in 128-bit
mode, IR 004 to IR 007 and IR 014 to
IR 017 can also be used as work bits.)
Work area
IR 008 to IR 009
IR 018 to IR 019
IR 200 to IR 239
(44 words)
IR 00800 to IR 00915
IR 01800 to IR 01915
IR 20000 to IR 23915
(704 bits)
Work bits can be freely used within the pro-
gram. IR 232 to IR 239 however, are used
as the MACRO input area when MCRO(99)
is being used.
SR area
SR 240 to SR 255
(16 words)
SR 24000 to SR 25507
(248 bits)
These bits serve specific functions such as
flags and control bits.
TR area
---
TR 0 to TR 7
(8 bits)
These bits are used to temporarily store
ON/OFF status at program branches.
HR area
2
HR 00 to HR 19
(20 words)
HR 0000 to HR 1915
(320 bits)
These bits store data and retain their ON/
OFF status when power is turned off, or op-
eration starts or stops. They are used in the
same way as work bits.
AR area
2
AR 00 to AR 15
(16 words)
AR 0000 to AR 1515
(256 bits)
These bits serve specific functions such as
flags and control bits. AR 04 to 07 are used
as slaves. Refer to
AR Area
.
LR area
1
LR 00 to LR 15
(16 words)
LR 0000 to LR 1515
(256 bits)
Used for a 1:1 PC Link with another PC.
Timer/Counter area
2
TC 000 to TC 127 (timer/counter numbers)
3
Timers and counters use the TIM,
TIMH(15), CNT and CNTR(12) instructions.
The same numbers are used for both timers
and counters.
DM area
Read/write
2
DM 0000 to DM 1999
(2,000 words)
---
DM area data can be accessed in word
units only. Word values are retained when
the power is turned off, or operation started
or stopped.
Read/write areas can be read and written
freely within the program.
Error log
DM 2000 to DM 2021
(22 words)
---
Used to store the time of occurrence and
error code of errors that occur. These words
can be used as ordinary read/write DM
when the error log function is not being
used.
Read-only
4
DM 6144 to DM 6599
(456 words)
---
Cannot be overwritten from program.
PC Setup
4
DM 6600 to DM 6655
(56 words)
---
Used to store various parameters that con-
trol PC operation.
Note
1. IR and LR bits that are not used for their allocated functions can be used as
work bits.
2. The contents of the HR area, AR area, Counter area, and read/write DM
area are backed up by a capacitor or a battery. Refer to
2-1-2 Characteristics
in the
SRM1 Master Control Unit Operation Manual
for a graph showing the
backup time vs. temperature.
3. When accessing a PV, TC numbers are used as word data; when accessing
Completion Flags, they are used as bit data.
4. Data in DM 6144 to DM 6655 cannot be overwritten from the program, but
they can be changed from a Programming Device.
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...