
Chapter 4. Basic instructions
4-24
The sequential control ( example of SET Sxx.xx instruction)
1. Operation
This program shows briefly an example of sequential control by using SET Sxx.xx instruction. In this
example, there are 4 processes and each process is performed in sequence. The process 2 starts after
the pr ocess 1 ended, and process 3 starts after the process 2 finished. When the process 4 is completed,
the process 1 will start again.
2. Program
SET S01.01
Start
SET S01.02
End of process 1
SET S01.03
SET S01.04
SET S01.00
Process 1
( )
End of process 1
S00.01
S00.02
S00.03
S00.04
[
END
]
Start process 1
Start process 2
Start process 3
Start process 4
Initialize step controller
End of process 2
End of process 3
End of process 4
Perform the process 1 and turn
on ‘End of process 1’ when the
process 1 is finished.
Process 2
( )
End of process 2
Perform the process 2 and turn
on ‘End of process 2’ when the
process 2 is finished.
Process 3
( )
End of process 3
Perform the process 3 and turn
on ‘End of process 3’ when the
process 3 is finished.
Process 4
( )
End of process 4
Perform the process 4 and turn
on ‘End of process 4’ when the
process 4 is finished.