Omron CS1W-FLN22 Operation Manual page 121

100base-tx, sysmac cs / cj series, fl-net units
Table of Contents

Advertisement

Sending Commands from a PLC
Note
Using SEND(090), RECV(098), and CMND(490)
SEND(090)
S: Local node beginning word
D: Destination beginning word
C: First word of control data (below)
Area
Auxiliary Area
Timer Area
Counter Area
DM Area
EM Area
1. Data cannot be written to words A000 to A447 in the Auxiliary Area.
2. A maximum of 13 banks in the EM Area can be used. For details regarding
the EM Area, refer to the operation manual for the PLC that is used.
Make the settings shown below when using the SEND(090), RECV(098), and
CMND(490) instructions in the user's ladder-diagram program in the CPU
Unit.
The SEND(090) instruction sends the data in n number of words, starting from
the beginning word S at the local node, to the words starting from the begin-
ning word D at the remote destination node (node number N).
Number of words (n)
0001 to 03DE (Hex): 1 to 512 words
Destination network number
00 (Hex):
Local network
01 to 7F (Hex): 1 to 127
Destination unit address
00 (Hex):
10 to 1F: (Hex): Unit #0 to #15
E1 (Hex):
FE (Hex):
Destination node number N
00 to FE (Hex); 0 to 254
The range of node addresses is different for networks other than Ethernet.
Note The message service does not guarantee that a message will reach the desti-
nation node. A message may be lost during transmission due to factors such
as noise. To prevent this from occurring when using message services, it is
common to set up retry processing at the node from which instructions are
sent. With the SEND(090), RECV(098), and CMND(490) instructions, retry
processing is executed automatically by specifying the number of retries, so
specify a number other than 0.
Range
A000 to A959 (See note 1.)
TIM0000 to 4095
CNT0000 to 4095
D00000 to D32767
E00000 to E32767 (See note 2.)
Local node
Number
of words
(n)
Communications port number: 0 to 7
Response
0: Required.
1: Not required.
Response monitor time
0000 (Hex): 2 s
0001 to FFFF (Hex): 0.1 to 6,553.5 s (in
CPU Unit
units of 1 s)
Unit connected to network
Unit connected to network
Section 7-2
Destination node number N
Number of retries
0 to F (Hex): 0 to 15 retries
95

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-fln22

Table of Contents