Ethernet Link Object
Original instructions
Overview
The Ethernet Link CIP object consists of the attributes and services described below.
Attributes
The Ethernet Link CIP object consists of the following attributes:
1. Class attributes:
ID (hex)
Description
GET
SET
01
Revision
X
02
Max Instance
X
X = supported
— = not supported
2. Instance attributes:
ID (hex)
Description
Type
GET
SET
Value
01
Interface Speed
UDINT
X
Valid values include:
0, 10000000, 100000000
02
Interface Flags
DWORD
X
Bit 0: Link Status
0 = Inactive
1 = Active
Bit 1: Duplex Mode
0 = half duplex
1 = full duplex
Bits 2-4: Negotiation Status
3 = successfully negotiated speed and duplex
4 = forced speed and link
Bit 5: Manual Setting Requires Reset
0 = automatic
1 = device need reset
Bit 6: Local Hardware Fault
0 = no fault
1 = fault detected
03
Physical Address
ARRAY of 6 USINT
X
Module MAC Address
04
Interface Counters
STRUCT
X
    In octets
UDINT
Octets received on the interface
    In Ucast Packets
UDINT
Unicast packets received on the interface
    In NUcast Packets
UDINT
Non-unicast packets received on the interface
    In Discards
UDINT
Inbound packets received on the interface, but discarded
    In Errors
UDINT
Inbound packets that contain errors (does not include In Discards)
    In Unknown Protos
UDINT
Inbound packets with unknown protocol
    Out Octets
UDINT
Octets sent on the interface
    Out Ucast Packets
UDINT
Unicast packets sent on the interface
    Out NUcast Packets
UDINT
Non-unicast packets sent on the interface
    Out Discards
UDINT
Outbound packets discarded
    Out Errors
UDINT
Outbound packets that contain errors
05
Media Counters
STRUCT
X
    Alignment Errors
UDINT
Frames that are not an integral number of octets in length
    FCS Errors
UDINT
Frames received that do not pass the FCS check
    Single Collisions
UDINT
Successfully transmitted frames that experienced exactly one collision
    Multiple Collisions
UDINT
Successfully transmitted frames that experienced more than one collision
    SQE Test Errors
UDINT
Number of times the SQE test error is generated
    Deferred Transmissions
UDINT
Frames for which first transmission attempt is delayed because the medium is busy
    Late Collisions
UDINT
Number of times a collision is detected later than 512 bittimes into the transmission of a packet
    Excessive Collisions
UDINT
Frames for which transmission fails due to excessive collisions
    MAC Transmit Errors
UDINT
Frames for which transmission fails due to internal MAC sublayer transmit error
    Carrier Sense Errors
UDINT
Times that the carrier sense condition was lost or never asserted when attempting to transmit a frame
    Frame Too Long
UDINT
Frames received that exceed the maximum permitted frame size
    MAC Receive Errors
UDINT
Frames for which reception on an interface fails due to an internal MAC sublayer receive error
06
Interface Control
STRUCT
X
X
API of the connection
    Control Bits
WORD
Bit 0: Auto-negotiation
0 = Disabled
1 = Enabled
Note: When auto-negotiation is enabled, the error 0x0C (Object State Conflict) is returned when attempting to set either:
  • Forced Interface Speed, or
  • Forced Duplex Mode
Bit 1: Forced Duplex Mode (if auto-negotiation bit = 0)
0 = half duplex
1 = full duplex
    Forced Interface Speed
UINT
Valid values include:
10000000, 100000000
Note: Attempting to set any other value returns the error 0x09 (Invalid Attribute Value)
X = supported
— = not supported
Services
The CIP Ethernet Link object performs the following services upon the listed object types:
ID (hex)
Description
Class
Instance
01
Get_Attributes_All
X
X
05
Set_Attribute_Single
X
0E
Get_Attribute_Single
X
X
X = supported
— = not supported