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

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

Advertisement

3. Instructions
Sample program
0.00
0
0.01··············
0.02··············
0.03··············
Operand bits
CIO 0.01
CIO 0.02
OFF
Any status
ON
OFF
ON
ON
ON
ON
As shown in this example, WAIT(805) and WAIT(805) NOT can be used to progressively execute steps
within a block program.
1024
CIO 0.01
ON,
CIO 0.01
CIO 0.02
ON and
ON and
CIO 0.01
CIO 0.02
CIO 0.03
OFF
OFF
OFF
CIO 0.03
First cycle CIO 0.00 is ON
Any status
Nothing executed.
Any status
"A" executed.
OFF
"A" and "B" executed.
ON
"A," "B," and "C" executed.
When CIO 0.00 is ON in the following example,
block program 00 will be executed. Execution
CIO 0.01,
would proceed as follows:
CIO 0.02,
and
1. If CIO 0.01 is OFF, none of the block pro-
CIO 0.03
ON
gram will be executed until CIO 0.01 turns
ON. When CIO 0.01 turns ON, "A" will be
executed.
2. If CIO 0.02 is OFF after "A" is executed, the
rest of the block program will not be exe-
cuted until CIO 0.02 turns ON. When CIO
0.02 turns ON, "B" will be executed
3. If CIO 0.03 is OFF after "B" is executed, the
rest of the block program will not be exe-
cuted until CIO 0.03 turns ON. When CIO
0.03 turns ON, "C" will be executed and the
execution process will be repeated.
Program execution
Next cycle
Nothing executed; waiting for
CIO 0.01.
Waiting for CIO 0.02.
Waiting for CIO 0.03.
"A," "B," and "C" executed.
0.01
0.02
0.03
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Following cycles
When CIO 0.01 turns ON "A" is
executed and the status of CIO
0.02 is checked.
When CIO 0.02 turns ON "B" is
executed and the status of CIO
0.03 is checked.
When CIO 0.03 turns ON "C" is
executed

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents