382
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 Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......