Omron C200HE Computer Hardware User Manual


 
165
5-14-3 TOTALIZING TIMER TTIM(87)
SV: Set value (word, BCD)
IR, AR, DM, HR, LR
RB: Reset bit
IR, SR, AR, HR, LR
Ladder Symbol
Operand Data Areas
TTIM(87)
N
SV
RB
N: TC number
# (000 through 511)
Definer Values
Limitations SV is between 0000 and 9999 (000.0 and 999.9 s) and must be in BCD. The dec-
imal point is not entered.
Each TC number can be used as the definer in only one TIMER or COUNTER
instruction.
Description TTIM(87) is used to create a timer that increments the PV every 0.1 s to time
between 0.1 and 999.9 s. TTIM(87) increments in units of 0.1 second from zero.
TTIM(87) accuracy is +0.0/0.1 second. A TTIM(87) timer will time as long as its
execute condition is ON until it reaches the SV or until RB turns ON to reset the
timer. TTIM(87) timers will time only as long as they are executed every cycle,
i.e., they do not time, but maintain the current PV, in interlocked program sec-
tions or when they are jumped in the program.
The PVs and completion flags of timers 000 through 015 are refreshed every
10 ms, but the PVs of timers 016 through TC 511 are refreshed each time that
TTIM(87) is executed in the program.
Precautions The PVs of totalizing timers in interlocked program sections are maintained
when the execution condition for IL(02) is OFF. Unlike timers and high-speed
timers, totalizing timers in jumped program sections do not continue timing, but
maintain the PV.
Power interruptions will reset timers.
Totalizing timers will not restart after timing out unless the PV is changed to a
value below the SV or the reset input is turned ON.
A delay of one cycle is sometimes required for a Completion Flag to be turned
ON after the timer times out.
The SV of the timers can be set in the range #0000 to #9999 (BCD). If the SV for a
timer is set to #0000 or #0001, it will operate in the following way. If the SV is set
to #0000, when the timer input goes from OFF to ON, the Completion Flag will
turn ON. If the SV is set to #0001, because the timer accuracy is 0 to 0.1 s, the
actual time will be a value between 0 and 0.1 s, and the Completion Flag may
turn ON as soon as the timer input goes from OFF to ON. With other values also,
allow for a timer accuracy of 0 to 0.1 s when setting the SV.
Flags ER (SR 25503): Content of DM word is not BCD when set for BCD.
SV is not BCD.
Timer and Counter Instructions Section 5-14