Srm1 Memory Area Functions - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

SRM1 Memory Area Functions

3-2-9
DM Area
Error Log
PC Setup
3-3
SRM1 Memory Area Functions
3-3-1
Memory Area Structure
Data area
1
Input area
IR 000 to IR 009
IR area
(10 words)
Output area
IR 010 to IR 019
(10 words)
Work area
IR 200 to IR 239
(40 words)
SR area
SR 240 to SR 255
(16 words)
TR area
---
2
HR 00 to HR 19
HR area
(20 words)
2
AR 00 to AR 15
AR area
(16 words)
1
LR 00 to LR 15
LR area
(16 words)
DM area data is accessed in word units only. The contents of the DM area are
retained even after the CPM1/CPM1A power supply has been turned off or
when operation begins or stops.
DM words DM 0000 through DM 0999, DM 1022, and DM 1023 can be used
freely in the program; other DM words are allocated specific functions,
described below.
DM 1000 through DM 1021 contain the error log information. Refer to SEC-
TION 8 Troubleshooting for details on the error log.
DM 6600 through DM 6655 contain the PC Setup. Refer to 1-5 CQM1 Inter-
rupt Functions for details.
The following memory areas can be used with the SRM1.
Words
Bits
IR 00000 to IR 00915
(160 bits)
IR 01000 to IR 01915
(160 bits)
IR 20000 to IR 23915
(640 bits)
SR 24000 to SR 25507
(248 bits)
TR 0 to TR 7
(8 bits)
HR 0000 to HR 1915
(320 bits)
AR 0000 to AR 1515
(256 bits)
LR 0000 to LR 1515
(256 bits)
Function
These bits can be 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
Any I/O bits not used for I/O can be used as
work bits.
Work bits can be freely used within the pro-
gram. IR 232 to IR 239 however, cannot be
used as the the MACRO input area for the
MACRO instruction.
These bits serve as storage space for flags
and function set values/present values for
SRM1 operation. Refer to SR Area.
When a complicated ladder diagram cannot
be recorded as a mnemonic these bits are
used to temporarily store ON/OFF status at
program branches. These temporary bits
cannot be used within the same block but if
the blocks are different several may be used.
The ON/OFF status of these bits cannot be
monitored using the monitoring function of a
peripheral device.
These bits store data and retain their ON/
OFF status when power is turned off, or
operation starts or stops. They are used in
the same way as work bits.
These bits serve specific functions such as
flags and control bits. AR 04 to 07 are used
as slaves. Refer to AR Area.
Used for a 1:1 data link with another SRM1,
CQM1 or C200HS PC.
Section 3-3
145

Advertisement

Table of Contents
loading

Table of Contents