935
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Network Instructions
3
RECV
RECV
Applicable Program Areas
Operands
C: First Control Word
Instruction Mnemonic Variations
Function
code
Function
NETWORK RECEIVE RECV @RECV 098
Requests data to be transmitted from a node in
the network and receives the data.
Symbol
RECV
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S First source word (remote node) UINT Variable
D First destination word (local node) UINT Variable
C First control word WORD 5
S: First source word (remote node)
D: First destination word (local node)
C: First control word
RECV(098)
S
D
C
C+1
Source network address
#00 to 7F hex (0 to 127)
#00: Local network (See note 2)
8
1112
34
15
07
C
0
15
Number of receive (send request) words
0001 to maximum data length (hex)
(Depends on the network.
Example: In the case of Controller Link,
&1 to 990 decimal or
#0001 to 03DE hex)
Serial port number (physical port) (See note 1)
#0: Not used
#1: Port 1
#2: Port 2
#0: Fixed
C+2
Source unit address (See note 5)
Source node address (hex): (See note 4)
00 to maximum node address (hex)
(Depends on the network.
Example: In the case of Controller Link,
#00 to 20 hex (0 to 32))
8
15
07