108
4 PROGRAMMING
4.2 Program Example of PING Test
Program example
The following example shows a program to execute the PING test by turning on the PING test request command in the
program.
Classification Label name Description Device
Module label EIP91_1.bSts_ModuleReady Module Ready X0
EIP91_1.bSts_PingTestComplete PING test completion X12
EIP91_1.bSet_PingTestRequest PING test execution request Y12
EIP91_1.uSet_PingTestRequest_CommunicationTimeCheck_D PING test request area
Communication time check
U0\G27904
EIP91_1.uSet_PingTestRequest_TransmissionsCount_D PING test request area
Transmission count
U0\G27905
EIP91_1.unSet_PingTestRequest_IPAddress_D[0] PING test request area
IP Address (lower)
U0\G27906
EIP91_1.unSet_PingTestRequest_IPAddress_D[1] PING test request area
IP Address (upper)
U0\G27907
EIP91_1.unArea_PingTestReceiveResulteArea_D[0] PING test result area
Result
U0\G27908
EIP91_1.unArea_PingTestReceiveResulteArea_D[1] PING test result area
Total Number of packet
transmissions
U0\G27909
EIP91_1.unArea_PingTestReceiveResulteArea_D[2] PING test result area
Number of success
U0\G27910
EIP91_1.unArea_PingTestReceiveResulteArea_D[3] PING test result area
Number of failure
U0\G27911
Label to be defined Define global labels as shown below.