
11: PING I
NSTRUCTION
11-2
W
EB
S
ERVER
CPU M
ODULE
U
SER
’
S
M
ANUAL
FC9Y-B1278
Notes:
• When the system program version is 100, do not specify the same remote host number in multiple PING instructions. When the
system program version is 100 and a data register is specified as S1, do not store the same remote host number used by the
other PING instructions in the user program to the data register.
• When a data register is specified as S1, do not change the data register value while PING instruction is executed.
• The Web server CPU module does not respond to a ping packet that is sent by itself.
The operation status includes the operation transition state (status code) and the error detail (error code). The status
code can be obtained by masking the least 4 bits of the operation status. The error code is stored in the least 4 bits of the
operation status.
Note:
If the status code is anything other than the codes listed above, an error of PING instruction is suspected.
Programming WindLDR
1.
Select
Configuration
from the WindLDR menu bar, and then click
Network Management
.
The Function Area settings dialog box appears.
2.
Enter the PING timeout. The valid timeout range is between 1 and 30 seconds. The default timeout is 1 second.
Status Code
(Decimal)
Operation Transition State
Description
16
Preparing transmission
From turning on the start input for a PING instruction, until the ping
packet is sent out to the specified remote host
32
Waiting for response
From sending the ping packet to the specified remote host, until the
response is received
64
PING instruction complete
The execution of the PING instruction is completed, allowing for the
next transmission to be processed
Error Code
Error details
Completion output
0
Normal
ON (The status code is 64)
1
-
-
2
Timeout error
ON
3
The host name of the target remote host could not be resolved
with DNS
ON
4
The specified remote host does not exist in the remote host list
ON
5
Multiple PING instructions are executed simultaneously
ON
6
Parameter error
ON
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]