|
|
|
|
| E6581741 |
Instance 2 Attribute |
|
|
|
| |
Instance | Attribute ID | Access | Name | Data type | Details |
| 1 | Get | Interface Speed | UDINT | Interface speed currently in use |
|
|
|
|
| 0: indeterminate (Auto baudrate) |
|
|
|
|
| 10: 10Mbps |
|
|
|
|
| 100: 100Mbps |
| 2 | Get | Interface Flags | DWORD | Bit 0: Link Status Indicates whether or not the |
|
|
|
|
| Ethernet 802.3 communications |
|
|
|
|
| interface is connected to an active |
|
|
|
|
| network. 0 indicates an inactive link; 1 |
|
|
|
|
| indicates an active link. |
|
|
|
|
| Bit 1: Half/Full Duplex Indicates the duplex |
|
|
|
|
| mode currently in use. 0 indicates the |
|
|
|
|
| interface is running half duplex; 1 |
|
|
|
|
| indicates full duplex. |
|
|
|
|
| Bit |
|
|
|
|
| 000 : |
|
|
|
|
| 001 : |
|
|
|
|
| failed. |
|
|
|
|
| 010 : Auto negotiation failed but detected |
|
|
|
|
| speed. Duplex was defaulted. |
|
|
|
|
| 011 : Successfully negotiated speed and |
|
|
|
|
| duplex. |
|
|
|
|
| 100 : |
|
|
|
|
| speed and duplex. |
2 |
|
|
|
| Bit 5: Manual Setting Requires Reset. 0 |
|
|
|
| indicates the interface can activate | |
|
|
|
|
| changes to link parameters |
|
|
|
|
| |
|
|
|
|
| speed) automatically. 1 indicates the |
|
|
|
|
| device requires a Reset service be |
|
|
|
|
| issued to its Identity Object in order for |
|
|
|
|
| the changes to take effect. |
|
|
|
|
| Bit 6: Local Hardware Fault. |
|
|
|
|
| 0 indicates the interface detects no local |
|
|
|
|
| hardware fault |
|
|
|
|
| 1 indicates a local hardware fault is |
|
|
|
|
| detected. The meaning of this is |
|
|
|
|
| |
|
|
|
|
| Bit |
| 3 | Get | Physical Address | ARRAY of | MAC layer address |
|
|
|
| 6 USINTs |
|
| 6 | Get/Set | Interface Control | STRUCT | Configuration for physical interface |
|
|
|
| of | |
|
|
|
|
| |
|
|
| Control Bits | WORD | Interface Control Bits |
|
|
| Forced Interface | UINT | Speed at which the interface shall be forced to |
|
|
| Speed |
| operate |
| 7 | Get | Interface Type | USINT | Type of interface: twisted pair, fiber, internal, |
|
|
|
|
| etc. |
| 10 | Get | Interface Label | SHORT_S | Human readable identification |
|
|
|
| TRING | 5, Right |
Note: Don’t use the “System reserved” bit and Bit0 for the judgement.
Instance Services |
| |
Service Code | Service Name | Description of Service |
0x01 | Get_Attribute_All | Read all attributes |
0x0E | Get_Attribute_Single | Read one attribute |
0x10 | Set_Attribute_Single | Write one attribute |
0x4C | Get_and_Clear | Gets then clears the specified attribute |
|
| (Interface Counters or Media Counters). |
- 43 -