394
Clock
Section 6-9
Auxiliary Area Flags and Words
Time-related Instructions
Name
Addresses
Contents
Start-up Time
A510 and
A511
The time at which the power was
turned ON (year, month, day of month,
hour, minutes, and seconds).
Power Interruption Time
A512 and
A513
The time at which the power was last
interrupted (year, month, day of month,
hour, minutes, and seconds).
Power ON Clock Data 1
A720 to A722
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.
Power ON Clock Data 2
A723 to A725
Power ON Clock Data 3
A726 to A728
Power ON Clock Data 4
A729 to A731
Power ON Clock Data 5
A732 to A734
Power ON Clock Data 6
A735 to A737
Power ON Clock Data 7
A738 to A740
Power ON Clock Data 8
A741 to A743
Power ON Clock Data 9
A744 to A746
Power ON Clock Data 10
A747 to A749
Operation Start Time
A515 to A517
The time that operation started (year,
month, day of month, hour, minutes,
and seconds).
Operation End Time
A518 to A520
The time that operation stopped (year,
month, day of month, hour, minutes,
and seconds).
User Program Date
A90 to A93
The time when the user program was
last overwritten (year, month, day of
month, hour, minutes, and seconds).
Parameter Date
A94 to A97
The time when the parameters were
last overwritten (year, month, day of
month, hour, minutes, and seconds).
Name
Mnemonic
Function
HOURS TO SECONDS
SEC(065)
Converts time data in hours/minutes/sec-
onds format to an equivalent time in seconds
only.
SECONDS TO HOURS
HMS(066)
Converts seconds data to an equivalent time
in hours/minutes/seconds format.
CALENDAR ADD
CADD(730) Adds time to the calendar data in the speci-
fied words.
CALENDAR SUBTRACT CSUB(731) Subtracts time from the calendar data in the
specified words.
CLOCK ADJUSTMENT
DATE(735)
Changes the internal clock setting to the set-
ting in the specified source words.
Summary of Contents for CP1L - 12-2007
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 428: ...395 Clock Section 6 9...
Page 429: ...396 Clock Section 6 9...
Page 523: ...488 Troubleshooting Unit Errors Section 9 4...
Page 531: ...496 Replacing User serviceable Parts Section 10 2...
Page 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...634 Index...
Page 671: ...636 Revision History...