171
LR Area
Section 3-7
Words Containing the
Date and Time
The following illustration shows the configuration of the words (AR 17 through
AR 21) that are used with the clock. These words can be read and used as
required. (AR 17 is provided so that the hour and minute can be accessed
quickly.)
Setting the Time
To set the time, use a Programming Device as follows:
Note
The time can be set easily using menu operations from a Programming
Device such as a Programming Console. Refer to the
CQM1H Operation
Manual
for the Programming Console procedure.
Setting Everything
Set the time and date with the following procedure:
1,2,3...
1.
Turn ON AR 2114 (Clock Stop Bit) to stop the clock and allow AR 18
through AR 21 to be overwritten.
2.
Using a Programming Device, set AR 18 through AR 20 (minute/second,
date/hour, and year/month) and AR 2100 through AR 2107 (day of week).
3.
Turn ON AR 2115 (Clock Set Bit) when the time set in step 2 is reached.
The clock will start operating from the time that is set, and the Clock Stop
Bit and Clock Set BIt will be turned OFF automatically.
Setting Only the Seconds
It is also possible, by using AR 2113, to simply set the seconds to “00” without
going through a complicated procedure. When AR 2113 is turned ON, the
clock time will change as follows:
If the seconds setting is from 00 to 29, the seconds will be reset to “00” and
the minute setting will remain the same.
If the seconds setting is from 30 to 59, the seconds will be reset to “00” and
the minute setting will advance by one.
When the time setting is complete, AR 2113 will turn OFF automatically.
3-7
LR Area
These bits are used to share data in a 1:1 Data Link (between the CQM1H
and another PC) or Controller Link Data Link. These two functions cannot use
the same LR bits simultaneously.
LR bits can be used as work bits when not used for a 1:1 Data Link.
One-to-one Data Link
Two CPU Units can be connected to establish a 1:1 Data Link that shares
data in the LR areas of the two PCs. A CQM1H can be linked one-to-one with
any of the following PCs: CQM1H, CQM1, C200HX/HG/HE, C200HS, CPM1,
CPM1A, CPM2A, CPM2C, or SRM1(-V2). Refer to
1-6-4 One-to-one Data
Links
for more details.
15
8
7
0
AR 18
AR 19
AR 20
AR 21
Minute
Date
Second
Hour
Year
Month
Day of week
2 digits BCD each.
(Only the last 2 digits of the
year are displayed.)
00 to 06: Sunday to Saturday
AR 2115 Clock Set Bit
AR 2114 Clock Stop Bit
AR 2113 30-Second Adjustment Bit
Hour
Minute
AR 17
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......