Send And Recv - Omron SYSMAC CS1W-CLK13 Operation Manual

Optical ring controller link units, h-pcf/gi cable
Table of Contents

Advertisement

Introduction
6-1-1

SEND and RECV

CS-series PLCs
SEND
(↑)SEND(90)
S
S: Local node beginning send word
D: Remote node beginning receive word
D
C: Local node beginning control data word
C
C
15
C+1
0
15
C+2
Remote (destination) node N
01 to 3E (Hex): 1 to 62 (*1)
The same data can be broadcast to all nodes
on the network by setting the remote node address to FF
(Hex).
The range of node addresses will vary for networks
other than Controller Link Networks.
*1 Only node addresses 1 to 32 can be specified when Optical Bus Controller Link Units/Boards (CLK11)
are combined in a network with Optical Ring Controller Link Units/Boards operating in token-bus mode.
Note
I/O memory data from other nodes can be read or written by simply using the
program in the CPU Unit of a CS-series, CVM1, or CV-series PLC to execute
SEND and RECV.
SEND transmits "n" words beginning with S (the beginning word for data
transmission at the local node) to "n" words beginning with D (the beginning
word for data reception at the remote node, N.)
"n" number of send words
0000 to 03DE (Hex): 1 to 990 words
11
8 7
0
0
Remote (destination) network address
00 (Hex): Local network
01 to 7F (Hex): 1 to 127
11
8 7
0
Remote unit address
00 (Hex):
PLC's CPU Unit
01 (Hex):
Computer (user program)
10 to 1F (Hex): Unit nos. 0 to 15
E1 (Hex):
Inner Board
FE (Hex):
Unit connected to network
1. When communicating with a CVM1 or CV-series PLC manufactured prior
to April 1996 on the local network, the local network address cannot be set
to "00." Set a number other than "00" as the local network address in the
routing tables, and then specify that number.
2. With the message service, there is no guarantee that a message to a re-
mote node will reach its destination. It is always possible that the message
may be lost in transit due to noise or some other condition. When using the
message service, it is advisable to prevent this situation from occurring by
performing resend processing at the node where instructions are issued.
With the SEND, RECV, and CMND instructions, resend processing is per-
formed automatically once the number of retries has been set, so be sure
to specify a number other than "0" for the number of retries.
Local node
0
15
S
"n" number
of send
words
n
15
11 8 7
3
C+3
0
0
Communication port No.
0 to 7 (Hex)
0: Response required
1: Response not required
C+4
Response monitor time
0000 (Hex): 2 s
0001 to FFFF (Hex): 0.1 to 6,553.5 s
(Unit: 0.1 s)
If the transmission speed is slow, then setting
a small value may generate an error. The
standard is approximately 4 seconds at
1 Mbps or 8 seconds at 500 Kbps.
Section 6-1
Remote (destination) node N
0
15
D
0
Number of retries
0 to F (Hex): 0 to 15 retries
n
143

Advertisement

Table of Contents
loading

Table of Contents