Converting Programs Between Plc Types; Applying A Password To The Plc Programs - Omron CX-PROGRAMMER V9 Operation Manual

Table of Contents

Advertisement

OMRON
If an operand is linked to a symbol in the global symbol table, this link may be overridden by creating a new
symbol in the local symbol table with either the same name or the same address. The operand will then be linked
to the local symbol.

Converting Programs between PLC Types

It is possible to automatically convert a program written for one type of PLC into another. CX-Programmer
attempts to change addresses and mnemonic instructions from the source PLC type to equivalent addresses and
instructions on the new type of PLC.
Use the following procedure to convert program to PLC types.
1, 2, 3...
CX-Programmer's program conversion process is not capable of making all program adjustments automatically.
If an instruction from the old PLC does not have a direct equivalent in the new PLC then CX-Programmer
produces a warning that the conversion is not available. In addition, some addresses cannot be converted.
Note:
As a general rule, it is easier to convert upwards from C-series PLCs to CV-series PLCs to CS/CJ/CP-series
PLCs.

Applying a Password to the PLC Programs

It is possible to apply protection to a PLC or the program(s) it contains. This protection stops CX-Programmer
from uploading or comparing a program, and so provides commercial copyright security. It also stops unwanted
editing of guarded programs.
The protection that is provided, and the mechanism for protection, depends upon the series of the PLC.
Functions for CS/CJ-series CPU Unit Ver. 2.0 or Later, or CP-series CPU Unit with CX-
Programmer Ver. 4.0 or Later
Note:
Password protection (reading/editing prohibited) can be set for a single user-set task or multiple tasks
(programs). This function provides security and prevents the loss of intellectual property for specific tasks
(programs).
When a password is registered for the whole user program or individual tasks, the following optional settings
can also be selected at the same time.
(a)
Allow/prohibit creation (backup) of the program file (.OBJ). This function prevents copying of user
programs to Memory Cards.
(b)
Allow/prohibit program overwriting. Set the option in the PLC properties. This function uses a password
to prohibit overwriting of the program by a third party.
1. Double-click the PLC object in the project workspace. The Change PLC dialog is
displayed, part of the CX-Server application. Change its CPU and PLC device to the new
type.
2. A program check is performed to ensure there are no errors. It is not possible to convert a
program that contains errors.
3. The programs are converted before replacing them. Any addresses and instructions that
cannot be directly replaced are listed in the Compile tab of the Output window.
4. CX-Programmer displays a confirmation dialog to replace the old programs with the new.
If there are conversion errors (listed in the output window), it is best to select the Cancel
pushbutton to abort the conversion and change the original programs to remove the
conversion problems. If the conversion is acceptable, select the OK pushbutton to replace
the programs.
When a program is copied and pasted from one PLC type to another, it does not undergo
program conversion. It is good practice to ensure that programs are already converted before
copying them to another PLC (by first changing the source PLC type to the target PLC type).
Generally all passwords are set on the Protection tab of the PLC Properties dialog and are
activated or deactivated by selecting the corresponding Set Password button or Release
Password button from the toolbar.
This functionality is not supported for CP1E CPU Units.
PART 1: CX-Programmer
CHAPTER 5 – Advanced Topics
CX-Programmer _Page 113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents