16-15
16 Other Functions
CP2E CPU Unit Software User’s Manual(W614)
16-4 Security Functions
16
16-4-2 Protecting Program Execution Using the Lot Number
z Auxiliary Area Bits Related to Password Protection
z Overview
The lot number is stored in words A310 and A311 of the CP2E CPU Unit’s Auxiliary Area. These
words generate a fatal error to prevent a user program from running on a PLC with a different pro-
duction lot number. In addition, by setting passwords, you can prohibit loading of programs, and
thereby prohibit copying of user programs. The lot number 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.
• X, Y, and Z in the lot number are converted to 10, 11, and 12, respectively, in A310 and A311.
z Programming Example
(1) The following instructions will create a fatal error to prevent the program from being
executed when the lot number is not 23905.
Name
Bit
address
Description
Status after
mode
change
Startup
hold
settings
UM Read Protection
Status
A99.00 Indicates whether or not the whole ladder pro-
grams are read-protected.
OFF: UM read protection is not set.
ON: UM read protection is set.
Hold Hold
16-4-2 Protecting Program Execution Using the Lot Number
y y
m dm d
ddmyy
Lot number (5 digits)
A311 A310
ANDL(610)
A310
#00FFFFFF
D0
FALS(007)
1
D100
A200.11 (First Cycle Flag)
<> L(306)
D0
#050923