![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268296.webp)
257
Timer and Counter Instructions
Section 3-6
For all CPU Units except CS1D CPU Units, the present value of all operating
timers with timer numbers 0 to 15 will be refreshed even if the timer is in a pro-
gram section that is jumped using JMP(004), CJMP(510), CJPN(511),
JME(005). (The jumped timer instruction will not be executed, but the PV will
be refreshed every 1 ms.) The present values will not be updated with a CS1D
CPU Unit.
When TMHH(540)/TMHHX(552) is in a program section between IL(002) and
ILC(003) and the program section is interlocked, the PV will be reset to the SV
and the Completion Flag will be turned OFF.
When a TMHH(540)/TMHHX(552) timer is forced set, its Completion Flag will
be turned ON and its PV will be set to 0000. When a TMHH(540)/
TMHHX(552) timer is forced reset, its Completion Flag will be turned OFF and
its PV will be reset to the SV.
The operation of the = Flag and N Flag depends on the model of the CPU
Unit. Refer to
Flags
, above, for details.
If online editing is used to overwrite a timer instruction, always reset the Com-
pletion Flag. The timer will not operate properly unless the Completion Flag is
reset.
Refreshing of TMHH(540)
and TMHHX(552) PVs and
Completion Flags
A TMHH(540)/TMHHX(552) instruction’s PV and Completion Flag are
refreshed as shown in the following tables.
Timer numbers 0 to 15 (Cannot be used with unit version 4.1 of the CJ1-H-R
CPU Units):
Timer numbers 16 to 4,095 (CJ1-H-R CPU Units only):
3-6-4
TENTH-MS TIMER: TIMU(541)/TIMUX(556)
Purpose
TIMU(541)/TIMUX(556) operates a decrementing timer with units of 0.1-ms.
The setting range for the set value (SV) is 0 to 0.9999 s for TIMU(541) and 0
to 6.5535 s for TIMUX(556). The timer accuracy is –0.1 to 0 ms.
Note
These instructions can be used in the CJ1-H-R CPU Units only.
Refresh timing
Data refreshed
Execution of
TMHH(540)/
TMHHX(552)
The Completion Flag is turned ON if the PV is 0000.
The Completion Flag is turned OFF if the PV is not 0000.
1-ms interval refreshing
The timer’s PV is refreshed every 1 ms.
Refresh timing
Data refreshed
Execution of
TMHH(540)/
TMHHX(552)
The Completion Flag is turned ON if the PV is 0000.
The Completion Flag is turned OFF if the PV is not 0000.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...