Omron CQM1H-SCB41 Operation Manual page 108

Sysmac cqm1h series serial communications board
Hide thumbs Also See for CQM1H-SCB41:
Table of Contents

Advertisement

Using Protocol Macros
Example 1
Sequence
Step No. 00
Step No. 01
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
Error
Sequence ended
abnormally
Sequence ended
abnormally
Error
Sequence ended
normally
Sequence
Sequence
completed
re-executed
Sequence
Sequence
completed
re-executed
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.
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-7
Error
Error
Sequence ended
normally
Sequence
Sequence
completed
re-executed
Error processing
for step No. 00
Sequence
Sequence
completed
re-executed
Se-
quence
ended
abnor-
mally
93

Advertisement

Table of Contents
loading

Table of Contents