3: C
OMMUNICATION
S
ETTINGS
3-20 FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
Operation status
The operation status indicates the operation status (status code) and the error details (error code).
The operation status (status code) is stored in the upper 12 bits of D8414 and the error details (error code) is stored in the lower
4 bits of D8414.
Auto ping operation example 1
This example describes the operation when auto ping is executed for three remote hosts under the following conditions.
Status Code Operation Status
16 (000000010000) Status after ping executed and before the packet is sent
32 (000000100000) Status after packet send processing has completed and waiting for a response from the host
64 (000001000000)
Status where receiving the response for the packet completed normally or a timeout error occurred and the next
ping can be executed
Error Code Error Details
0 (0000) Normal
2 (0010) Timeout error
3 (0011) The destination host name could not be resolved by DNS
Settings Setting Details
Ping settings Timeout 1,000 ms
Auto ping settings
Online Status M0000
Retry 0 times
Ping Interval 1,000 ms
Auto Ping Interval 60,000 ms
(1) : Auto ping operation starts
(2) to (3) : Response from Host 1 within the timeout
(4) : No response from Host 2 within the timeout
(5) to (6) : Response from Host 3 within the timeout
(7) to (8) : Auto Ping Interval
(8) : No response from Host 1 within the timeout
(9) to (10) : Response from Host 2 within the timeout
Bit
15
Bit
0
Bit
7
Bit
8
Lower 4 Bits
Error Code
Upper 12 Bits
Status Code
Bit
4
Bit
3
M0000
ON
OFF
M0001
ON
OFF
M0002
ON
OFF
(1) (4) (6)
(2)
(3) (7) (8) (9)
(10)
(5)
FC6A
Host 1
Host 2
Host 3
500 ms
1,000 ms
1,000 ms 1,000 ms 60,000 ms 1,000 ms