Ladder Programming Example - Omron CP1L-EL20DR-D Operation Manual

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

Program Protection
Ladder Programming
Example
450
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
• The following instructions will create a fatal error to prevent the program
from being executed when the lot number does not end in 05.
First Cycle Flag
<>L(306)
D0
#050000
A310
0801
1130
ANDL(610)
A310
#00FFFFFF
D0
FALS(007)
1
D100
ANDL(610)
A310
#00FF0000
D0
FALS(007)
1
D100
Section 8-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents