Omron CS1W-CLK21-V1, CVM1-CLK21, CS1W-RPT01, CJ1W-CLK21-V1, C200HW-CLK21, CQM1H-CLK21 174

Models: CS1W-RPT01 CJ1W-CLK21-V1 CVM1-CLK21 CQM1H-CLK21 CS1W-CLK21-V1 C200HW-CLK21

1 401
Download 401 pages 33.98 Kb
Page 197
Image 197

Introduction

Section 6-1

RECV

()RECV(193)

S

D

C

RECV receives “m” words beginning with S (the beginning word for data transmission at the destination node, M) to the words beginning with D (the beginning word for data reception at the source node).

 

 

 

 

Source node

Destination node M

15

0

15

0

D

 

 

 

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"m" num-

 

 

 

 

 

 

 

 

 

 

 

 

m

ber of

 

send

 

 

 

 

 

 

 

 

 

 

words

S: Source node beginning send word

D:Destination node beginning receive word

C:Source node first control data word

15

0

 

15

10

8 7

3

0

C

 

 

C+3

 

0

 

 

 

0

 

 

 

 

"m" number of send words

 

 

 

 

 

 

 

Number of retries

 

 

0001 to 03DE (Hex): 1 to 990 words

 

 

 

 

 

 

 

0 to F (Hex): 0 to 15 retries

15

11

8 7

0

 

 

 

 

Communication port No.

C+1

0

 

 

0

 

 

 

 

 

 

0 to 7

 

 

 

 

 

 

 

 

 

0: Response required

 

 

 

 

 

Destination network address

 

1: Response not required

 

 

 

 

 

00 (Hex): Local network

 

 

 

 

 

 

 

 

 

 

 

 

 

 

01 to 7F (Hex): 1 to 127

 

 

 

 

 

 

 

 

 

15

11

8 7

0

 

 

 

 

 

 

 

 

 

 

C+2

 

 

 

 

 

 

C+4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Destination unit address

00 (Hex): PLC's CPU Unit

01 to 0F (Hex): Computer (user program)

(02 to 0F (Hex) are used when using Controller Link Support Boards for PCI Bus only.)

10 to 1F (Hex): Unit nos. 0 to 15

FE (Hex): Unit connected to network Destination node M

01 to 20 (Hex): 1 to 32 (or 01 to 3E (Hex): 1 to 62)

The range of node addresses will vary for networks other than Controller Link Networks.

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.

Note 1. When using CVM1 and CV-series PLCs manufactured prior to April 1996, 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 des- tination node will reach its destination. It is always possible that the mes- sage 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 oc- curring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend pro- cessing is performed automatically once the number of retries has been set, so be sure to specify a number other than “0” for the number of retries.

174

Page 197
Image 197
Omron CS1W-CLK21-V1, CVM1-CLK21, CS1W-RPT01, CJ1W-CLK21-V1, C200HW-CLK21, CQM1H-CLK21 operation manual 174