beautypg.com

Protocol status read, 3-25 protocol status read, Command block response block parameters – Omron CS1W-ETN21 User Manual

Page 214

background image

189

Command/Response Reference

Section 7-3

7-3-25 PROTOCOL STATUS READ

Reads the Ethernet Unit protocol status.

Command Block

Response Block

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
an
d 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.

27 62

Command

code

27 62

IP status

ICMP status

TCP status

UDP status

Response

code

Command

code

48 bytes

184 bytes

184 bytes

12 bytes