
290
Startup Settings and Maintenance
Section 6-6
Note The CS-series CS1 CPU Units are shipped without the backup battery
installed, and the CPU Unit’s internal clock will be read 00/01/01 00:00:00 or
possibly another value when the battery is connected. To use the clock func-
tions, connect the battery, turn the power ON, and set the time and date with a
Programming Device (Programming Console or CX-Programmer) or the FINS
command (07 02, CLOCK WRITE). The CPU Unit’s internal clock will begin
operating once it has been set.
Auxiliary Area Flags and Words
Related Instructions
6-6-7
Program Protection
The CS/CJ-series user program can be write-protected and completely pro-
tected (read/write protection).
Write-protection Using the DIP Switch
The user program can be write-protected by turning ON pin 1 of the CPU
Unit’s DIP switch. When this pin is ON, it won’t be possible to change the user
program from a Programming Device (including Programming Consoles).
This function can prevent the program from being overwritten inadvertently at
the work site.
It is still possible to read and display the program when it is write-protected.
Name
Addresses
Function
Clock data
A35100 to A35107 Second: 00 to 59 (BCD)
A35108 to A35115
Minute: 00 to 59 (BCD)
A35200 to A35207 Hour: 00 to 23 (BCD)
A35208 to A35215 Day of the month: 00 to 31 (BCD)
A35300 to A35307 Month: 00 to 12 (BCD)
A35308 to A35315 Year: 00 to 99 (BCD)
A35400 to A35407 Day of the week:
00: Sunday, 01: Monday,
02: Tuesday, 03: Wednesday,
04: Thursday, 05: Friday, 06: Saturday
Start-up Time
A510 and A511
Contain the time at which the power
was turned on.
Power Interruption
Time
A512 and A513
Contain the time at which the power
was last interrupted.
Total Power ON Time
A523
Contains the total time (in binary) that
the PLC has been on in 10-hour units.
Instruction
Name
Function
SEC(065)
HOURS TO SEC-
ONDS
Converts time data in hours/minutes/seconds
format to an equivalent time in seconds only.
HMS(066)
SECONDS TO
HOURS
Converts seconds data to an equivalent time in
hours/minutes/seconds format.
CADD(730)
CALENDAR ADD
Adds time to the calendar data in the specified
words.
CSUB(731)
CALENDAR SUB-
TRACT
Subtracts time from the calendar data in the
specified words.
DATE(735)
CLOCK ADJUST-
MENT
Changes the internal clock setting to the setting
in the specified source words.
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...