32
6 F 3 B 0 3 6 2
4.2 Ethernet Port Instruction Specifications
Before discussing the software side of the Ethernet Port setup procedure, this section presents an
overview of the SEND and RECV instructions, which are the instructions that are used to control
the Ethernet Port from T2N user programs. Ethernet Port control and transmission control (PC link
protocol transmission and socket interface transmission) are performed solely using the SEND and
RECV instructions.
See the individual items for details on the actual requests sent to the Ethernet Port.

(1) Instruction format

Figure 4.2 shows the formats of the SEND and RECV instructions.
Operand
Name Device Register INDEX Index
XYSLRZX
WY
WS
WL
WR
WWTC D FI
WO
WIJK
ATransfer parameter üüüüüüüüüüü ü
BStatus üüüüüüüüüü ü
Input Operation Output ERF
OFF No execution OFF OFF
ON Execution
Transmission port instruction busy/instruction execution in
progress (response wait) OFF OFF
Response reception complete (normal complete) ON OFF
Instruction error ON ON
Figure 4.2 SEND/RECV Instruction Formats
<Important items>
a. ERF is the S0051 special relay. See the T-series Instruction Set for information on ERF
usage.
b. For these instructions, instruction execution starts at the point the input changes state
from off to on.
c. Since these instructions span multiple scans, applications must hold the input in the on
state until the output goes to the on state.
If the input is turned off before the output goes on, the system will not be able to execute the
following instruction processing normally.
d. After instruction execution terminates, it is possible to start execution again by applying a
new input.
Con-
stant
[A SEND B]
[A RECV B]
Input Output
Input Output