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

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

Advertisement

Network Instructions
Description
Transmission through the
Network
Transmission through
Host Link
RECV(098) requests the number of words specified in C beginning at word S
to be transferred from the designated device to the local PLC. The data is
received through the PLC's CPU Bus or over the network and written to the
PLC's data area beginning at D.
Number of words
to receive
A response is required with RECV(098) because the response contains the
data being received. If the response has not been received within the
response monitoring time set in C+4, the request for data transfer will be
retransmitted up to 15 times (retries set in bits 0 to 3 of C+3).
RECV(098) can be used to request a data transmission from a particular
serial port in the source device as well as the device itself.
Data can be received from 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 received from the destination node once
the flags have be set.
RECV(098) can be used to receive data transmitted the specified data area in
a PLC or computer connected by a Controller Link network or Ethernet link
and write that data to the specified data area in the local PLC.
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, RECV(098) can be executed to
receive data from the host computer the next time that the PLC has the right
to transmit commands. It is also possible to receive data from other host com-
puters connected to other PLCs elsewhere in the network.
Host computer
Host Link
Local node
Source node (remote node)
PLC
PLC
Network
Data
Data
Serial port
Section 3-25
PLC
1055

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents