Multi-Output Timer: Mtim(122) - Omron CVM1D Operation Manual

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Timer and Counter Instructions
Flags
Example
0000
00

5-13-5 MULTI-OUTPUT TIMER: MTIM(122)

Ladder Symbol
(122)
MTIM
D
1
Description
138
Power interruptions will reset timers unless the IOM Hold Bit and PC Setup are
set to retain timer PVs during power interruptions. If a timer that is not reset un-
der these conditions is desired, Auxiliary Area clock pulse bits can be counted to
produce accumulative timers using CNT. Refer to 5-13-6 COUNTER: CNT for
details.
Long timers will not restart after timing out unless reset by turning OFF the
execution condition or unless the PV is set to a value other than zero.
The long timer is inaccurate when the cycle time exceeds 25 s.
Physical limitations restrict TIML(121) accuracy to a maximum of ±0.36 s/h.
Note: Refer to page 101 for general precautions on operand data areas.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
SV is not BCD.
When CIO 00000 turns ON in the following example, the SV (0086 4000) will be
set into CIO 0101 and CIO 0100. As long as CIO 000000 remains ON, the PV in
CIO 0101 and CIO 0100 will be decremented by –1 every 0.1 s. If the PV reaches
0000 0000, the Completion Flag (CIO 015000) will turn ON. If CIO 000000 turns
OFF, the PV will again be set to the SV.
(121)
TIML
0150
0100 #00864000
The following figure illustrates the relationship between the execution condition
for a long timer with a SV of 0086400.0 s (1 day), its PV, and the Completion Flag
assigned to it.
Timer input (000000)
Completion Flag
(015000)
PV:
0086 4000
0000 0000
D
S
2
MTIM(122) is an accumulative timer that can have up to eight pairs of set values
and Completion Flags. Unlike most timer instructions, MTIM(122) is not defined
using a timer number and timer numbers are not needed to access the Comple-
tion Flags and PV. The timer is activated when the MTIM(122) execution condi-
tion is ON and the reset bit (bit 08 of D
Once activated, MTIM(122) increments the content of D
units of 0.1 second. If the PV reaches 999.9 s, it continues counting from 000.0,
and all Completion Flags are reset to zero.
1 day
Operand Data Areas
D
: Completion Flags
CIO, G, A, T, C, DM
1
D
: PV word
CIO, G, A, T, C, DM, DR, IR
2
S: First SV word
CIO, G, A, T, C, #, DM
) goes from ON to OFF.
1
Section 5-13
Address
Instruction
Operands
00000
LD
000000
00001
TIML(121)
0150
0100
#00864000
(the PV) from zero in
2

Advertisement

Table of Contents
loading

Table of Contents