![Omron CS1W-ETN01 Operation Manuals Download Page 225](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528225.webp)
11-3
Section
Command/Response Reference
215
11-3-22
PROTOCOL STATUS READ
Reads the Ethernet Unit protocol status.
Command Block
62
27
Command
code
Response Block
48 bytes
Command
code
Response
code
IP status
184 bytes
184 bytes
12 bytes
ICMP status
TCP status
UDP status
27
62
Parameters
IP Status (Response)
Twelve types of IP status information occupying 4 bytes each are returned in the
following sequence. Each value is returned as an 8-digit hexadecimal value.
1, 2, 3...
1. Total number of IP packets received.
2. The number of IP packets discarded due to an error with the checksum in the
packet header.
3. The number of IP packets discarded because the received packet was larg-
er than the overall packet length value in the packet header.
4. The number of IP packets discarded because the minimum size of the IP
header data could not be stored in the first short buffer when an attempt was
made to store the packet. Refer to 11-3-23 MEMORY STATUS READ and
Appendix F Buffer Configuration.
5. The number of packets discarded for one of the following reasons:
•
The IP header length value in the IP header was smaller than the smallest
size of the IP header.
•
The size of the first short buffer was smaller than the IP header length val-
ue in the IP header when storing the packet.
6. The number of IP packets discarded because the IP header length was larg-
er than the overall packet length value in the packet header.
7. The number of fragmented packets received.
8. The number of received fragmented IP packets discarded because a queue
for reassembly could not be secured.
9. The number of fragmented IP packets discarded because they could not be
reassembled within 12 seconds after being received.
10. Always 0.
11. The number of packets addressed to other networks that have been dis-
carded.
12. Always 0.
ICMP Status (Response)
Ten types (46 items) of ICMP status information occupying 4 bytes each are re-
turned in the following sequence. Each value is returned as an 8-digit hexadeci-
mal value.
1, 2, 3...
1. The number of times the ICMP error routine was called. The ICMP error rou-
tine uses ICMP packets to inform the source about errors. The routine is
called when an illegal packet is received (error in IP option processing or
error in relay processing) or if the object port does not exist when using UDP.
2. Always 0.
3. Always 0.