![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030282.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
245
TEN-MS TIMER
TIMH/TIMHX
015/551
249
ONE-MS TIMER
TMHH/TIMHHX
540/552
253
TENTH-MS TIMER (See note.)
TIMU/TIMUX
541/556
256
HUNDREDTH-MS TIMER (See note.) TMUH/TMUHX
544/557
259
ACCUMULATIVE TIMER
TTIM/TTIMX
087/555
262
LONG TIMER
TIML/TIMLX
542/553
266
MULTI-OUTPUT TIMER
MTIM/MTIMX
543/554
269
COUNTER
CNT/CNTX
---/546
275
REVERSIBLE COUNTER
CNTR/CNTRX
012/548
278
RESET TIMER/COUNTER
CNR/CNRX
545/547
282
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 ...