![background image](http://html1.mh-extra.com/html/omron/sysmac-c1000h/sysmac-c1000h_operation-manual_743079124.webp)
118
5-12-1
TIMER – TIM
N
: TC number
# (000 through 511)
Ladder Symbol
Definer Values
SV
: Set value (word, BCD)
IR, AR, DM, HR, LR, #
Operand Data Areas
TIM N
SV
SV is between 000.0 and 999.9. The decimal point is not entered.
Each TC number can be used as the definer in only one timer or counter in-
struction.
TC 000 through TC 047 should not be used in TIM if they are required for
TIMH(15). Refer to
5-11-2 HIGH-SPEED TIMER – TIMH(15)
for details.
A timer is activated when its execution condition goes ON and is reset (to
SV) when the execution condition goes OFF. Once activated, TIM measures
in units of 0.1 second from the SV. TIM accuracy is +0.0/–0.1 second.
If the execution condition remains ON long enough for TIM to time down to
zero, the Completion Flag for the TC number used will turn ON and will re-
main ON until TIM is reset (i.e., until its execution condition is goes OFF).
The following figure illustrates the relationship between the execution condi-
tion for TIM and the Completion Flag assigned to it.
Execution condition
Completion Flag
ON
OFF
ON
OFF
SV
SV
Timers in interlocked program sections are reset when the execution condi-
tion 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-11-3 COUNTER – CNT
for
details.
Program execution will continue even if a non-BCD SV is used, but timing will
not be accurate.
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.)
All of the following examples use OUT in diagrams that would generally be
used to control output bits in the IR area. There is no reason, however, why
these diagrams cannot be modified to control execution of other instructions.
The following example shows two timers, one set with a constant and one set
via input word 005. Here, 00200 will be turned ON after 00000 goes ON and
Limitations
Description
Precautions
Examples
Example 1:
Basic Application
Timer and Counter Instructions
Section 5-12