EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 913

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
880
Network Instructions Section 3-24
An error will occur if the amount of response data exceeds the number of
bytes of response data set in C+1.
FINS command data can be transmitted to a host computer connected to a
PLC serial port as well as a PLC (CP1H CPU Unit, CS/CJ-series CPU Unit,
CS/CJ-series CPU Bus Unit, or CS-series Inner Board) or computer con-
nected through a Controller Link or Ethernet network.
If the Communications Port Enabled Flag is ON for the communications port
specified in C+3 when CMND(490) is executed, the corresponding Communi-
cations Port Enabled Flag (ports 00 to 07: A202.00 to A202.07) and Commu-
nications Port Error Flag (ports 00 to 07: A219.00 to A219.07) will be turned
OFF and 0000 will be written to the word that contains the completion code
(ports 00 to 07: A203 to A210). The command data will be transmitted to the
destination node(s) once the flags have be set.
Transmission through the
Network (CP1H Only)
CMND(490) can be used to transmit any FINS command to a personal com-
puter or a PLC (CP1H CPU Unit, CS/CJ-series CPU Unit, CS/CJ-series CPU
Bus Unit, or CS-series Inner Board) connected by a Controller Link network or
Ethernet link.
Transmission through
Host Link
When the serial port on a Serial Communications Option Board mounted to
the CPU Unit’s built-in serial port or a serial port on a CJ-series Serial Com-
munications Unit is in host link mode and connected 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 trans-
mit. It is also possible to transmit to other host computers connected to other
PLCs elsewhere in the network.
CMND(490) can be executed for the either port on the CPU Unit (Serial Com-
munications Option Boards) or CJ-series 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 (Serial Communications Option Boards on a CP1H
CPU Unit), or unit number + 10 hexadecimal (CJ-series Serial Communica-
tions Unit).
PLC PLC
Network
FINS command
CMND
CP1H
Host computer
Host Link
FINS command

Table of Contents

Related product manuals