217
Timer and Counter Instructions Section 5-15
Precautions Program execution will continue even if a non-BCD SV is used, but the SV will
not be correct.
Flags ER: SV is not in BCD.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
5-15-4 HIGH-SPEED TIMER – TIMH(15)
Limitations SV is between 00.00 and 99.99. (Although 00.00 and 00.01 may be set, 00.00
will disable the timer, i.e., turn ON the Completion Flag immediately, and
00.01 is not reliably scanned.) The decimal point is not entered.
Each TC number can be used as the definer in only one TIMER or COUNTER
instruction. Use TC numbers from 000 through 015 in the CQM1 PCs and
from 000 through 003 in the CPM1/CPM1A/SRM1 PCs.
High-speed timers with timer numbers TC 016 through TC 511 (TC 004
through TC 127 in the CPM1/CPM1A/SRM1) should not be used if the cycle
time exceeds 10 ms.
Description TIMH(15) operates in the same way as TIM except that TIMH measures in
units of 0.01 second. Refer to 5-15-1 TIMER – TIM for operational details.
Precautions Timers in interlocked program sections are reset when the execution condition
for IL(02) is OFF. Power interruptions also reset timers. If a timer that is not
reset under these conditions is desired, SR area clock pulse bits can be
counted to produce timers using CNT. Refer to 5-15-2 COUNTER – CNT for
details.
Timers in jumped program sections will not be reset when the execution con-
dition for JMP(04) is OFF, but the timer will stop timing if jump number 00 is
used. The timers will continue timing if jump numbers 01 through 99 (01
through 49 in CPM1/CPM1A/SRM1 PCs) are used.
Note The timer set value must be BCD between #0000 and #9999. Operation will
be as follows if #0000 or #0001 is set.
• If #0000 is set, the Completion Flag will turn ON as soon as the timer’s
execution condition turns ON (but there may be a delay if TIM 000 to TIM
015 are used).
• If #0001 is set, the Completion Flag may turn ON as soon as the timer’s
execution condition turns ON because timer accuracy is 0 to –0.01 s.
Consider the timer accuracy (0 to –0.01 s) when determining the proper set
value.
N: TC number
#
Ladder Symbol
Definer Values
SV: Set value (word, BCD)
IR, SR, AR, DM, HR, LR, #
Operand Data Areas
TIMH(15) N
SV