EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 1011

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
978
Block Programming Instructions Section 3-30
Instructions Taking
Execution Conditions
within Block
Programs
The following instruction can take execution conditions within a block pro-
gram.
Instructions with
Application
Restrictions within
Block Programs
The instructions listed in the following table can be used only to create execu-
tion conditions for IF(802), WAIT(805), EXIT(806), LEND(810), CJP(510, or
CJPN(511) and cannot be used by themselves. The execution of these
instructions may be unpredictable if used by themselves or in combination
with any other instructions.
Instructions Not
Applicable in Block
Programs
The instructions listed in the following table cannot be used within block pro-
grams.
Instruction type Instruction name Mnemonic
Block programming instructions IF (NOT) IF(802) (NOT)
ONE CYCLE AND
WAIT (NOT)
WAIT(805) (NOT)
EXIT EXIT(806) NOT
LOOP END LEND(810) NOT
Ladder diagram instructions CONDITIONAL JUMP CJP(510)
CONDITIONAL JUMP
NOT
CJPN(511)
Mnemonic Name
LD/LD NOT LOAD/LOAD NOT
AND/AND NOT AND/AND NOT
OR/OR NOT OR/OR NOT
UP/DOWN CONDITION ON/CONDITION OFF
>, <,=, >=, <=, <> (S) (L) Symbol Comparison Instruction (not
right-hand instructions)
LD TST/TST NOT LOAD Bit Test Instructions
AND TST/TST NOT AND Bit Test Instructions
OR TST/TST NOT OR Bit Test Instructions
>$, <$,=$, >=$, <=$, <>$ Text String Comparison Instruction
0.00
0.01
D0
0.00
0.01
D0
Good Example
Bad Example
Used as
execution
condition
for IF.
Cannot be
used as
execution
condition
for
MOV(021).
Instruction
group
Mnemonic Name Alternative
Sequence
Output
Instructions
OUT OUTPUT Use SET and RSET.
OUT NOT OUTPUT NOT
DIFU(013) DIFFERENTIATE UP None
DIFD(014) DIFFERENTIATE DOWN None
KEEP(011) KEEP None

Table of Contents

Related product manuals