161
TR (Temporary Relay) Area
Section 4-12
4-12 TR (Temporary Relay) Area
The TR Area contains 16 bits with addresses ranging from TR0 to TR15.
These temporarily store the ON/OFF status of an instruction block for branch-
ing and are used only with mnemonics. TR bits are useful when there are sev-
eral 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.
Forcing Bit Status
TR bits cannot be changed from the CX-Programmer.
Examples
In this example, a TR bit is used when two outputs have been directly con-
nected to a branch point.
In this example, a TR bit is used when an output is connected to a branch
point without a separate execution condition.
Note A TR bit is not required when there are no execution conditions after the
branch point or there is an execution condition only in the last line of the
instruction block.
LD
OR
OUT
AND
OUT
LD
AND
OUT
0.00
0.01
TR 0
0.02
0.03
TR 0
0.04
0.05
Instruction
Operand
TR0
0.00
0.05
0.01
0.02
0.04
0.03
LD
OUT
AND
OUT
LD
OUT
0.00
TR 0
0.01
0.02
TR 0
0.03
Instruction
Operand
TR0
0.00
0.01
0.02
0.03
LD
0.00
OUT
0.01
AND
OUT
0.02
0.03
LD
0.00
OUT
OUT
0.01
0.02
Instruction
Operand
Instruction
Operand
0.00
0.01
0.02
0.00
0.01
0.03
0.02
Содержание CP1H-CPU - 05-2006
Страница 1: ...OPERATION MANUAL CP1H CPU Unit SYSMAC CP Series CP1H X40D CP1H XA40D CP1H Y20DT D Cat No W450 E1 02...
Страница 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Страница 3: ...iv...
Страница 11: ...xii TABLE OF CONTENTS...
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 31: ...xxxii Conformance to EC Directives 6...
Страница 71: ...40 Function Blocks Section 1 5...
Страница 133: ...102 Computing the Cycle Time Section 2 7...
Страница 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Страница 411: ...380 Clock Section 6 8...
Страница 519: ...488 Replacing User serviceable Parts Section 10 2...
Страница 527: ...496 Standard Models Appendix A...
Страница 535: ...504 Dimensions Diagrams Appendix B...
Страница 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Страница 659: ...628 PLC Setup Appendix G...
Страница 665: ...634 Index work words 159 write protection 370...
Страница 667: ...636 Revision History...