![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586256.webp)
227
Serial Gateway
Section 6-6
The processing flowchart is as follows:
The details of the processing flow are as follows:
Protocol Macro Priority over Serial Gateway
When the Serial Gateway is enabled during protocol macro mode and a FINS
command is received and if the command in the next step is a RECEIVE com-
mand, this next step will be executed without executing conversion, transmis-
sion, and response reception processing for the Serial Gateway.
After the step containing the RECEIVE command is completed, if the next
step contains any command except the RECEIVE command (SEND,
SEND&RECV, WAIT, FLUSH, OPEN, or CLOSE), the protocol macro commu-
nications sequence is temporarily suspended before the next step is exe-
cuted, and the FINS command conversion and transmission is executed on an
interrupt between steps using the Serial Gateway.
Until the response is received, the command in the step is not executed. After
the response is received, the protocol macro is resumed, starting execution
from the communications sequence step that was suspended.
The step that is executing when a FINS command is received is not inter-
rupted. Therefore, if the WAIT command is executing, the Serial Gateway will
not be executed.
Immediate Execution of Serial Gateway
When the Serial Gateway is enabled during protocol macro mode and a FINS
command is received and if the command in the next step is any command
except the RECEIVE command (SEND, SEND&RECV, WAIT, FLUSH, OPEN,
or CLOSE), the protocol macro communications sequence is temporarily sus-
pended before the next step is executed, and the FINS command conversion
and transmission is executed on an interrupt between steps using the Serial
Gateway.
Until the response is received, the command within the next step is not exe-
cuted. After the response is received, the protocol macro is resumed, starting
execution from the communications sequence step that was suspended.
Serial Gateway enabled, FINS command received
Any command except RECEIVE
RECEIVE command
The next queued step is executed.
Command in
next step
RECEIVE command takes priority,
and the next step is executed.
Serial Gateway takes priority and
conversion, transmission, and re-
sponse reception processing is exe-
cuted on an interrupt between steps.
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...