Omron CJ - INSTRUCTIONS Reference Manual page 1109

Table of Contents

Advertisement

Example Programming
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.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
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
3. Instructions
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
1071
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents