![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268293.webp)
254
Timer and Counter Instructions
Section 3-6
Example
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.
3-6-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.
Note
The timer accuracy for CS1D CPU Units is 10 ms + the cycle time. The timer
accuracy for unit version 4.1 of the CJ1-H-R CPU Units is
−
0.01 to 0 s.
Ladder Symbol
Note
In CJ1-H-R CPU Units other than those with unit version 4.1, N can be set to
between 0 and 4,095 decimal. In CJ1-H-R CPU Units with unit version 4.1, N
can be set only to between 16 and 4095 decimal. For details, refer to
Refresh-
ing of TMHH(540) and TMHHX(552) PVs and Completion Flags on page 257
.
Variations
CIO 000000
T0000
T0000
#0100
(1.00 s)
&0100
or
TIMHX
Timer input
Timer PV
Timer Completion
Flag
PV
refresh
method
Symbol
Operands
BCD
N: 0 to 15 decimal, or
0 to 4,095 decimal
(See note.)
S: #0000 to #9999 (BCD)
Binary
N: 0 to 15 decimal, or
0 to 4,095 decimal
(See note.)
S: &0 to &65535 decimal
#0000 to #FFFF hex
TMHH(540)
N
S
N
: Timer number
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.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...