Lr Area - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

LR Area

Words Containing the
Date and Time
Setting the Time
1,2,3...
3-7

LR Area

One-to-one Data Link
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.)
15
AR 17
Hour
AR 18
Minute
AR 19
Date
AR 20
Year
AR 21
AR 2115 Clock Set Bit
AR 2114 Clock Stop Bit
AR 2113 30-Second Adjustment Bit
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. 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.
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.
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.
8 7
0
Minute
2 digits BCD each.
Second
(Only the last 2 digits of the
Hour
year are displayed.)
Month
Day of week
00 to 06: Sunday to Saturday
Section 3-7
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents