![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030296.webp)
256
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, but can be used with other unit versions 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.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...