873
Network Instructions Section 3-24
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: 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). 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.
Holding Bit Area H0 to H511 H0 to H507
Auxiliary Bit Area A0 to A447
A448 to A959
A448 to A959 A0 to A443
A448 to A955
Timer Area T0000 to T4095 T0000 to T4091
Counter Area C0000 to C4095 C0000 to C4091
DM Area D0 to D32767 D0 to D32763
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants ---
Data Registers ---
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area S D C
Local node
Source node (remote node)
Number of words
to receive