Computer Hardware User Manual

296
The following process requires that a product is processed in one of two ways,
depending on its weight, before it is printed. The printing process is the same
regardless of which of the first processes is used. Various sensors are posi-
tioned to signal when processes are to start and end.
SW A1
SW A2
SW B1
SW B2
Process CWeight scale
Process B
Process A
Printer
SW D
The following diagram demonstrates the flow of processing and the switches
that are used for execution control. Here, either process A or process B is used
depending on the status of SW A1 and SW B1.
Process A
Process C
End
SW A1
SW B1
SW A2
SW B2
SW D
Process B
Example 2:
Branching Execution
Step Instructions Section 5-24