921
Step Instructions Section 3-22
Example 2:
Branching Execution
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.
000000 @LD 000001
000001 SNXT(009) W00000
000002 STEP(008) W00000
000100 LD 000002
000101 SNXT(009) W00001
000102 STEP(008) W00001
000100 LD 000003
000101 SNXT(009) W00002
000102 STEP(008) W00002
000200 LD 000004
000201 SNXT(009) W00003
000202 STEP(008) W00003
Process A
Process B
Process C
Address Instruction Operands
Process
A started.
Process
A reset.
Process
B started.
Process
B reset.
Process
C started.
Process
C reset.
Programming for process A
Programming for process B
Programming for process C
SW A1
SW A2
SW C1
SW C2
SW D
SW B2
SW B1
Process C
Process B
Process A
Guide
Weight scale
Conveyer B
Conveyer A
Printer