Clock - Omron CP1E CPU UNIT SOFTWARE User Manual

Cp1e cpu unit software
Table of Contents

Advertisement

16-2 Clock

The clock can be used only with the CP1E N/NA-type CPU Unit.
The current data is stored in the following words in the Auxiliary Area.
Name
Clock data
A351 to A354
A351.00 to A351.07
A351.08 to A351.15
A352.00 to A352.07
A352.08 to A352.15
A353.00 to A353.07
A353.08 to A353.15
A354.00 to A354.07
Additional Information
The clock cannot be used if a battery is not installed or the battery voltage is low.
Related Auxiliary Area Bits and Words
Name
Start-up Time
Power Interruption Time
Power ON Clock Data 1
Power ON Clock Data 2
Power ON Clock Data 3
Power ON Clock Data 4
Power ON Clock Data 5
Power ON Clock Data 6
Power ON Clock Data 7
Power ON Clock Data 8
Power ON Clock Data 9
Power ON Clock Data 10
Operation Start Time
Operation End Time
Time-related Instructions
Name
CALENDAR ADD
CALENDAR SUBTRACT
CLOCK ADJUSTMENT
CP1E CPU Unit Software User's Manual(W480)
Address
The seconds, minutes, hour, day of month, month, year, and day of
week are stored each cycle.
Seconds: 00 to 59 (BCD)
Minutes: 00 to 59 (BCD)
Hour: 00 to 23 (BCD)
Day of the month: 01 to 31 (BCD)
Month: 01 to 12 (BCD)
Year: 00 to 99 (BCD)
Day of the week:
00: Sunday, 01: Monday, 02: Tuesday, 03: Wednesday,
04: Thursday, 05: Friday, 06: Saturday
Address
A510 and A511
A512 and A513
A720 to A722
A723 to A725
A726 to A728
A729 to A731
A732 to A734
A735 to A737
A738 to A740
A741 to A743
A744 to A746
A747 to A749
A515 to A517
A518 to A520
Mnemonic
CADD
Adds time to the calendar data in the specified words.
CSUB
Subtracts time from the calendar data in the specified words.
DATE
Changes the internal clock setting to the setting in the speci-
fied source words.
16 Other Functions
Function
Contents
The time at which the power was turned ON
(day of month, hour, minutes, and seconds).
The time at which the power was last interrupted
(day of month, hour, minutes, and seconds).
Consecutive times at which the power was turned
ON (year, month, day of month, hour, minutes, and
seconds). The times are progressively older from
number 1 to number 10.
The time that operation started (year, month, day
of month, hour, minutes, and seconds).
The time that operation stopped (year, month, day
of month, hour, minutes, and seconds).
Function
16
16-7

Advertisement

Table of Contents
loading

Table of Contents