Timer - Tim - Omron SYSMAC mini SP10 Operation Manual

Table of Contents

Advertisement

Instruction Set
3-7-14

TIMER - TIM

Limitations
Description
Precautions
Flags
Examples
Example 1:
Basic Application
Ladder Symbol
TIM
N
SV
SV is between 000.0 and 999.9 seconds. The decimal point is not entered.
Each TC number can be used as the definer in only one timer or counter in-
struction.
TC 11 through TC 15 should not be used in TIM if they are required for the
specific instruction to which they are assigned. Refer to the table on page 82.
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.
ON
Execution condition
OFF
ON
Completion Flag
OFF
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, dedicated clock pulse bits can be
counted to produce timers using CNT. Refer to 3-7-18 COUNTER - CNT for
details.
ER:
The Error Flag (0311) will be turned ON when the SV is set in a word
(SP16 and SP20 only) but the content of the indicated word is not
BCD. The instruction will be executed, but operation will not be reli-
able.
All of the following examples use OUT to control output bits. There is no rea-
son, however, why these diagrams cannot be modified to control execution of
other instructions.
The following example shows two timers. Here, 0100 will be turned ON after
bit 0000 goes ON and stays ON for at least 15 seconds. When bit 0000 goes
Definer Values
N: TC number
# (00 through 15)
Operand Data Areas
SV: Set value (BCD)
SP16, SP20: I/O, work, DR, LR, #
SV
Section 3-7
SP10: #
SV
83

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC mini SP10 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac mini sp16Sysmac mini sp20

Table of Contents