![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681094.webp)
1055
Network Instructions
Section 3-25
Description
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.
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.
Transmission through the
Network
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.
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, 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.
Local node
Source node (remote node)
Number of words
to receive
PLC
PLC
Data
Network
PLC
Host computer
Host Link
Data
Serial port
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...