Network Receive Instruction - Recv(98) - Omron CS1W-SLK11-21 - 06-2004 Manual

Sysmac link units
Table of Contents

Advertisement

PLC Network Instructions
6-2-6

NETWORK RECEIVE Instruction - RECV(98)

Format
Ladder Symbol
(98)
RECV
S
Variations
@RECV(98)
Control Data
Note
1,2,3...
The RECV(98) instruction enables the local node to write to its memory, data
sent from a node either on a local or remote network.
The format of the RECV(98) instruction is as follows:
Operand Data Areas
st
S: 1
D
C
st
D: 1
st
C: 1
*Indirect addressing only
Set the source node address to $00 to send data within the PLC executing the
instruction.
Word
Bits 00 to 07
C
Number of words (1 to 256 in 4-digit hexadecimal, i.e., $0001 to $0100)
C+1
Source network address
(0 to 127, i.e., $00 to $7F)
C+2
Source unit address
C+3
Bits 00 to 03: No. of retries
(0 to 15 Hex, i.e., $0 to $F)
Bits 04 to 07: Set to 0.
C+4
Response monitoring time ($0001 to $FFFF = 0.1 to 6553.5 seconds)
Transmissions cannot be received from the PLC executing RECV(98).
1. Number of Words
Set the total number of words to be transferred.
2. Source Network Address
Set the Source network address to 00 if you send the data to within the lo-
cal network. If more than one SYSMAC LINK Unit, Controller Link Unit, or
Ethernet Unit is mounted on the PLC, the network of the Unit with the
smallest unit address will be considered to the local network.
3. Source Node Address
Set the source node address to 00 for devices at the local node.
4. Source Unit Address
Set the source unit address to 00 if the destination is a PLC. If it is a user
application on a computer, set the destination unit to 01 (user application
01). For a BASIC Unit, add 10 to the unit number (0 to F) so that the des-
tination unit address is from 10 to 1F.
Destination
PLC (CPU)
NSB (computer)
CPU Bus Unit
Inner Board
Unit connected with the network
5. Response Bit (Bit 15 of C+3)
Always set this bit to OFF (0: response required).
source word
CIO, W, H, A, T, C, DM, DR*, IR*
destination word CIO, W, H, A, T, C, DM, DR*, IR*
control word
CIO, W, H, A, T, C, DM, DR*, IR*
Bits 08 to 15: Set to 0.
Source node address
Bits 08 to 11: Port number ($0 to $7)
Bit 12 to 14: Set to 0.
Bit 15: ON: No response.
Address (hexadecimal)
00
01 (user application)
10 to 1F: Unit Number 0 to F (0 to15)
E1
FE
Section 6-2
Bits 08 to 15
OFF: Response returned.
99

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Sysmac cs1w-slk11Sysmac cs1w-slk21

Table of Contents