Temporary Relay Area - Omron CJ2 - 02-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

6-12 Temporary Relay Area

The TR Area contains 16 bits with addresses ranging from TR0 to TR15. TR bits are useful when there
are several output branches and interlocks cannot be used.
The TR bits can be used as many times as required and in any order required as long as the same TR
bit is not used twice in the same instruction block.
TR bits can be used only with the OUT and LD instructions. OUT instructions (OUT TR0 to OUT TR15)
store the ON OFF status of a branch point and LD instructions recall the stored ON OFF status of the
branch point.
TR bit status cannot be changed using the CX-Programmer.
Application Examples
In this example, a TR bit is used when two outputs have been directly connected to a branch point.
In this example, a TR bit is used when an output is connected to a branch point without a separate exe-
cution condition.
A TR bit is not required when there are no execution conditions after the branch point or there is an exe-
cution condition only in the last line of the instruction block.
CJ2 CPU Unit Software User's Manual
0.02
0.00
0.04
0.01
0.02
0.01
0.00
0.00
0.00
0.02
Instruction
LD
0.03
OR
OUT
0.05
AND
OUT
LD
AND
OUT
Instruction
LD
OUT
AND
0.03
OUT
LD
OUT
Instruction
0.01
LD
OUT
0.02
OUT
Instruction
0.01
LD
OUT
0.03
AND
OUT
6 I/O Memory Areas
Operand
0.00
0.01
TR 0
0.02
0.03
TR 0
0.04
0.05
Operand
0.00
TR 0
0.01
0.02
TR 0
0.03
Operand
0.00
0.01
0.02
Operand
0.00
0.01
0.02
0.03
6
6-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents