Communicating between OMRON PLCs

Section 6-6

RECV(098)

(@)RECV(98)

S

D

C

With the RECV(098) instruction, the data in m number of words, starting from the beginning word S at the remote node (node address M) is received at the words starting from the beginning word D at the local node.

 

 

 

Local node

Remote node number N

15

0

15

0

D

 

 

 

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

m

 

 

 

Number

 

 

 

 

 

 

 

 

 

 

 

 

of words

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(m)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S:Remote node beginning word

D:Local beginning word

C:First word of control data (below)

15

 

 

0

 

15

 

10

8 7

3

0

C

 

 

 

 

 

 

 

C+3

 

0

 

 

 

0

 

 

 

 

 

 

 

 

 

Number of reception words (m) 0001 to 03DE (Hex): 1 to 990 words

 

15

11

8 7

0

C+1

0

 

0

 

 

 

 

 

 

 

 

 

 

 

Destination network number

 

 

 

00 (Hex):

 

Local network

 

 

 

01 to 7F (Hex):

1 to 127

15

11

8 7

 

0

 

C+2

 

 

 

 

 

C+ 4

 

 

 

 

 

Number of retries

0 to F (Hex): 0 to 15 retries

Communications port number: 0 to 7

Response

0:Required.

1:Not required.

Destination Unit address

Response monitor time

0000 (Hex): 2 s

00 (Hex):

CPU Unit

0001 to FFFF (Hex): 0.1 to 6,553.5 s

10 to 1F: (Hex):

Unit #0 to #15

E1 (Hex):

Inner Board

(in units of 0.1 s)

FE (Hex):

Unit connected to network

 

Remote node number M (send source)

00 to FE (Hex): 0 to 254

The range of node addresses is different for networks other than Ethernet.

Note The message services function does not guarantee that a message will reach the destination node. A message may be lost during transmission due to fac- tors such as noise. In order to prevent this from occurring when using mes- sage services, it is common to set up retry processing at the node from which instructions are issued. With the SEND(090), RECV(098), and CMND(490) instructions, retry processing is executed automatically by specifying the num- ber of retries, so specify a number other than 0.

138

Page 163
Image 163
Omron CS1W-ETN21 operation manual RECV098