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

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

Advertisement

Memory Areas
Word(s)
Bit(s)
AR 21
00 to 07
Day of the Week
00: Sunday
(Note 2)
04: Thursday
08 to 12
Not used.
13
30-second Compensation Bit
Turn this bit ON to round off to the nearest minute. When the seconds are 00 to 29, the
seconds are cleared to 00 and the rest of the time setting is left unchanged. When the
seconds are 30 to 59, the seconds are cleared to 00 and the time is incremented by
one minute.
14
Clock Stop Bit
Turn this bit ON to stop the clock. The time/date can be overwritten while this bit is ON.
15
Clock Set Bit
To change the time/date, turn ON AR 2114, write the new time/date (being sure to leave
AR 2114 ON), and then turn this bit ON to enable a new time/date setting. The clock
will restart and both AR 2114 and AR 2115 will be turned OFF automatically.
AR 22
00 to 15
Not used.
AR 23
00 to 15
Power-off Counter (4 digits BCD)
This is the count of the number of times that the power has been turned off.
To clear the count, write "0000" from a Programming Device.
Note 1. The same data can be read immediately with PRV(62).
2. The time and date can be set while AR 2114 is ON. The new setting becomes effective when AR 2115 is
turned ON. (AR 2114 and AR 2115 are turned OFF automatically when the new setting goes into effect.)
These words will contain 0000 in CPM2C CPU Units that are not equipped with the clock function.
3. The units for the maximum and current cycle times are determined by the setting in bits 08 to 15 of
DM 6618. A setting of 00 specifies 0.1-ms units, 01 specifies 0.1-ms units, 02 specifies 1-ms units, and
03 specifies 10-ms units.
SRM1 Memory Areas
Memory Area Structure
The following memory areas can be used with the SRM1.
Data area
1
IR area
Input area
Output area
Work area
SR area
TR area
2
HR area
3
(00 to 06, BCD)
01: Monday
05: Friday
Words
IR 000 to IR 007
IR 00000 to IR 00715
(8 words)
(128 bits)
IR 010 to IR 017
IR 01000 to IR 01715
(8 words)
(128 bits)
IR 008 to IR 009
IR 00800 to IR 00915
IR 018 to IR 019
IR 01800 to IR 01915
IR 200 to IR 239
IR 20000 to IR 23915
(44 words)
(704 bits)
SR 240 to SR 255
SR 24000 to SR 25507
(16 words)
(248 bits)
---
TR 0 to TR 7
(8 bits)
HR 00 to HR 19
HR 0000 to HR 1915
(20 words)
(320 bits)
Function
02: Tuesday
03: Wednesday
06: Saturday
Bits
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
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 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.
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 can-
not be monitored using the monitoring func-
tion of a Programming Device.
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.
Appendix C
Page
163
163
---
Function
581

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents