423
Timer Area Section 9-13
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.
9-13 Timer Area
The 4,096 timer numbers (T0000 to T4095) are shared by the HUNDRED-MS
TIMER (TIM/TIMX(550)), TEN-MS TIMER (TIMH(015)/TIMHX(551)), ONE-
MS TIMER (TMHH(540)/TMHHX(552)), TENTH-MS TIMER (TIMU(541)/
TIMUX(556)) (see note), HUNDREDTH-MS TIMER (TMUH(544)/
TMUHX(557)) (see note), ACCUMULATIVE TIMER (TTIM(087)/TTIMX(555)),
TIMER WAIT (TIMW(813)/TIMWX(816)), and HIGH-SPEED TIMER WAIT
(TMHW(815)/TMHWX(817)) instructions. Timer Completion Flags and
present values (PVs) for these instructions are accessed with the timer num-
bers. (The TIML(542), TIMLX(553), MTIM(543), and MTIMX(554) instructions
do not use timer numbers.)
Note CJ1-H-R CPU Units only.
When a timer number is used in an operand that requires bit data, the timer
number accesses the Completion Flag of the timer. When a timer number is
used in an operand that requires word data, the timer number accesses the
LD
OR
OUT
AND
OUT
LD
AND
OUT
000000
000001
TR 0
000002
000003
TR 0
000004
000005
Instruction
Operand
LD
OUT
AND
OUT
LD
OUT
000000
TR 0
000001
000002
TR 0
000003
Instruction
Operand
LD
000000
OUT
000001
AND
OUT
000002
000003
LD
000000
OUT
OUT
000001
000002
Instruction Operand
Instruction Operand