Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 1088

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Network Instructions
Transmission through the
Network
Transmission through
Host Link
1048
Data can be transmitted to a host computer connected to the PLC's serial port
(when set to host link mode) as well as a PLC or computer connected through
a Controller Link or Ethernet network.
If the Communications Port Enabled Flag is ON for the communications port
specified in C+3 when SEND(090) is executed, the corresponding Communi-
cations Port Enabled Flag (ports 00 to 07: A20200 to A20207) and Communi-
cations Port Error Flag (ports 00 to 07: A21900 to A21907) will be turned OFF
and 0000 will be written to the word that contains the completion code (ports
00 to 07: A203 to A210). Data will be transmitted to the destination node once
the flags have be set.
SEND(090) can be used to transmit data from the PLC to the specified data
area in a PLC or computer connected by a Controller Link network or Ethernet
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, SEND(090) can be executed to
transmit data 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
If SEND(090) is sent to the serial port of the CPU Unit, a Serial Communica-
tions Board (CS Series only), or Serial Communications Unit, a command is
sent from the serial port to the host computer. The command is a FINS mes-
sage enclosed between a host link header and terminator. The FINS com-
mand is a MEMORY AREA WRITE command (command code 0102) and 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+1, set the node address to 00 (local PLC) in C+2, and set
the unit address to 00 (CPU Unit), E1 (Inner Board (CS Series only), or unit
number + 10 hexadecimal (Serial Port Unit).
Sending Data to a Host Link Slave PLC Connected by Serial Gateway
The serial gateway function can be used to send data to a PLC connected as
a host link Slave to a Serial Communications Board or Unit. In this case, the
destination node address must be set to the host link unit number + 1.
Network
Data
Data
Serial port
Section 3-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents