10-5
10 CPU Unit Functions
CJ2 CPU Unit Software User’s Manual
10-1 Clock Functions
10
10-1-2 Times Stored in Memory
The date and time that the PLC is turned OFF are stored in the following Auxiliary Area words. The
number of power interruptions is also stored in the following Auxiliary Area word.
The total amount of time that the PLC has been ON is stored in the following Auxiliary Area word.
These Auxiliary Area words store the date and time that data was written to the user programs or
parameters (i.e., PLC Setup, I/O tables, routing tables, or CPU Bus Unit Setups).
Power Interruption Time
Name Address Description
Power Interrup-
tion Time
A512 and
A513
Contain the time (in BCD) at which the power was interrupted. The contents are
updated every time that the power is interrupted.
A512.00 to A512.07: Seconds (00 to 59)
A512.08 to A512.15: Minutes (00 to 59)
A513.00 to A513.07: Hour (00 to 23)
A513.08 to A513.15: Day of month (01 to 31)
Number of
Power Interrup-
tions
A514 Contains the number of times (in binary) that power has been interrupted since
the power was first turned ON. To reset this value, overwrite the current value
with 0000.
Total Power ON Time
Name Address Description
To t a l Po w e r O N
Time
A523 Contains the total time (in 16-bit binary) that the PLC has been ON in 10-hour
increments. To reset this value, overwrite the current value with 0000 hex.
User Program and Parameter Revision Times
Name Address Description
User Program
Date
A090 to
A093
These words contain in BCD the date and time that the user program was last
overwritten.
A090.00 to A090.07: Seconds (00 to 59)
A090.08 to A090.15: Minutes (00 to 59)
A091.00 to A091.07: Hour (00 to 23)
A091.08 to A091.15: Day of month (01 to 31)
A092.00 to A092.07: Month (01 to 12)
A092.08 to A092.15: Year (00 to 99)
A093.00 to A093.07: Day of the week (00 to 06)
00: Sunday, 01: Monday, 02: Tuesday, 03: Wednesday, 04: Thursday, 05: Friday,
06: Saturday
Parameter Date A094 to
A097
These words contain in BCD the date and time that the parameters were last
overwritten.
A094.00 to A094.07: Seconds (00 to 59)
A094.08 to A094.15: Minutes (00 to 59)
A095.00 to A095.07: Hour (00 to 23)
A095.08 to A095.15: Day of month (01 to 31)
A096.00 to A096.07: Month (01 to 12)
A096.08 to A096.15: Year (00 to 99)
A097.00 to A097.07: Day of the week (00 to 06)
00: Sunday, 01: Monday, 02: Tuesday, 03: Wednesday, 04: Thursday, 05: Friday,
06: Saturday