
4 Using Protocol Macros
4-54
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
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.
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
Sequence ended
abnormally
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 End Error
Error processing
for step No. 00
Step End Error
When the sequence ends normally
When the sequence ends abnormally
Sequence Abort
Completion Flag
When the sequence ends abnormally
Sequence
executed
Sequence
completed
Sequence
re-executed
Protocol Macro
Executing Flag
Sequence
executed
Sequence
completed
Sequence
re-executed
Protocol Macro
Executing Flag
Step End Error
Sequence Abort
Completion Flag
Sequence
executed
Sequence
completed
Sequence
re-executed
Protocol Macro
Executing Flag
Step End Error
Error processing
for step No. 00
Sequence End
Completion Flag
Step No. 00
Step No. 00
Error
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...