Network Instructions
Serial Gateway
Communications to a
Component or Host Link
Slave
Flags
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.)
CMND
CP1H
Modbus RTU
Serial cable
Modbus-RTU Slave device
• 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.
CMND
CP1H
Set the destination node address to
the host link unit number + 1 = S+1.
Data
Serial cable
Name
Label
Error Flag
ER
PLC
Host Link Slave
Host link unit number: S
Operation
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.
Section 3-24
881
Need help?
Do you have a question about the CP - PROGRAMMING MANUAL 05-2007 and is the answer not in the manual?
Questions and answers