High-Speed Timer - Timh(15) - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Timer and Counter Instructions
00000 TIM 002
TIM 001
TIM 001
00000
00205
1.0 s
1.5 s
00000 25502
5-12-2
HIGH-SPEED TIMER – TIMH(15)
Limitations
second TIM is started and when the second TIM's Completion Flag goes ON,
the first TIM is started.
1.0 s
1.5 s
A simpler but less flexible method of creating a flicker bit is to AND one of the
SR area clock pulse bits with the execution condition that is to be ON when
the flicker bit is operating. Although this method does not use TIM, it is in-
cluded here for comparison. This method is more limited because the ON
and OFF times must be the same and they depend on the clock pulse bits
available in the SR area.
In the following example the 1-second clock pulse is used (25502) so that
00206 would be turned ON and OFF every second, i.e., it would be ON for
0.5 seconds and OFF for 0.5 seconds. Precise timing and the initial status of
00206 would depend on the status of the clock pulse when 00000 goes ON.
Ladder Symbol
SV is between 00.02 and 99.99. (Although 00.00 and 00.01 may be set,
00.00 will disable the timer, i.e., turn ON the Completion Flag immediately,
and 00.01 is not reliably scanned.) The decimal point is not entered.
Each TC number can be used as the definer in only one timer or counter in-
struction.
Although TC 048 through TC 511 can be programmed, TC 000 through TC
047 must be used to ensure accuracy if the cycle time is greater than 10 ms.
Address Instruction
TIM 001
00000
#0010
1.0 s
00001
00002
TIM 002
#0015
1.5 s
00003
00004
00205
00005
00006
Address Instruction
00000
00206
00001
00002
# (000 through 047 preferred)
TIMH(15) N
SV
Section 5-12
Operands
LD
00000
AND
TIM
TIM
#
0010
LD
TIM
TIM
#
0015
LD
TIM
OUT
00205
Operands
LD
00000
LD
25502
OUT
00206
Definer Values
N: TC number
Operand Data Areas
SV: Set value (word, BCD)
IR, AR, DM, HR, LR, #
002
001
001
002
001
121

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents