
253
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. The
timer accuracy for other unit versions of the CJ1-H-R CPU Units is
−
0.001 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 256.
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.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...