Ethernet Unit; Host Computer - Omron CJ1W-ETN21 - 04-2009 Operation Manual

Ethernet units construction of networks
Table of Contents

Advertisement

Communications Test

2-10-2 Ethernet Unit

2-10-3 Host Computer

Method
Note
Application Examples
Normal Execution
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.
PLC
Echo request
The Ethernet Unit automatically returns the echo response packet in
response to an echo request packet sent by another node (host computer or
other Ethernet Unit). An echo request packet can be sent to another node by
issuing the FINS command to execute the PING command from the PLC.
Refer to page 184 for details on the PING command.
The PING command can be executed from the host computer to send an
echo request packet to an Ethernet Unit. The method for using the PING com-
mand from a UNIX computer is given next.
Input the following at the host computer 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 file /etc/hosts.
The PING command is not supported by some host computers.
These examples show sending the PING command to the node at IP address
130.25.36.8. The "$" in the example represents the host computer prompt.
User inputs are underlined. Comments are placed after semicolons.
$
ping 130.25.36.8
PING 130.25.36.8: 56 data bytes
64 bytes from 130.25.36.8: icmp_seq=0. time=0.ms
64 bytes from 130.25.36.8: icmp_seq=0. time=0.ms
.
.
.
64 bytes from 130.25.36.8: icmp_seq=0. time=0.ms
←Enter Ctrl+C Key to cancel.
––––130.25.36.8 PING Statistics––––
9 packets transmitted, 9 packets received, 0% packets loss
round–trip (ms) min/avg/max = 0/1/16
$
Remote Node
(host computer or Ethernet Unit)
Echo response
.
.
.
.
.
.
Section 2-10
TCP
UDP
ICMP
IP
Ethernet
; Executes PING command
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents