Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1102

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Network Instructions
Transmission through
Host Link
When the CPU Unit's built-in serial port, a Serial Communications Board (CS
Series only), or Serial Communications Unit is in host link mode and con-
nected one-to-one with a host computer, CMND(490) can be executed to
transmit any FINS command from the PLC to the host computer the next time
that the PLC has the right to transmit. It is also possible to transmit to other
host computers connected to other PLCs elsewhere in the network.
Host computer
Host Link
CMND(490) can be executed for the either port on the CPU Unit, a Serial
Communications Board (CS Series only), or Serial Communications Unit to
send a command to the connected host computer. (Specify the serial port as
1 hex or 2 hex in bits 08 to 11 of C+2.) The command is a FINS message
enclosed between a host link header and terminator. Any FINS command
command can be sent; the host link header code is 0F hexadecimal.
A program must be created in the host computer to process the received com-
mand (the FINS command enclosed in the host link header and terminator).
If the destination serial port is in the local PLC, set the network address to 00
(local network) in C+2, set the node address to 00 (local PLC) in C+3, and set
the unit address to 00 (CPU Unit), E1 (Inner Board, CS Series only), or unit
number + 10 hexadecimal (Serial Port Unit).
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 its serial port with 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 (See note.)
Convert to Modbus-ASCII command: 2805 hex (See note.)
Note The Modbus-RTU and Modbus-ASCII commands cannot be sent to
the CPU Unit's serial ports.
FINS command
Section 3-25
PLC
1063

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents