330
Startup Settings and Maintenance Section 6-6
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.
Note For CS/CJ-series CPU Units Ver. 2.0 or later, the above DIP switch setting can
be used or, if CX-Programmer version 4.0 or higher is used, program read/
write-protection can set as an option when a password is set for the entire
program or for one or more tasks. For details, refer to Enabling/Disabling Cre-
ating File Memory Program Files under 1-4-2 Improved Read Protection
Using Passwords in the CS Series PLC Operation Manual or the CJ Series
PLC Operation Manual.
Read/Write-protection Using Passwords
Both read and write access to the user program area can be blocked from the
CX-Programmer. Either the entire area or individual tasks can be protected.
Protecting the program will prevent unauthorized copying of the program and
loss of intellectual property. A password is set for program protection from a
Programming Device (e.g., CX-Programmer) and access is prevented to the
whole program.
When using CX-Programmer version 6.1 or higher, you can prohibit the dis-
play or editing of selected function block (FB) definitions.
Note 1. If you forget the password, the program within the PLC cannot be trans-
ferred to the computer. Make a note of the password, and store it in a safe
place.
2. If you forget the password, programs cannot be transferred from the com-
puter to the PLC. Programs can be transferred from the computer to the
PLC even if the password protection has not been released.
Password Protection
1,2,3... 1. Register a password either online or offline as follows:
a) Select the PLC and select Properties from the View Menu.
b) Select Protection from the PLC Properties Dialog Box and input the
password.
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.