E6581741
- 43 -
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 2-4: Negotiation Status
000 : Auto-negotiation in progress.
001 : Auto-negotiation and speed detection
failed.
010 : Auto negotiation failed but detected
speed. Duplex was defaulted.
011 : Successfully negotiated speed and
duplex.
100 : Auto-negotiation not attempted. Forced
speed and duplex.
Bit 5: Manual Setting Requires Reset. 0
indicates the interface can activate
changes to link parameters
(auto-negotiate, duplex mode, interface
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
product-specific.
Bit 7-31
(System reserved)
3
Get
Physical Address
ARRAY of
6 USINTs
MAC layer address
Interface Control
STRUCT
of
Configuration for physical interface
Control Bits
WORD
Interface Control Bits
6 Get/Set
Forced Interface
Speed
UINT
Speed at which the interface shall be forced to
operate
7
Get
Interface Type
USINT
Type of interface: twisted pair, fiber, internal,
etc.
2
10 Get Interface
Label
SHORT_S
TRING
Human readable identification
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).