15-21
15 Ethernet
CP2E CPU Unit Software User’s Manual(W614)
15-4 FINS Communications
15
15-4-4 PLC Setup for FINS/UDP and FINS/TCP Applications
The following settings can be made for each connection number.
For details, refer to SECTION 6 FINS Communications Service in the Ethernet Units Operation
Manual Construction of Networks (Cat. No. W420).
Item Contents Default
FINS/TCP Port Specify the local TCP port number to be used for the FINS communications
service. The TCP port number is the number used for TCP identification of
the application layer (i.e., the FINS communications service in this case).
• Default (9,600)
• User defined (Setting range: 1 to 65,535)
0 (9,600)
FINS/TCP con-
nection Setting
Shows the connection number. This is a network API used when TCP is
used for the FINS communications service. It corresponds to a socket in the
socket services. Up to 3 can be used at a time, and they are identified by
connection numbers 1 to 3. The PLC can thus simultaneously execute the
FINS communications service by TCP with up to 3 remote nodes.
Protect by IP
Address
When this option is selected, if the PLC is set for use as a server, and if a
connection number other than 0.0.0.0 is set for a destination IP address, any
connection request from other than the number set for that IP address will be
denied.
Select this option to prevent faulty operation (by FINS commands) from spe-
cific nodes from affecting the PLC.
Not protected
Item Contents Default
FINS/TCP
Server/Client
For each connection number, this setting specifies the PLC for use as either
a server or a client.
• When the PLC is used as a server:
The PLC opens a connection with that connection number and waits for
service requests from clients. Connection numbers are used in ascending
order and allocated to clients in the order connections are made.
• When the PLC is used as a client:
The PLC establishes a connection with the server set as the destination IP
address. Once the connection has been established, FINS/TCP is used for
FINS communications.
Server
Destination IP
Address
• When the PLC is used as a server:
If the option is selected to use IP addresses to protect, set the IP
addresses as required at clients from which connection is permitted. If not
set for those connections, the default setting of 0.0.0.0 can be used.
• When the PLC is used as a client:
Set the IP address for the remote PLC (i.e., the server) that is to be con-
nected by FINS/TCP. It is required that an IP address be set for the remote
PLC.
0.0.0.0
Auto allocated
FINS node
If the client (normally a personal computer) application supports FINS/TCP,
and if FINS node addresses are not fixed, the client will take 0 as its node
address. Then, when a FINS command arrives, the number set here (from
251 to 253) will automatically be allocated as the client’s FINS node
address.
Connection
No.1 to 3
No.1: 0 (251)
No.2: 0 (252)
No.3: 0 (253)
keep-alive For each connection number, set whether or not the remote node connection
check function is to be used for the FINS/TCP server and client.
If the keep-alive box is checked here, then, when the remote node goes with-
out responding for longer than the monitor time set in the Setup, the connec-
tion will be terminated. If a remote node turns OFF without warning, the
connection will remain open indefinitely, so this option should be used when-
ever possible.
Not use