![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268964.webp)
925
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.
SW1
SW2
SW3
SW4
SW6
SW5
SW7
Process C
Process A
Process D
Process B
Process E
Conveyer A
Conveyer C
Conveyer D
Conveyer B
Conveyer E
SW7
SW3
SW4
Process A
Process E
End
Process C
Process B
Process D
SW5 and SW6 both ON
SW 1 and SW2 both ON
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...