Send And Recv - Omron SYSMAC CS1W-RPT01 Operation Manual

Controller link units
Hide thumbs Also See for SYSMAC CS1W-RPT01:
Table of Contents

Advertisement

Introduction
Message service
Source node: Destination
node
Data length
6-1-1

SEND and RECV

CS/CJ-series PLCs
SEND
@SEND(90)
S
S: Source node beginning send word
D: Destination node beginning receive word
D
C: Source node first control data word
C
15
C
15
C+1
0
15
C+2
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.
Note
SEND/RECV instructions
SEND:
1:1 or 1:N (broadcast)
There are no responses for broadcasting.
RECV: 1:1
1,980 bytes max. (990 words)
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.
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.)
0
"n" number of send words
0000 to 03DE (Hex): 1 to 990 words
11
8 7
0
0
Destination network address
00 (Hex): Local network
01 to 7F (Hex): 1 to 127
11
8 7
0
Destination unit address
00 (Hex):
PLC's CPU Unit
01 to 0F (Hex): Computer (user program)
(02 to 0F (Hex) are used
when using a Controller Link
Support Board for PCI Bus
only.)
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.
CMND instruction (FINS commands)
1:1 or 1:N (broadcast)
There are no responses for broadcasting.
1,990 bytes max.
Source node
15
0
S
"n" number
of send
words
n
user setting and the automatic setting
user setting and the automatic setting
user setting and the automatic setting
15
10 8 7
3
C+3
0
0
Number of retries
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 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.
Section 6-1
Destination node N
15
0
D
n
0
0 to F (Hex): 0 to 15 retries
169

Advertisement

Table of Contents
loading

Table of Contents