881
Network Instructions Section 3-24
Serial Gateway
Communications to a
Component or Host Link
Slave
It is possible to send FINS commands (or send/receive data) to a component
or Host Link Slave connected to the PLC through a serial port on a CP1H
Serial Communications Option Board or CJ-series Serial Communications
Unit using the serial gateway function.
• Sending to a Component
(Conversion to CompoWay/F, Modbus-RTU, or Modbus-ASCII)
The serial gateway function can convert the following FINS commands to
CompoWay/F, Modbus-RTU, or Modbus-ASCII commands when the FINS
command is sent to a Serial Communications Board or Unit’s serial port or
one of the CPU Unit’s serial ports (peripheral or RS-232C).
Convert to CompoWay/F command: 2803 hex
Convert to Modbus-RTU command: 2804 hex
Convert to Modbus-ASCII command: 2805 hex (Not supported for serial
ports on CP1H Serial Communications Option Boards.)
• Sending to a PLC operating as a Host Link Slave
The serial gateway function can be used to send any FINS command to a
PLC that is connected as a host link slave and through a serial port on a
CP1H Serial Communications Option Board or CJ-series Serial Commu-
nications Unit. In this case, the destination node address must be set to the
host link unit number + 1.
Flags
Serial cable
Modbus-RTU Slave device
Modbus RTU
CMND
CP1H
PLC
Host Link Slave
Set the destination node address to
the host link unit number + 1 = S+1.
Data
Serial cable
Host link unit number: S
CMND
CP1H
Name Label Operation
Error Flag ER ON if the serial port number specified in C+2 is not within
the range of 00 to 04.
ON if the Communications Port Enabled Flag is OFF for
the communications port number specified in C+4.
OFF in all other cases.