Command/Response Reference

Section 7-3

7-3-25 PROTOCOL STATUS READ

Reads the Ethernet Unit protocol status.

Command Block

27 62

Command code

Response Block

27 62

 

48 bytes

184 bytes

184 bytes

Command

Response

IP status

ICMP status

TCP status

code

code

 

 

 

12bytes

UDP status

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 larger 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 (See note.) when an attempt was made to store the packet. Refer to 7-3-26 MEMORY STA- TUS READ and Appendix B 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 (See note.) was smaller than the IP header length value in the IP header when storing the packet.

6.The number of IP packets discarded because the IP header length was larger 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.

Note Refer to 7-3-26 MEMORY STATUS READ for details on the short buffer.

189

Page 214
Image 214
Omron CS1W-ETN21 operation manual Protocol Status Read, Reads the Ethernet Unit protocol status, IP Status Response, Value