Timer: Tim - Omron SYSMAC CV Series Operation Manual

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

Advertisement

Timer and Counter Instructions
2000
00
T0000
2000
01
T0001
2000
02
T0000
2006
02
T0099

5-13-1 TIMER: TIM

Ladder Symbol
TIM
Description
142
The first MOV(030) instruction moves the PC memory address of the PV for tim-
er T0000 ($1000) to IR0. The first MOVR(036) instruction moves the PC
memory address of the Completion Flag for timer T0000 to IR1, and the second
one moves the starting address into IR2. The second MOV(030) instruction
moves the address (00100) of the DM word that contains the SV for timer T0000
to D00000. A50013 is an Always ON Flag.
JME(005) and JMP(004) form a loop in which the content of IR0, IR1, and
D00000 are incremented by one each time the program executes the loop,
successively defining and starting the 100 timers T0000 through T0199. The
loop continues until the content of D00000 is 0200, i.e., until all 100 timers have
been defined and started. A50006 is the Equals Flag.
The subroutine above is equivalent to the 400 instructions below.
TIM
0000 D00100
TIM
0001 D00101
TIM
0002 D00102
TIM
0099 D00199
Operand Data Areas
N: Timer number
N
S
S: Set value
*Refer to page 141 for details on indirectly addressing timers.
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.
The timer PV is updated when the TIM instruction is executed, during cyclic re-
freshing, or interrupt refreshing (when the cycle time exceeds 80 ms). Refer to
6-2 Cycle Time for details.
If the execution condition remains ON long enough for TIM to time down to zero,
the Completion Flag for the timer number used will turn ON and will remain ON
until TIM is reset (i.e., until its execution condition goes OFF or CNR(236) is
executed).
Address
00000
00001
2000
00
00002
00003
00004
00005
2000
01
00006
00007
00008
00009
2000
02
00010
00011
2006
00396
02
00397
00398
00399
#
CIO, G, A, T, C, #, DM, DR, IR
Section 5-13
Instruction
Operands
LD NOT
200000
TIM
0000
D00100
LD
T0000
OUT
200000
LD NOT
200001
TIM
0001
D00101
LD
T0001
OUT
200001
LD NOT
200002
TIM
0002
D00102
LD
T0002
OUT
200002
LD NOT
200602
TIM
0099
D00199
LD
T0000
OUT
200602

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents