Omron CS1G/H-CPUxxH Instructions Manual page 237

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Timer and Counter Instructions
Example
3-6-3
ONE-MS TIMER: TMHH(540)/TMHHX(552)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
216
When timer input CIO 000000 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 000000 goes OFF, the timer PV will be reset to the SV and the
Completion Flag will be turned OFF.
Timer input
CIO 000000
Timer PV
T0000
Timer Completion
Flag
T0000
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.
Note The timer accuracy for CS1D CPU Units is 10 ms + the cycle time
PV
refresh
method
BCD
Binary
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
Not allowed
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).
#0100
(1.00 s)
Symbol
TMHH(540)
N
N: Timer number
S
S: Set value
TMHHX(552)
N
N: Timer number
S
S: Set value
Step program areas
OK
Section 3-6
Operands
N: 0000 to 15 (decimal)
S: #0000 to #9999 (BCD)
N: 00000 to 15 (decimal)
S: &0 to &65535 (decimal)
#0000 to #FFFF (hex)
TMHH(540)/
TMHHX(552)
Not supported.
Not supported.
Subroutines
Interrupt tasks
OK
Not allowed

Advertisement

Table of Contents
loading

Table of Contents