Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 215

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Using Protocol Macros
Example 1
Sequence
Step No. 00
Step No. 01
Sequence ended
normally
When the sequence ends normally
Protocol Macro
Executing Flag
Sequence
executed
Sequence End
Completion Flag
Step Error
Processing
Flag
When the sequence ends abnormally
Protocol Macro
Executing Flag
Sequence
executed
Sequence Abort
Completion Flag
Step Error
Processing
Flag
Note The Step Error Processing Flag is used to see whether error processing has been executed for
186
Error
Sequence ended
abnormally
Sequence ended
abnormally
Error
Sequence
Sequence
completed
re-executed
Sequence
Sequence
completed
re-executed
an individual step in a sequence, and not for the overall steps. Therefore, as shown in Example 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 abnormally.
Example 2
Sequence
Step No. 00
Step No. 01
Step No. 02
Sequence ended
normally
When the sequence ends normally
Protocol Macro
Executing Flag
Sequence
executed
Sequence End
Completion Flag
Step Error
Processing
Flag
When the sequence ends abnormally
Protocol Macro
Executing Flag
Sequence
executed
Sequence Abort
Completion Flag
Error processing
for step No. 00
Step Error
Processing
Flag
Section 5-4
Error
Error
Sequence ended
abnormally
Sequence ended
normally
Sequence
Sequence
completed
re-executed
Error processing
for step No. 00
Sequence
Sequence
completed
re-executed

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents