EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 211

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
178
Timer and Counter Instructions Section 3-5
Example When timer input CIO 0.00 goes from OFF to ON in the following example, the
timer PV will begin counting down from the SV (#0064 = 100 = 1.00 s). The
Timer Completion Flag, T0000, will be turned ON when the PV reaches 0000.
When CIO 0.00 goes OFF, the timer PV will be reset to the SV and the Com-
pletion Flag will be turned OFF.
3-5-3 ONE-MS TIMER: TMHH(540)/TMHHX(552)
Purpose TMHH(540)/TMHHX(552) operates a decrementing timer with units of 1-ms.
The setting range for the set value (SV) is 0 to 9.999 s for TMHH(540) and 0
to 65.535 for TMHHX(552). The timer accuracy is –0.001 to 0 s.
Ladder Symbol
Variations
Applicable Program Areas
Operands N: Timer Number
The timer number must be between 0000 and 0015 (decimal).
S: Set Value
The set value must be between #0000 and 9999 (BCD).
CIO 0.00
T0000
T0000
#0100
(1.00 s)
0.00
Timer input
Timer PV
Timer Completion
Flag
PV
refresh
method
Symbol Operands
BCD N: 0000 to 15 (decimal)
S: #0000 to #9999 (BCD)
Binary N: 00000 to 15 (decimal)
S: &0 to &65535 (decimal)
#0000 to #FFFF (hex)
TMHH(540)
N
S
N: Timer numbe
r
S: Set value
TMHHX(552)
N
S
N: Timer number
S: Set value
Variations Executed Each Cycle for ON Condition TMHH(540)/
TMHHX(552)
Executed Once for Upward Differentiation Not supported.
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
Not allowed OK OK Not allowed

Table of Contents

Related product manuals