221
5-27-2
NETWORK RECEIVE – RECV(98)
S
: Source beginning word
IR, SR, AR, DM, HR, TC, LR
D
: Destination beginning word
IR, AR, DM, HR, TC, LR
Operand Data Areas
C
: First control data word
IR, AR, DM, HR, TC, LR
Ladder Symbols
RECV(98)
S
D
C
@RECV(98)
S
D
C
Limitations
C through C+2 must be within the same data area and must be within the
values specified below. To be able to use RECV(98), the system must have a
SYSMAC NET Link or SYSMAC 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 SYSMAC NET Link/SYSMAC 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.
The status of bit 15 of C+1 determines whether the instruction is for a SYS-
MAC NET Link System or a SYSMAC LINK System.
Control Data
SYSMAC NET Link Systems
The source port number is always set to 0. Set the network number to 0 to
receive data to a node on the same Subsystem (i.e., network). Refer to the
SYSMAC NET Link System Manual
for details.
Word
Bits 00 to 07
Bits 08 to 15
C
Number of words (0 to 1000 in 4-digit hexadecimal, i.e., 0000
hex
to 03E8
hex
)
C+1
Network number (0 to 127 in
2-digit hexadecimal, i.e., 00
hex
to
7F
hex
)
Bit 14 ON: Operating level 0
OFF: Operating level 1
Bits 08 to 13 and 15:
Set to 0.
C+2
Source node (1 to 126 in 2-digit
hexadecimal, i.e., 01
hex
to 7E
hex
)
Source port
NSB: 00
NSU: 01/02
SYSMAC LINK Systems
Refer to the
SYSMAC LINK System Manual
for details.
Word
Bits 00 to 07
Bits 08 to 15
C
Number of words (0 to 256 in 4-digit hexadecimal, i.e., 0000
hex
to 0100
hex
)
C+1
Response time limit (0.1 and 25.4
seconds in 2-digit hexadecimal
without decimal point, i.e., 00
hex
to
FF
hex
)
Note:
The response time will be
2 seconds if the limit is set to 0
hex
.
There will be no time limit if the
time limit is set to FF
hex
.
Bits 08 to 11:
No. of retries (0 to 15 in
hexadecimal,
i.e., 0
hex
to F
hex
)
Bit 12:
Set to 0.
Bit 13: Set to 0.
Bit 14 ON: Operating level 0
OFF: Operating level 1
Bit 15:
Set to 1.
C+2
Source node (0 to 62 in 2-digit
hexadecimal, i.e., 00
hex
to 3E
hex
)
Set to 0.
Description
Network Instructions
Section 5-27