Program example
The following example shows a program to execute the PING test by turning on the PING test request command.
Classification
Label name
Module label
GN11_SE_1.EIP.bSts_CommunicationDuringStartup
GN11_SE_1.EIP.bSts_PingTestComplete
GN11_SE_1.EIP.bSts_CommunicationReady
GN11_SE_1.EIP.bSet_PingTestRequest
GN11_SE_1.EIP.uSet_PingTestRequest_CommunicationTimeCheck_D
GN11_SE_1.EIP.uSet_PingTestRequest_TransmissionsCount_D
GN11_SE_1.EIP.unSet_PingTestRequest_IPAddress_D[0]
GN11_SE_1.EIP.unSet_PingTestRequest_IPAddress_D[1]
GN11_SE_1.EIP.unArea_PingTestReceiveResulteArea_D[0]
GN11_SE_1.EIP.unArea_PingTestReceiveResulteArea_D[1]
GN11_SE_1.EIP.unArea_PingTestReceiveResulteArea_D[2]
GN11_SE_1.EIP.uSet_CommunicationStart_D
Labels to be
Define global labels as shown below.
defined
Description
EtherNet/IP communication in process
PING test completion
Communication Ready
PING test execution request
PING test request area: Communication time
check
PING test request area: Transmission count
PING test request area: IP Address (lower)
PING test request area: IP Address (upper)
PING test response area: Total number of
packet transmissions
PING test response area: Receive count
PING test response area: Loss count
EtherNet/IP communication start request
13 PROGRAMMING
13.7 Program Example of PING Test
Device
X10
X12
X1F
Y12
U0\G7340048
U0\G7340049
U0\G7340050
U0\G7340051
U0\G7340052
13
U0\G7340053
U0\G7340054
U0\G7340096
347