Long Timer: Timl - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Example
00000
TIM 000

7-15-3 LONG TIMER: TIML(- - - -)

Limitations
Description
Precautions
The following example shows a timer set with a constant. CIO 01600 will be
turned ON after CIO 00000 goes ON and stays ON for at least 1.5 seconds.
When 00000 goes OFF, the timer will be reset and CIO 01600 will be turned OFF.
Ladder Symbol
TIML(----)
N
SV
C
This instruction is supported by CPM2A/CPM2C PCs only.
Each TC number can be used as the definer in only one TIMER or COUNTER
instruction. TC numbers run from 000 through 255 in the CPM2A/CPM2C PCs.
SV is BCD between 0000 and 9999 (0 to 9,999 s when C=000 and 0 to 99,990 s
when C=001).
C must be 000 (1-s timing units) or 001 (10-s timing units).
TIML(----) is a decrementing ON-delay timer that can time in 1-s units or 10-s
units. The timer set value can be 0 to 9,999 s (accuracy 0 to 1 s) when 1-s units
are used (C=000) or 0.10 to 99,990 s (accuracy 0 to 10 s) when 10-s units are
used (C=001).
A long timer is activated when its execution condition goes ON and is reset (to
the SV) when the execution condition goes OFF. Once activated, TIML(----)
times down from the SV in units of 1 s or 10 s (depending upon the value of C).
TIML(----) accuracy is 0 to 1 s with 1-s units or 0 to 10 s with 10-s units.
The timer will time out when the PV reaches #0000 (0 s). Once the timer has
timed out, the PV and Completion Flag status will be maintained. The timer can
be restarted by temporarily turning its execution condition from ON to OFF or
changing its PV to a value other than #0000 with an instruction such as
MOV(21).
Long timers in jumped program sections will not be reset when the execution
condition for JMP(04) is OFF, but the timer will stop timing and the PV will be
maintained. Timing will resume when the execution condition for JMP(04) goes
ON again. This can greatly reduce the accuracy of long timers in jumped pro-
gram sections.
TIML(----) may not be accurate when the cycle time exceeds 1 s (C=000) or 10 s
(C=001).
Long timers in interlocked program sections are reset (to the SV) when the
execution condition for IL(02) is OFF.
The timing units in C can be changed while the long timer is timing. Changing the
timing units during operation reduces the timer's accuracy by up to 10 s.
Address Instruction
TIMH(15)
000
00000
01.50 s
#0150
00001
01600
00002
00003
CPM2A/CPM2C ONLY
Operand Data Areas
IR, SR, AR, DM, HR, LR, #
Section
7-15
Operands
LD
00000
TIMH(15)
#
LD
TIM
OUT
01600
N: TC number
TC
SV: Set value
C: Control data
000 or 001
000
0150
000

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents