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.