![Omron SYSMAC CJ1W-SCU21-V1 Operation Manual Download Page 229](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586229.webp)
200
Serial Gateway Overview
Section 6-1
Note
If the Serial Gateway Prohibit Switch allocated in the CIO Area is OFF, the
Serial Gateway is enabled whether protocol macros are being executed or
not. During execution of protocol macros, however, the Serial Gateway is pro-
cessed using interrupts between steps in the communications sequence.
6-1-4
Serial Gateway Specifications
Item
Details
Conversion source
FINS command (received via network (including Host Link
FINS) or CPU bus)
Conversion functions • Received FINS commands are converted according to the
following values before sending to the serial port of the
Board/Unit.
2803 hex: Removes FINS header and converts to Compo-
Way/F command
2804 hex: Removes FINS header and converts to Modbus-
RTU command
2805 hex: Removes FINS header and converts to Modbus-
ASCII command
• When a received FINS command is sent to the Board/Unit
(any FINS command code), the FINS command is enclosed
in Host Link header and terminator.
After conversion
• CompoWay/F commands
• Modbus-RTU commands
• Modbus-ASCII commands
• Host Link FINS commands
Supported serial
communications
modes
Serial Gateway mode or protocol macro mode
Queuing
Up to 5 FINS commands can be queued for conversion/trans-
mission standby.
Processing during
protocol macro exe-
cution
When a FINS command is received during execution of a pro-
tocol macro, the Serial Gateway is executed as an interrupt
between steps in the communications sequence. If the next
step is a receive command, however, the Serial Gateway will
not be executed and will be delayed. Under all other condi-
tions, the serial gateway is executed immediately.
Note
The reception buffer is cleared during Serial Gateway
execution.
Note
The Serial Gateway can be prohibited during protocol
macro mode by turning ON the Serial Gateway Prohibit
Switch (in the CIO Area).
Response timeout
monitoring
The time is monitored from when a message converted to
another protocol using the Serial Gateway is sent until a
response is received (enabled in Serial Gateway mode or pro-
tocol macro mode).
Default: 5 s; Setting range: 0.1 to 25.5 s
Note
If a timeout occurs, the FINS end code is returned to the
source of the FINS command (0205 hex: Response tim-
eout). If a response is received after a timeout, however,
the message is converted and returned to the source of
the FINS command.
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...