Multi-Output Timer: Mtim(122) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Timer and Counter Instructions
0000
00

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

Ladder Symbol
(122)
MTIM
D
1
Description
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
Operand Data Areas
D
: Completion Flags
1
D
S
2
D
: PV word
2
S: First SV word
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. MTIM(122) accuracy is +0.0/–0.1 se-
cond.
Each time the instruction is executed, the PV (content of D
eight SVs in S through S+7, and if any of the SVs is less than or equal to the PV,
the corresponding Completion Flag (D
greater accuracy, the same MTIM(122) instruction can be input into the program
several times so the PV:SV comparison is made more frequently.
The timer can be reset by turning ON the reset bit (bit 08 of D
PV and all Completion Flags to zero. Counting resumes from zero when the re-
set bit is turned OFF if the instruction execution condition is ON.
The pause bit (bit 09 of D
the status of the PV and Completion Flags. The MTIM(122) instruction is treated
as a NOP(000) instruction when the pause bit is ON and the reset bit is OFF.
When the pause bit is turned OFF, counting resumes from the previous PV.
Address Instruction
00000
00001
1 day
CIO, G, A, T, C, DM
CIO, G, A, T, C, DM, DR, IR
CIO, G, A, T, C, #, DM
) goes from ON to OFF.
1
bits 00 through 07) is turned ON. For
1
) can be turned ON to stop counting while maintaining
1
Section 5-13
Operands
LD
000000
TIML(121)
0150
0100
#00864000
(the PV) from zero in
2
) is compared to the
2
), which resets the
1
151

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents