EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #186 background imageLoading...
Page #186 background image
3. Instructions
148
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Example Programming
z AND LD
i
• The AND LOAD instruction can be used repeatedly. In programming method (2) above, however, the
number of AND LOAD instructions becomes one less than the number of LOAD and LOAD NOT
instructions before that.
• In method (2), make sure that the total number of LOAD and LOAD NOT instructions before AND
LOAD is not more than eight.
• To use nine or more, program using method (1).
• If there are nine or more with method (2), then a program error will occur during the program check by
the Peripheral Device.
z OR LD
i
• The OR LOAD instruction can be used repeatedly. In programming method (2) above, however, the
number of OR LOAD instructions becomes one less than the number of LOAD and LOAD NOT
instructions before that.
• In method (2), make sure that the total number of LOAD and LOAD NOT instructions before OR
LOAD is not more than eight.
• To use nine or more, program using method (1).
• If there are nine or more with method (2), then a program error will occur during the program check by
the Peripheral Device.
0.00 0.02 0.04
0.01 0.03 0.05
5.00
Coding Example (1) Coding Example (2)
Instruction Operand
LD 0.00
OR NOT 0.01
LD NOT 0.02
OR 0.03
AND LD ---
LD 0.04
OR 0.05
AND LD ---
.
.
.
.
OUT 5.00
Instruction Operand
LD 0.00
OR NOT 0.01
LD NOT 0.02
OR 0.03
LD 0.04
OR 0.05
.
.
.
.
AND LD ---
AND LD ---
.
.
.
.
OUT 5.00
0.00 0.01
0.02 0.03
0.04 0.05
5.01
Coding Example (1) Coding Example (2)
Instruction Operand
LD 0.00
AND NOT 0.01
LD NOT 0.02
AND NOT 0.03
OR LD ---
LD 0.04
AND 0.05
OR LD ---
.
.
.
.
OUT 5.01
Instruction Operand
LD 0.00
AND NOT 0.01
LD NOT 0.02
AND NOT 0.03
LD 0.04
AND 0.05
.
.
.
.
OR LD ---
OR LD ---
.
.
.
.
OUT 5.01

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals