180
CHAPTER2 Dependence Functions
2.4.6.7 Sequencer

This is a function to abort the program execution when the program is executedalong

with the event order specified by the user.

Control by Sequencer

Set two events, and set the flow in order from level 1 to level 2 as the condition for terminating the
sequencer. This sequencer is called a two-level sequencer.
Also, all previous information of the flow can be reset, and events for restarting monitoring the flow
through level 1 can be set again.

Operation of Sequencer

When the event for each level is set as shown below, the sequencer operates as shown in Figure 2.4-7 .
Figure 2.4-7 Example of Sequencer Operation
[Example] Level 1 : Event 1
Level 2 : Event 2
Restart : Event 3
Program execution start
Event 1 occurs
NO
YES
Level 1
YES
Break
Event 3 occurs
Event 2 occurs NO
Level 2
YES
NO