What Are Data Links?

Section 5-1

Using Offsets

For automatically set data links, all of the send words transmitted by a node are received by other nodes with no change in size. For manually set data links, the size of a receive area can be restricted by specifying a number of words from the beginning word of the words sent by another node.

Automatically set data links

Manually set data links

#1

#1

#2

#3

#1

#1

#2

#3

# 2

# 1

# 2

# 3

#2

#1

# 2

# 3

A node can specify the num ber of words to receive from the beginning send word.

#3

#1

#2

#3

#3

#1

#2

#3

However, the above system does not guarantee that only the desired words will be received and therefore the receive node may receive unnecessary data.

Offsetting enables specification of a more specific range of receive data by indicating both the number of words and the starting word position from the beginning of the area. The offset refers to the starting word position counted from the beginning of the area.

Offset from the beginning

Number of words to be received

#1

#1

#2

#3

# 2

 

# 3

 

 

# 1

 

 

# 3

 

 

# 2

 

 

# 2

 

 

 

 

# 1

 

 

 

 

 

 

 

# 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Restricted reception

Restricted reception

from node 1 by

from node 2 by

specifying an offset

specifying an offset

Offsetting Image

#1 Data

#1 Data

I only need this.

I need all of it.

Application Example of In the following example, the send data from node 1 is split into three parts

Using Offsetsand each part is received by a different node, i.e., each of the other nodes receives only part of the send data from node 1. This enables effective use of data link memory areas without wasting space. In this way, a type of message service (i.e., specific data to a specific node) can be achieved through data links.

110

Page 133
Image 133
Omron CS1W-RPT01, CVM1-CLK21, CJ1W-CLK21-V1, C200HW-CLK21, CQM1H-CLK21, CS1W-CLK21-V1 Using Offsets, Offsetting Image