18
Overview of Communications Functions Section 1-5
Executing, from the host computer, FINS commands with UDP/IP or TCP/IP
headers enables various control operations, such as the reading and writing
of I/O memory between PLCs, mode changes, and file memor y operations.
For example, it is possible to connect online via Ethernet from FINS communi-
cations applications such as the CX-Programmer, and to perform remote pr o-
gramming and monitoring. (See note.)
Note Use CX-Programmer version 4.0 to use TCP/IP. For lower versions of CX-Pro-
grammer, FinsGateway Version 2003 or higher is required to use TCP/IP.
The FINS gateway function enables access to PLCs on not only the same
Ethernet network but on various other networks, including SYSMAC LINK and
Controller Link.
Upgraded Functions Wi th the C S1W-ETN21 and CJ 1W-ETN21, the following functio ns have been
upgraded.
The FINS c om munic ati ons se r vice can be executed not only with UDP/IP
but also with TCP/IP, and it is even possible to use FINS communications
with both UDP/IP and TCP/IP together on the same network. Using TCP/
IP makes FINS communications highly reliable.
Even if the IP a ddress and UDP port number of the host computer (a
DHCP client computer) are changed, it is still possible for the host com-
puter to send FINS commands to PLCs on the Ether net network and to
receive responses. When UDP is used, either the auto matic generation
(dynamic) method or the IP address table method must be se lected for IP
address conversion. When TCP is used, changes in IP address and TCP
port numbers are handled automatically.
Multiple F INS a ppl icati on s (CX-Programmer and user-created application
programs) at the same computer can be connected online to a PLC via
Ethernet (using either TCP/IP or UDP/IP).
1-5-2 Socket Services
The socket services allow devices on the Ethernet to send and receive vari-
ous data using either the UDP or TCP protocol.
Manipulating Dedicated
Control Bits One way to use socket services is to s et the required parameters in the
parameter area allocated in the DM Area, and then to r eque st pa r ticular UDP
or TCP socket services by turning ON dedicated control bi ts in memory. When
the Ethernet Unit has completed the requested process, the s ame bit is
turned OFF to provide notification. Data that is sent or received is automa ti-
cally handled according to the I/O memory locations specified in the parame-
ter area.
There is no need to execute the CMND(490) instruction or to monitor the com-
pletion timing and actual processing of the instruction, so this helps to simplify
ladder programming.
Ethernet
Ethernet Unit
IP UDP or TCP FINS
CS/CJ-series
CPU Unit