Communications Test; Ping Command; Ethernet/Ip Unit Or Built-In Ethernet/Ip Port Operation; Host Computer Operation - Omron CJ1W-EIP21 - 10-2010 Operation Manual

Ethernet/ip units
Table of Contents

Advertisement

Communications Test

3-11 Communications Test

3-11-1 PING Command

3-11-2 EtherNet/IP Unit or Built-in EtherNet/IP Port Operation

3-11-3 Host Computer Operation

Command Method
If the basic settings (in particular the IP address and subnet mask) have been
made correctly for the EtherNet/IP Unit or built-in EtherNet/IP port, then it
should be possible to communicate with nodes on the EtherNet/IP network.
This section describes how to use the PING command to test communica-
tions with the EtherNet/IP Unit or built-in EtherNet/IP port.
The PING command sends an echo request packet to a remote node and
receives an echo response packet to confirm that the remote node is commu-
nicating correctly. The PING command uses the ICMP echo request and
responses. The echo response packet is automatically returned in the ICMP.
The PING command is normally used to check the connections of remote
nodes when configuring a network. The EtherNet/IP Unit or built-in EtherNet/
IP port supports both the ICMP echo request and reply functions.
If the remote node returns a normal response to the PING command, then the
nodes are physically connected correctly and Ethernet node settings are cor-
rect.
EtherNet/IP Unit
The EtherNet/IP Unit or built-in EtherNet/IP port automatically returns the
echo response packet in response to an echo request packet sent by another
node (host computer, or other EtherNet/IP Unit or built-in EtherNet/IP port).
An echo request packet can be sent to another node by issuing the FINS
command to execute the PING command from the PLC.
The PING command can be executed from the host computer to send an
echo request packet to an EtherNet/IP Unit or built-in EtherNet/IP port. The
following example shows how to use the PING command in the host com-
puter.
Input the following command at the host computer's prompt ($):
$ ping IP_address(host_name)
The destination is specified by its IP address or host name. If the host name is
used, the host name must be defined in the /etc/hosts file.
Note The PING command is not supported by some host computers.
(host computer or EtherNet/IP Unit)
Echo request
Echo response
Section 3-11
Remote Node
TCP
UDP
ICMP
IP
Ethernet
65

Advertisement

Table of Contents
loading

Table of Contents