410
Network Instructions
Section 5-29
5-29-2 NETWORK RECEIVE – RECV(98)
Limitations
C through C+2 must be within the same data area and must be within the val-
ues specified below. To be able to use RECV(98), the system must have a
Controller Link Unit mounted.
Description
When the execution condition is OFF, RECV(98) is not executed. When the
execution condition is ON, RECV(98) transfers data beginning at S from a
node on the Controller Link System to words beginning at D. The control
words, beginning with C, provide the number of words to be received, the
source node, and other transfer parameters.
Control Words
RECV(98) receives “m” words beginning with S (the beginning word for data
transmission at the destination node, M) to the words from D (the beginning
word for data reception at the source node) onwards.
S
:
Source beginning word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
D
:
Destination beginning word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
Operand Data Areas
C
:
First control data word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
Ladder Symbols
RECV(98)
S
D
C
@RECV(98)
S
D
C
Direct/Indirect
0: Direct; 1: Indirect
S: Destination node beginning send word
D: Source node beginning receive word
C: Source node first control data word
Destination node M
Source node
C + 2
@RECV(98)
S
D
C
C + 1 1
Always "1"
Always "1"
0: Response required
1: Response not required
Destination (transmission source) node number (M)
01 to 20 (Hex): 1 to 32
The range of node numbers will vary for networks
other than Controller Link Networks.
0: Source network address not specified (local network)
1: Source network address specified.
Response monitoring time
00 (Hex): 2 s (for 2 Mbps)
4 s (for 1 Mbps)
8s (for 500 Kbps)
01 to FE (Hex): 0.1 to 25.4 s (unit: 0.1 s)
FF (Hex): No response monitoring
Destination (transmission source) unit address
00 (Hex): PC's CPU Unit
01 (Hex): Computer (user program)
10 to 1F (Hex): Unit nos. 0 to 15
FE (Hex): Unit connected to network
C + 3
0
0
Destination network address
00 (Hex): Local network
01 to 7F (Hex): 1 to 127
This setting is enabled only when "Destination network address specified" is set in word C.
When specifying the destination network address, set all the nodes in the routing tables. For
details on the routing tables, refer to the section on network interconnections in the
Controller
Link Unit Operation Manual (W309).
1514131211
8 7
8 7
0
15
0
15
0
Number of retries
0 to F (Hex): 0 to 15 retries
"m" num-
ber of
send
words
D
15
0
15
0
m
S
C
"n" number of send words
000 to 3DE (Hex): 0 to 990 words
15 14
0
000