Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 589

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Memory Areas
Word(s)
Bit(s)
AR 14
00 to 15
Maximum Cycle Time (4 digits BCD) (See note 1.)
The longest cycle time since the beginning of operation is stored. It is cleared at the
beginning, and not at the end, of operation.
The units can be any of the following, depending on the setting of in DM 6618.
Default: 0.1 ms; "10 ms" setting: 0.1 ms; "100 ms" setting: 1 ms; "1 s" setting: 10 ms
AR 15
00 to 15
Current Cycle Time (4 digits BCD) (See note 1.)
The most recent cycle time during operation is stored. The Current Cycle Time is not
cleared when operation stops.
The units can be any of the following, depending on the setting of in DM 6618.
Default: 0.1 ms; "10 ms" setting: 0.1 ms; "100 ms" setting: 1 ms; "1 s" setting: 10 ms
Note 1. The units will be as follows, depending on the unit setting for the cycle monitor time (DM 6618):
Initial status:
When 10-ms unit is set:
When 100-ms unit is set:
When 1-s unit is set:
2. Areas that cannot be used are cleared when the power is turned on.
3. The contents of AR 10 is backed up by the built-in capacitor. If power is left OFF for longer than the back-
up time, however, the contents may be cleared. For details regarding the backup time, refer to the
CPM1A or CPM1 Operation Manual.
CPM2A/CPM2C Memory Areas
Memory Area Structure
The following memory areas can be used with the CPM2A/CPM2C. Refer to the CPM2C-S Operation Manual
(W377) for information on CPM2C-S memory areas.
Data area
1
IR area
Input area
Output area
Work area
SR area
TR area
2
HR area
2
AR area
1
LR area
2
Timer/Counter area
2
DM area Read/write
2
Error log
4
Read-only
4
PC Setup
574
0.1-ms unit
0.1-ms unit
1-ms unit
10-ms unit
Words
IR 000 to IR 009
IR 00000 to IR 00915
(10 words)
(160 bits)
IR 010 to IR 019
IR 01000 to IR 01915
(10 words)
(160 bits)
IR 020 to IR 049
IR 02000 to IR 04915
IR 200 to IR 227
IR 20000 to IR 22715
(58 words)
(928 bits)
SR 228 to SR 255
SR 22800 to SR 25515
(28 words)
(448 bits)
---
TR 0 to TR 7
(8 bits)
HR 00 to HR 19
HR 0000 to HR 1915
(20 words)
(320 bits)
AR 00 to AR 23
AR 0000 to AR 2315
(24 words)
(384 bits)
LR 00 to LR 15
LR 0000 to LR 1515
(16 words)
(256 bits)
TC 000 to TC 255 (timer/counter numbers)
DM 0000 to DM 1999
---
DM 2022 to DM 2047
(2,026 words)
DM 2000 to DM 2021
---
(22 words)
DM 6144 to DM 6599
---
(456 words)
DM 6600 to DM 6655
---
(56 words)
Function
Bits
These bits can be allocated to the external
I/O terminals.
/O e
a s
Work bits can be freely used within the pro-
gram.
These bits serve specific functions such as
flags and control bits.
These bits are used to temporarily store
ON/OFF status at program branches.
These bits store data and retain their ON/
OFF status when power is turned off.
These bits serve specific functions such as
flags and control bits.
Used for a 1:1 data link with another PC.
3
The same numbers are used for both timers
and counters.
DM area data can be accessed in word
units only. Word values are retained when
the power is turned off.
Used to store the error code of errors that
occur. These words can be used as ordi-
nary read/write DM when the error log func-
tion isn't being used.
Cannot be overwritten from program.
Used to store various parameters that con-
trol PC operation.
Appendix C
Page
537
Function

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents