Omron CQM1H-CLK21, CVM1-CLK21, CS1W-RPT01, CJ1W-CLK21-V1 Send and Recv, CS/CJ-series PLCs

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

1 401
Download 401 pages 33.98 Kb
Page 190
Image 190
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 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
C+3

Introduction

 

Section 6-1

 

 

 

Message service

SEND/RECV instructions

CMND instruction (FINS commands)

 

 

 

Source node: Destination

SEND:

1:1 or 1:N (broadcast)

node

1:1 or 1:N (broadcast)

There are no responses for broadcasting.

 

There are no responses for broadcasting.

 

 

 

 

 

RECV: 1:1

 

 

 

 

Data length

1,980 bytes max. (990 words)

1,990 bytes max.

 

 

 

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(90)

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.)

 

 

Source node

Destination node N

15

0

15

0

S

 

 

"n" number

D

 

n

 

 

 

 

of send

 

 

words n

S D C

S: Source node beginning send word

D:Destination node beginning receive word

C:Source node first control data word

150 C

"n" number of send words

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

 

15

11

8 7

0

C+1

0

 

0

 

 

Destination network address 00 (Hex): Local network 01 to 7F (Hex): 1 to 127

15

11

8 7

0

C+2

user setting and the automatic setting

15

10

8 7

3

0

 

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

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.

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 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.

167

Page 190
Image 190
Omron CQM1H-CLK21, CVM1-CLK21, CS1W-RPT01, CJ1W-CLK21-V1, C200HW-CLK21, CS1W-CLK21-V1 Send and Recv, CS/CJ-series PLCs