WOR
- 141 -
Program example
(1) Program that executes logical OR of the D10 data and D20 data when XA turns ON, and stores
the results in D33.
Coding
No. of
steps
Com-
mand
Device
10 LD XA
11 WOR D10 D20 D33
WOR
D20
D10 D33
XA
10
15
(2) Program that executes logical OR of the X10 to 1B data and D33 data when XA turns ON, and
outputs the results in D100.
Coding
No. of
steps
Com-
mand
Device
10 LD XA
11 WOR K3X10 D33 D100
WOR D33K3X10 D100
XA
10
15