Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 153

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
COUNTER WAIT
CNTW(814)
CNTW
814
(BCD)
CNTWX
N: Counter
818
number
(Binary)
SV: Set value
(CJ2, CS1-H,
I:
Count input
CJ1-H, CJ1M, or
CS1D only)
CNTWX(818)
N: Counter
number
SV: Set value
I:
Count input
TEN-MS TIMER
TMHW(815)
WAIT
TMHW
815
(BCD)
N: Timer number
SV: Set value
TMHWX
TMHWX(817)
817
(Binary)
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CS1D only)
N: Timer number
SV: Set value
LOOP
---
LOOP
809
116
Delays execution of the rest of the block program until the specified count
N
has been achieved. Execution will be continued from the next instruction
SV
after CNTW(814)/CNTWX(818) when the counter counts out.
N
SV
C
Delays execution of the rest of the block program until the specified
N
time has elapsed. Execution will be continued from the next
SV
instruction after TMHW(815)/TMHWX(818) when the timer times out.
N
SV
BEND
C
LOOP(809) designates the beginning of the loop program.
Execution condition
Function
SV: 0 to 9,999 times for BCD and
0 to 65,535 times for binary
"A"
executed.
SV
Time elapsed.
preset.
"B" executed.
"C" executed.
"C"
"C"
executed.
executed.
SV: 0 to 99.99 s for BCD
and 0 to 655.35 s for binary
"A"
executed.
SV
preset.
Time elapsed.
"B" executed.
"C" executed.
Execution
Execution
Execution
condition
condition
condition
ON
OFF
OFF
Loop repeated
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Block program
1028
Required
Block program
1030
Required
Block program
1033
Required
Execution
condition
OFF

Advertisement

Table of Contents
loading

Table of Contents