5-7SectionUsing Protocol Macros
94
Example 1
Sequence
Error
Sequence ended
abnormally
Step No. 01
Error
Sequence ended
abnormally
Sequence ended
normally
Example 2
Sequence
Step No. 01 Step No. 02
Error
Se-
quence
ended
abnor-
mally
Sequence ended
normally Sequence ended
normally
When the Sequence Ends Normally
Sequence
executed Sequence
completed Sequence
re-executed
Protocol Macro
Executing Flag
Sequence End
Completion Flag
Step Error
Processing
Flag
Error processing
for step No. 00
Step Error
Processing
Flag
When the Sequence Ends Normally
When the Sequence Ends Abnormally
Sequence Abort
Completion Flag
When the Sequence Ends Abnormally
Note The Step Error Processing Flag is used to see whether error processing has been executed
for an individual step in a sequence, and not for the overall steps. Therefore, as shown in Ex-
ample 2 above, after executing error processing during a sequence (step No. 00), the flag will
remain ON, even if the next step ends normally. Care is therefore required because it is not
always possible to use this flag to determine whether the overall sequence has ended abnor-
mally.
Sequence
executed Sequence
completed Sequence
re-executed
Protocol Macro
Executing Flag
Sequence
executed Sequence
completed Sequence
re-executed
Protocol Macro
Executing Flag
Step Error
Processing
Flag
Sequence Abort
Completion Flag
Sequence
executed Sequence
completed Sequence
re-executed
Protocol Macro
Executing Flag
Step Error
Processing
Flag
Error processing
for step No. 00
Sequence End
Completion Flag
Step No. 00 Step No. 00
Error