EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals