![background image](http://html1.mh-extra.com/html/omron/cj2h-cpu6-rev-02-2010/cj2h-cpu6-rev-02-2010_operation-manual_740798231.webp)
205
FINS/TCP Method
Section 8-3
After a connection has been established as a FINS/TCP client, it can be termi-
nated in the following ways.
• If the connection is closed by the server.
• If there is no response from the client when the keep-alive function is in
effect.
Even if the connection is closed at the FINS/TCP client, requests continue to
be made to the FINS/TCP server every few seconds to open a connection.
Note
After the EtherNet/IP Unit or built-in EtherNet/IP port is powered up or
restarted, the IP address for the connection used as the FINS/TCP client is
the remote IP address that was set in the FINS/TCP Tab Page of the CX-Pro-
grammer’s Edit Parameters Dialog Box. To dynamically change the remote IP
address (i.e., during CPU Unit operation), execute the CMND(490) instruction
in the ladder program and send a FINS command (FINS/TCP CONNECTION
REMOTE NODE CHANGE REQUEST; command code: 27 30 hexadecimal)
to the EtherNet/IP Unit or built-in EtherNet/IP port.
Procedure for Using FINS/TCP
1,2,3...
1.
Make the basic settings.
Refer to Initial Settings in 3-1-1 Procedures.
2.
Make the following settings on the FINS/TCP Tab Page of the CX-Pro-
grammer's Edit Parameters Dialog Box.
• FINS/TCP port (default: 9600)
• Server/Client: Specifies whether the connection will operate in FINS/
TCP server mode or client mode.
• Target IP address for client: Specifies the IP address of the target
FINS/TCP server.
• Target IP address for server: Specifies allowed client IP addresses
when protection is enabled.
• Automatically allocated FINS node address for server: Specifies the
address to allocate when automatically allocating a FINS node ad-
dress to the target FINS/TCP client.
• Keep-alive: Specified whether to use the keep-alive function.
Note
Normally this function is used and the option is selected.
• Enable protect via IP address:
Note
Select this option only when protecting as the server.
3.
Select Transfer to PLC from the PLC Menu and click the Yes Button. The
setting data will be transferred to the CPU Bus Unit System Setup Area in
the CPU Unit.
4.
Make the routing table settings and transfer them to each PLC. (See note
1.)
Set the routing tables with CX-Integrator, and transfer it to each PLC.
5.
Create a ladder program that includes the SEND(090), RECV(098), and
CMND(490) instructions.
Note
(1) Routing tables are required in the following situations:
• When communicating with a PLC or computer on another network
(e.g., remote programming or monitoring using FINS messages or a
CX-Programmer)
• When multiple Communications Units are mounted to a single PLC
(i.e., CPU Unit)
Содержание CJ2H-CPU6 - REV 02-2010
Страница 2: ......
Страница 4: ...iv...
Страница 6: ...vi...
Страница 14: ...xiv...
Страница 18: ...xviii...
Страница 38: ...12 Network Configurator Overview Section 1 5...
Страница 58: ...32 Selecting the Network Devices Section 2 3...
Страница 116: ...90 Auxiliary Area Data Section 4 5...
Страница 222: ...196 Message Communications Errors Section 7 6...
Страница 364: ...338 Using the Backup Tool Section 13 3...
Страница 402: ...376 CS CJ series Ethernet Unit Function Comparison Appendix A...
Страница 404: ...378 Ethernet Network Parameters Appendix B...
Страница 406: ...380 TCP Status Transitions Appendix C...
Страница 452: ...426 Precautions for Using Windows XP Vista or Windows 7 Appendix G...
Страница 460: ...434 Index...
Страница 462: ...436 Revision History...
Страница 463: ......