Protecting Program Execution Using The Lot Number - Omron CP1L CPU UNIT - 06-2007 Operation Manual

Cp1l cpu unit
Table of Contents

Advertisement

Program Protection
Write Protection
against FINS
Commands Sent to
the CPU Unit via
Networks
6-7-3

Protecting Program Execution Using the Lot Number

Ladder Programming
Example
390
It is possible to prohibit write operations and other editing operations sent to
the PLC's CPU Unit as FINS commands through a network (including write
operations from CX-Programmer, CX-Protocol, CX-Process, and other appli-
cations using Fins Gateway). Read processes are not prohibited.
FINS write protection can disable write processes such as downloading the
user program, PLC Setup, or I/O memory, changing the operating mode, and
performing online editing.
It is possible to exclude selected nodes from write protection so that data can
be written from those nodes.
An event log in the CPU Unit automatically records all write processes sent
through the network and that log can be read with a FINS command.
The lot number is stored in A310 and A311 and can be used to prevent the
program from being executed on a CPU Unit with the wrong lot number.
The following instructions can be added to the program to create a fatal error
and thus prevent program execution if an attempt is made to execute the pro-
gram on a CPU Unit with the incorrect lot number. A password can also be set
to read-protect the program so that it cannot be copied, e.g., using a Memory
Cassette.
The lot number stored in A310 and A311 cannot be changed by the user.
The upper digits of the lot number are stored in A311 and the lower digits are
stored in A310, as shown below.
Manufacturing lot
number (5 digits)
A311
A310
X, Y, and Z in the lot number are converted to 10, 11, and 12, respectively, in
A310 and A311. Some examples are given below.
Lot number
A311
01805
0005
30Y05
0005
• The following instructions will create a fatal error to prevent the program
from being executed when the lot number is not 23905.
First Cycle Flag
<>L(306)
D0
#050923
A310
0801
1130
ANDL(610)
A310
#00FFFFFF
D0
FALS(007)
1
D100
Section 6-7

Advertisement

Table of Contents
loading

Table of Contents