Omron C200HX Computer Hardware User Manual


 
293
Flags 25407: Step Start Flag; turns ON for one cycle when STEP(08) is executed and
can be used to reset counters in steps as shown below if necessary.
SNXT(09) 01000
CP
R
CNT 01
#0003
00000
00100
25407
STEP(08) 01000
1 cycle
25407
01000
Start
Address Instruction Operands Address Instruction Operands
00000 LD 00000
00001 SNXT(09) 01000
00002 STEP(08) 01000
00003 LD 00100
00004 LD 25407
00005 CNT 01
# 0003
Examples
The following three examples demonstrate the three types of execution control
possible with step programming. Example 1 demonstrates sequential execu-
tion; example 2, branching execution; and example 3, parallel execution.
The following process requires that three processes, loading, part installation,
and inspection/discharge, be executed in sequence with each process being re-
set before continuing on the the next process. Various sensors (SW1, SW2,
SW3, and SW4) are positioned to signal when processes are to start and end.
SW 1
SW 2
SW 3
SW 4
Loading Part installation Inspection/discharge
Example 1:
Sequential Execution
Step Instructions Section 5-24