Omron CS1W-ETN21 Automatic Generation Method Dynamic/Static, Example Number Example

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 122
Image 122

IP Addresses in FINS Communications

Section 5-2

Pairing IP Addresses with FINS Node Addresses at Local Nodes

Sending Ethernet Unit FINS Messages

A particular IP address is allocated to each communications node, including Ethernet Units. The IP address must be paired with the FINS node address (1 to 254) by one of the following methods.

Automatic Generation Method (Dynamic/Static)

Set the relation between the IP address and the FINS node address for the Ethernet Unit according to the following equation. If the setting does not con- form to this equation, a setting error will be generated and the ERH indicator will flash.

FINS node address = IP address host number

IP Address Table Method and Combined Method

With these methods, the IP address and the FINS node address for the Ether- net Unit have no particular relationship. Set both the FINS node address and the IP address so that they are not duplicated in the network.

When the Ethernet Unit sends a FINS message, it must determine the remote node's IP address, UDP port number, and TCP port number. The relation- ships between all addresses, such as remote FINS node addresses and IP addresses, are managed by an internal table at the Ethernet Unit.

Remote FINS node

Remote IP address

Connection

Remote port

address

(Example)

 

number (Example)

 

 

 

 

1

192.168.250.1

UDP

9600

 

 

 

 

2

192.168.250.2

UDP

9600

 

 

 

 

to

 

 

 

 

 

 

 

254

192.168.250.254

UDP

9600

 

 

 

 

When the Ethernet Unit is turned ON or restarted, the internal table is gener- ated automatically from the various settings that have been made. Depending on the setting method used, data such as remote IP addresses are changed dynamically. (Dynamic changes can be prohibited.)

FINS header

FINS data

Internal table

Remote port

 

 

 

Remote FINS

Remote IP

 

 

 

 

node number

address (Example) Connection

number

 

 

 

(Example)

 

 

 

1

192.168.250.1

UDP

9600

 

 

 

2

192.168.250.2

UDP

9600

 

 

 

!

 

 

 

 

 

 

!

 

 

 

 

 

 

!

 

 

 

 

 

 

254

192.168.250.254

UDP

9600

 

 

 

Application level

FINS

 

Node number

 

 

 

 

 

 

 

Transport level

 

UDP

UDP port

TCP port

 

 

 

 

number

TCP

number

Internet level

 

IP

 

 

IP address

 

 

 

 

 

 

 

Physical level

 

Ethernet

 

 

 

Ethernet address

 

 

 

 

 

 

 

Remote node

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Application level

FINS

 

 

Node number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transport level

UDP

UDP port

 

 

 

TCP

TCP port

 

 

 

 

number

 

 

 

 

number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Internet level

IP

 

 

 

 

 

 

 

 

 

 

 

 

IP address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Physical level

Ethernet

 

 

 

 

 

 

 

 

 

 

 

 

 

Ethernet address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The remote node's IP address, UDP/TCP method, UDP port number, and TCP port number are calculated from the node number in the FINS message, and an Ethernet frame is generated.

Ethernet V2

IP

UDP

FINS header

FINS data

97

Page 122
Image 122
Omron CS1W-ETN21 operation manual Automatic Generation Method Dynamic/Static, IP Address Table Method and Combined Method