Protocol Status Read - Omron CJ1W-ETN11 Operation Manual

Sysmac cs/cj series ethernet units
Hide thumbs Also See for CJ1W-ETN11:
Table of Contents

Advertisement

Command/Response Reference

11-3-23 PROTOCOL STATUS READ

Command Block
Response Block
Parameters
IP Status (Response)
1,2,3...
ICMP Status (Response)
1,2,3...
Reads the Ethernet Unit protocol status.
27
62
Command
code
27
62
Command
Response
IP status
code
code
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. 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 when an attempt
was made to store the packet. Refer to 11-3-24 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
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.
Ten types (46 items) of ICMP status information occupying 4 bytes each are
returned in the following sequence. Each value is returned as an 8-digit hexa-
decimal value.
1. The number of times the ICMP error routine was called. The ICMP error
routine 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.
48 bytes
184 bytes
ICMP status
Section 11-3
184 bytes
12 bytes
TCP status
UDP status
241

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-etn11Cs/cj seriesCs1w-etn01W343-e1-07

Table of Contents