![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268281.webp)
242
Timer and Counter Instructions
Section 3-6
Applicable Program Areas
Description
Program BREAK(514) between FOR(512) and NEXT(513) to cancel the
FOR-NEXT loop when BREAK(514) is executed. When BREAK(514) is exe-
cuted, the rest of the instructions up to NEXT(513) are processed as
NOP(000).
Flags
Precautions
A BREAK(514) instruction cancels only one loop, so several BREAK(514)
instructions (the number of levels nested) are required to escape from nested
loops.
BREAK(514) can be used only in a FOR-NEXT loop.
3-6
Timer and Counter Instructions
This section describes instructions used to define and handle timers and
counters.
Note
TIMU(541), TIIMUX(556), TMUH(544), and TMUHX(557) are supported by
CJ1-H-R CPU Units only.
Block program areas
Step program areas
Subroutines
Interrupt tasks
Not allowed
OK
OK
OK
N repetitions
Condition a ON
Processed as NOP(000).
Repetitions
forced to end.
Name
Label
Operation
Error Flag
ER
OFF
Equals Flag
=
OFF
Negative Flag
N
OFF
Instruction
Mnemonic
Function code
Page
HUNDRED-MS TIMER
TIM/TIMX
---/551
246
TEN-MS TIMER
TIMH/TIMHX
015/551
250
ONE-MS TIMER
TMHH/TIMHHX
540/552
254
TENTH-MS TIMER (See note.)
TIMU/TIMUX
541/556
257
HUNDREDTH-MS TIMER (See note.) TMUH/TMUHX
544/557
260
ACCUMULATIVE TIMER
TTIM/TTIMX
087/555
263
LONG TIMER
TIML/TIMLX
542/553
267
MULTI-OUTPUT TIMER
MTIM/MTIMX
543/554
270
COUNTER
CNT/CNTX
---/546
276
REVERSIBLE COUNTER
CNTR/CNTRX
012/548
279
RESET TIMER/COUNTER
CNR/CNRX
545/547
283
Содержание 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...