4 PROGRAMMING
4.2 Program Example of PING Test
105
4
4.2
Program Example of PING Test
This section provides a program example of PING tests.
System configuration example
The following system configuration is used to explain the program example of PING test.
System configuration
Communication content
The PING test is performed by sending an echo request from the RJ71EIP91 to the EtherNet/IP device and checking the
reception of the echo response from the EtherNet/IP device.
PING tests use the buffer memory of the RJ71EIP91 to operate the program.
The following table lists the buffer memory used by the PING test.
(1) Programmable controller system
• Power supply module: R61P
• CPU module: R04CPU
• EtherNet/IP network interface module: RJ71EIP91 (start I/O number: 0000H to 001FH, IP address: 192.168.3.51)
(2) EtherNet/IP device (IP address: 192.168.3.50)
Address Item Reference
Un\G27904 PING test request area Communication time check Page 151 PING test request area (Un\G27904 to
Un\G27907)
Un\G27905 Transmission count
Un\G27906 to Un\G27907 IP Address
Un\G27908 PING test result area Result Page 151 PING test result area (Un\G27908 to Un\G27911)
Un\G27909 Total Number of packet
transmissions
Un\G27910 Number of success
Un\G27911 Number of failure