Справочник Пользователя для Omron CS1W-ETN11

Скачать
Страница из 317
97
Sending Commands From a Host Computer
Section 5-4
Example 1: Intranetwork 
Addressing
In this example, the host computer and the remote node (Ethernet Unit) are
on the same network. The communications parameters specified from the
host computer would be as follows:
Destination IP Address: 196.36.32.100 (Ethernet Unit of remote node)
UDP port number:
FINS UDP port No. (Ethernet Unit of remote node)
FINS addresses (Remote node CPU Unit):
Network number:
1
Node number:
100
Unit number:
0
FINS addresses (Host computer):
Network number:
1
Node number:
50
Unit number:
0
Example 2: Internetwork 
Addressing
In this example, the host computer and the remote node (Ethernet Unit) are
on different networks, connected by a relay node. The communications
parameters specified from the host computer would be as follows:
Destination IP Address: 196.36.32.100 (Ethernet Unit of relay node)
UDP port number:
FINS UDP port number (Ethernet Unit of relay node)
FINS addresses (Remote node CPU Unit):
Network number:
2
Node number:
1
Unit number:
0
FINS addresses (Host computer):
Network number:
1
Node number:
50
Unit number:
0
5-4-2
FINS Frames
The FINS communications service is carried out through the exchange of
FINS command frames and their corresponding response frames. (There are
also commands with no responses.)
Both command frames and response frames are comprised of a FINS header
for storing transfer control information, a FINS command field for storing a
command, and a FINS parameter/data field for storing command parameters
and transmission/response data.
Host computer
IP address: 196.36.32.50
FINS network/node/unit: 1/50/0 (Hex)
Remote node
IP address: 196.36.32.100
FINS network/node/unit: 1/100/0 (Hex)
Ethernet
Host computer
IP address: 196.36.32.50
FINS network/node/unit: 1/50/0 hex)
Relay node
IP address: 196.36.32.100
Remote node 
FINS network/node/unit: 2/1/0 (Hex)
Ethernet Unit
Controller Link
Ethernet
Controller Link Unit