Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual page 93

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Basic Concepts
Reset input
0000
0000
00
03
0000
01
Error input
0000
02
H00000
H00000
10 sec
TIM
0001
#0100
0002
06
T0001
Error display
5. Rungs Requiring Caution or Rewriting
OR and OL LD Instructions
With an OR or OR NOT instruction, an OR is taken with the results of the lad-
der logic from the LD or LD NOT instruction to the OR or OR NOT instruction,
so the rungs can be rewritten so that the OR LD instruction is not required.
0000
00
0000
0002
01
07
Example: An OR LD instruction will be needed if the rungs are programmed
as shown without modification. A few steps can be eliminated by rewriting the
rungs as shown.
Output Instruction Branches
A TR bit will be needed if there is a branch before an AND or AND NOT
instruction. The TR bit will not be needed if the branch comes at a point that is
connected directly to output instructions and the AND or AND NOT instruction
or the output instructions can be continued as is.
0000
TR0
00
Example: A temporary storage bit TR0 output instruction and load (LD)
instruction are needed at a branch point if the rungs are programmed without
modification. A few steps can be eliminated by rewriting the rungs.
Instruction Operand
LD
OR
OR
OR
AND NOT
OUT
TIM
AND
OUT
If a holding bit is in use, the ON/OFF status would
be held in memory even if the power is turned OFF,
and the error signal would still be in effect when
power is turned back ON.
0002
07
Output instruction 1
0000
0002
01
08
0002
09
Output instruction 2
Section 2-1
000000
000001
000002
H00000
000003
H00000
0001
0100
T0001
000206
0000
0002
01
07
0000
00
0000
00
0000
01
0002
07
0002
09
0002
08
55

Advertisement

Table of Contents
loading

Table of Contents