Appendix C
Memory Areas
581
Word(s)
Page
Function
Bit(s)
AR 21
(Note 2)
00 to 07
Day of the Week
3
(00 to 06, BCD)
00: Sunday
01: Monday
02: Tuesday
03: Wednesday
04: Thursday
05: Friday
06: Saturday
163
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.
163
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
Words
Bits
Function
IR area
1
Input area
IR 000 to IR 007
(8 words)
IR 00000 to IR 00715
(128 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
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 as storage space for flags
and function set values/present values for
SRM1 operation. Refer to
SR Area
.
TR area
---
TR 0 to TR 7
(8 bits)
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.
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.
Содержание 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 ...