Network Receive - Recv(98) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Network Instructions
5-29-2 NETWORK RECEIVE – RECV(98)
Limitations
Description
@RECV(98)
410
Ladder Symbols
RECV(98)
S
D
C
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.
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: Destination node beginning send word
D: Source node beginning receive word
S
C: Source node first control data word
D
C
15 14
C
000
"n" number of send words
000 to 3DE (Hex): 0 to 990 words
0: Source network address not specified (local network)
1: Source network address specified.
1514131211
8 7
C + 1 1
Number of retries
0 to F (Hex): 0 to 15 retries
Direct/Indirect
0: Direct; 1: Indirect
0: Response required
1: Response not required
Always "1"
Always "1"
15
8 7
C + 2
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
15
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).
S: Source beginning word
@RECV(98)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
S
D: Destination beginning word
D
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
C
C: First control data word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
Source node
15
0
D
m
0
0
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
0
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
Section 5-29
Operand Data Areas
Destination node M
15
0
S
"m" num-
ber of
send
words

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents