Omron CS1W-ETN21 operation manual Example, Combined Method

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 124
Image 124

IP Addresses in FINS Communications

Section 5-2

IP Address Table Method With this method, FINS node addresses are converted to IP addresses based on a correspondence table (IP address table) that is preset in the Unit setup.

The IP address table is set using the CX-Programmer in IP Address Table under Settings in the Unit Setup. It can be registered for nodes in different segments and with different network numbers.

The internal table will be as follows:

FINS Node Address Registered to IP Address Table The following address is registered to the internal table.

• Remote IP address:

IP address registered to IP address table

• Remote UDP port number: UDP port number set for local Unit

• Connection method:

FINS/UDP

FINS Node Address Not Registered to IP Address Table The following address is registered to the internal table.

• Remote IP address:

0.0.0.0

• Remote UDP port number: UDP port number set for local Unit

• Connection method:

FINS/UDP

With the IP address table method, records of FINS nodes registered to the IP address table are not changed dynamically. For all others node, the data from FINS nodes registered with a remote IP address of 0.0.0.0 can be dynami- cally changed when the Unit is turned ON or restarted, according to FINS messages received from remote nodes. This can be used effectively when the remote node is a device such as a personal computer and IP addresses are dynamically changed by a method such as DHCP.

Example

When FINS Command is Sent

FINS node number

IP address table

FINS node

number

IP address

Node number in IP address table

18153.214.0.62

20153.214.0.129

23153.218.51.8

IP address 153.214.0.129 FINS command sent

When FINS Command is Received

 

FINS node number

 

 

 

 

Node number not

 

Internal table

 

 

in IP address table

25

153.218.51.10

IP address 153.218.51.10

 

 

 

Changed

 

 

FINS response returned

Combined Method

The combined method combines the IP address table method and the auto-

 

matic generation method (dynamic).

 

First the IP address table is referenced. Then, if the applicable FINS node address is found, the corresponding IP address is read. If the FINS node address is not found, the IP address is calculated using the automatic genera- tion method (dynamic).

The internal table will be as follows:

FINS Node Address Registered to IP Address Table The following address is registered to the internal table.

• Remote IP address:

IP address registered to IP address table

• Remote UDP port number: UDP port number set for local Unit

99

Page 124
Image 124
Omron CS1W-ETN21 operation manual Example, Combined Method