380
Program Protection
Section 6-6
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.
Application Examples
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 following instructions will create a fatal error to prevent the program
from being executed when the lot number is not 23905.
• The following instructions will create a fatal error to prevent the program
from being executed when the lot number does not end in 05.
• The following instructions will create a fatal error to prevent the program
from being executed when the lot number does not begin with 23Y.
Lot number
A311
A310
01805
0005
0801
30Y05
0005
1130
ANDL(610)
A310
#00FFFFFF
D0
FALS(007)
1
D100
<>L(306)
D0
#050923
First Cycle Flag
First Cycle Flag
ANDL(610)
A310
#00FF0000
D0
FALS(007)
1
D100
<>L(306)
D0
#050000
First Cycle Flag
ANDL(610)
A310
#0000FFFF
D0
FALS(007)
1
D100
<>L(306)
D 0
#1123
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...