373
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 - 05-2006
Page 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Page 3: ...iv...
Page 11: ...xii TABLE OF CONTENTS...
Page 15: ...xvi...
Page 19: ...xx...
Page 31: ...xxxii Conformance to EC Directives 6...
Page 71: ...40 Function Blocks Section 1 5...
Page 133: ...102 Computing the Cycle Time Section 2 7...
Page 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Page 411: ...380 Clock Section 6 8...
Page 519: ...488 Replacing User serviceable Parts Section 10 2...
Page 527: ...496 Standard Models Appendix A...
Page 535: ...504 Dimensions Diagrams Appendix B...
Page 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Page 659: ...628 PLC Setup Appendix G...
Page 665: ...634 Index work words 159 write protection 370...
Page 667: ...636 Revision History...