170 Ethernet module User’s Manual
Chapter 7 RAS Information
7
7.5  RAS Information Readout
This request reads out the EN311 RAS information (internal error information and event 
history) from a user program.
RAS information readout request (using the URCV_T instruction)
(1) Request command structure and error status
<Request command>
<Error status>
Error status examples
(2) Request command details
• RAS request type:Specifies the type of RAS information read out.
1: RAS counter ••• LAN controller (line) information (see Table 7-2)
2: MIB information ••• LAN controller interface, IP, TCP, UDP, and ICMP information 
(see Table 7-3 to Table 7-6)
3: Maintenance data (cannot be used)
4: Event trace information (see Table 7-7)
5: RAS information clear
• Start position:Only valid when the readout request type is 2 (MIB information) or 4 
(trace information).
MIB information (2) ••• 0 = MIB_IF
1 = MIB_IP
2 = MIB_TCP
3 = MIB_UDP
4 = MIB_ICMP
Trace information (4) ••• 0 to 160; 0 corresponds to the most recent information.
F0
CMD Destination EN311 module slot number
CMD+1 Command (16#0318)
CMD+2 RAS information type
CMD+3 Start position
CMD+4 Number of items read out
F0
STATUS =0: Normal completion, ± 0: Error status
Error status number Description
-5001(16#EC77) Command type error