Omron CJ1W-ETN21 Network Card User Manual


 
166
FINS/UDP Method Section 7-3
It is not necessary to set routing tables if one Communications Unit is
mounted to the PLC and the nodes are connected as one network. For details
on routing table, refer to the section on Creating Routing Tables in the Opera-
tion Manual, Construction of Networks: Section 6 FINS Communications.
7-3-2 Sending Commands from a Host Computer
When sending FINS commands from a computer, the command data in the
computer’s program must be created in command frame format. The frame
formats are also used to decode the responses received from other network
nodes.
Designating Remote
Addresses
The host computer’s UDP sockets are used when sending FINS commands
from a host computer to a PLC. This section provides examples of addressing
remote CPU Units from the host computer for communications.
Note (1) The FINS UDP port number at the Ethernet Unit is set to the default of
9600. It can be changed in the Unit Setup.
(2) Even if the Ethernet network is comprised of multiple segments, set the
same value for the FINS network address.
Example 1: Host Computer and Remote Node (Ethernet Unit) on Same
Network
Communications Parameters Used by Host Computer
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 address: 1
Node address: 100
Unit number: 0
FINS addresses (Host computer):
Network address: 1
Node address: 50
Unit number: 0
Example 2: Host Computer and Remote Node Connected Via Relay Node
(Ethernet Unit)
Destination IP Address: 196.36.32.100 (Ethernet Unit of relay node)
Ethernet
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: i/100/0 (hex)
Controller Link
Ethernet
Ethernet
Unit
Controller Link Unit
Host computer
IP address: 196.36.32.50
FINS network/node/unit: 1/50/0 (hex)
Host computer
IP address: 196.36.32.50
FINS network/node/unit:
1/50/0 (hex)
Relay node
IP address:
196.36.32.100