Omron CQM1H-CLK21 Network Card User Manual


 
167
Introduction Section 6-1
6-1-1 SEND and RECV
I/O memory data from other nodes can be read or written by simply using the
program in the CPU Unit of a C200HX/HG/HE, CS/CJ-series, CVM1, CV-
series, or CQM1H-series PLC to execute SEND and RECV.
CS/CJ-series PLCs
SEND SEND transmits “n” words beginning with S (the beginning word for data
transmission at the source node) to “n” words beginning with D (the beginning
word for data reception at the destination node, N.)
Note 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.
Source node: Destination
node
SEND:
1:1 or 1:N (broadcast)
There are no responses for broadcasting.
1:1 or 1:N (broadcast)
There are no responses for broadcasting.
RECV: 1:1
Data length 1,980 bytes max. (990 words) 1,990 bytes max.
Message service SEND/RECV instructions CMND instruction (FINS commands)
S: Source node beginning send word
D: Destination node beginning receive word
C: Source node first control data word
Destination node N
01 to 20 (Hex): 1 to 32 (or 01 to 3E (Hex): 1 to 62)
The same data can be broadcast to all nodes
on the network by setting the destination node address to
FF (Hex).
The range of node addresses will vary for networks
other than Controller Link Networks.
@SEND(90)
S
D
C
C+1 0 0
C+3 0 0
Number of retries
0 to F (Hex): 0 to 15 retries
Communication port No.
0 to 7 Hex
0: Response required
1: Response not required
C+4
C
"n" number of send words
0000 to 03DE (Hex): 1 to 990 words
15 11 8 7 0
Destination network address
00 (Hex): Local network
01 to 7F (Hex): 1 to 127
C+2
15 11 8 7 0
Destination unit address
00 (Hex): PLC's CPU Unit
01 to 0F (Hex): Computer (user program)
10 to 1F (Hex): Unit nos. 0 to 15
E1 (Hex): Inner Board
FE (Hex): Unit connected to network
15 10 8 7 3 0
Response monitor time
0000 (Hex): 2 s
0001 to FFFF (Hex): 0.1 to 6,553.5 s
(Unit: 0.1 s)
If the baud rate 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.
15 0
Destination node N
"n" number
of send
words
n
S
15 0
n
D
15 0
Source node
(02 to 0F (Hex) are used
when using a Controller Link
Support Board for PCI Bus
only.)
user setting and the automatic setting user setting and the automatic setting user setting and the automatic setting