![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586215.webp)
186
Using Protocol Macros
Section 5-4
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 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 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.
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
Summary of Contents for SYSMAC CJ1W-SCU21-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x...
Page 15: ...xvi...
Page 89: ...60 Basic Operating Procedure Section 1 9...
Page 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Page 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Page 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Page 277: ...248 Communications Frames Section 6 8...
Page 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Page 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Page 391: ...362 Introduction Appendix A...
Page 421: ...392 CompoWay F Master Protocol Appendix B...
Page 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Page 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Page 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Page 627: ...598 ES100 Digital Controller Protocol Appendix K...
Page 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Page 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Page 717: ...688 Visual Inspection System Protocol Appendix O...
Page 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Page 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Page 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Page 781: ...752 Revision History...