Omron CJ1W-SCU32 Operation Manual page 190

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

4 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 End Error
When the sequence ends abnormally
Protocol Macro
Executing Flag
Sequence
executed
Sequence Abort
Completion Flag
Step End Error
Note The Step End Error is used to see whether error processing was executed for an individual step in a
sequence, and not for the overall steps. Therefore, as shown in Example 2 above, after the Unit executes
error processing during a sequence (step No. 00), the flag will remain ON, even if the next step ends nor-
mally. Be sure to understand that it is not always possible to use this flag to determine whether the overall
sequence ended abnormally.
4-54
Example 2
Sequence
Step No. 00
Error
Sequence ended
abnormally
Step No. 01
Sequence ended
abnormally
Error
Protocol Macro
Executing Flag
Sequence
Sequence
completed
re-executed
Sequence End
Completion Flag
Step End Error
When the sequence ends abnormally
Protocol Macro
Executing Flag
Sequence
Sequence
completed
re-executed
Sequence Abort
Completion Flag
Step End Error
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Error
Step No. 02
Sequence ended
Sequence ended
normally
normally
When the sequence ends normally
Sequence
Sequence
executed
completed
Error processing
for step No. 00
Sequence
Sequence
executed
completed
Error processing
for step No. 00
Error
Sequence ended
abnormally
Sequence
re-executed
Sequence
re-executed

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents