386
Clock
Section 6-8
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
A090 to A093
The time when the user program was
last overwritten (year, month, day of
month, hour, minutes, and seconds).
Parameter Date
A094 to A097
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 CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...