823
Step Instructions
Section 3-22
Example 3:
Parallel Execution
The following process requires that two parts of a product pass simulta-
neously through two processes each before they are joined together in a fifth
process. Various sensors are positioned to signal when processes are to start
and end.
The following diagram demonstrates the flow of processing and the switches
that are used for execution control. Here, process A and process C are started
together. When process A finishes, process B starts; when process C fin-
ishes, process D starts. When both processes B and D have finished, process
E starts.
The program for this operation, shown below, starts with two SNXT(009)
instructions that start processes A and C. These instructions branch from the
same instruction line and are always executed together, starting steps for both
A and C. When the steps for both A and C have finished, the steps for process
B and D begin immediately.
When both process B and process D have finished (i.e., when SW5 and SW6
turn ON), processes B and D are reset together by the SNXT(009) at the end
of the programming for process B. Although there is no SNXT(009) at the end
of process D, the control bit for it is turned OFF by executing SNXT(009)
W00004. This is because the OUT for bit W00003 is in the step reset by
SNXT(009) W00004, i.e., W00003 is turned OFF when SNXT(009) W00004
is executed. Process B is thus reset directly and process D is reset indirectly
before executing the step for process E.
Process C
SW1
SW2
Process A
SW3
SW4
Process D
Process B
Process E
SW6
SW5
SW7
Conveyer C
Conveyer A
Conveyer B
Conveyer D
Conveyer E
Process A
Process E
End
Process C
SW7
Process B
Process D
SW3
SW4
SW 1 and SW2 both ON
SW5 and SW6 both ON
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...