SubDeviceDiagnostics Class

This class describes the diagnostic information for a SubDevice.

Namespace:  IntervalZero.MaxRT.Ecat.Api.NetApi
Assembly:  IntervalZero.MaxRT.Ecat (in IntervalZero.MaxRT.Ecat.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public class SubDeviceDiagnostics

 

The SubDeviceDiagnostics class exposes the following members:

Constructors

 

Name Description

Public method

SubDeviceDiagnostics

Default constructor.

Public method

SubDeviceDiagnostics (byte[])

A constructor with class object raw data.

Properties

 

Name Description

Public method

AbnormalState

The number of times the SubDevice autonomously transitions to a lower state without a request from the MainDevice.

Public method

AlControl

The value of AL Control register 0x0120.

Public method

AlStatus

The value of AL Status register 0x0130.

Public method

AlStatusCode

The value of AL Status Code register 0x0134.

Public method

CyclicWc

The number of cycles the datagram, which is responsible for processing data exchange of the SubDevice, is received with an invalid working counter.

Public method

DeviceType

The device type retrieved from the register 0x1000 of the SubDevice.

Public method

DlStatus

The value of DL Status register 0x0110.

Public method

FixedAddress

The fixed address of the SubDevice, which is set by the MainDevice during startup. Values start at 1001 and follow the connection order.

Public method

Flags

Additional topology information about a SubDevice.

Public method

FrameCrc

The array that contains the Ethernet frame error count for each port.

Public method

LinkConnControl

The value of register 0x0101 of the SubDevice.

Public method

LinkConnStatus

The actual link status on each port of the SubDevice.

Public method

LinkPreset

The expected physical link on ports 1, 2, and 3 of a SubDevice. The processing order is port 0 → 3 → 1 → 2.

Public method

LinkStatus

The EtherCAT link status of the SubDevice.

Public method

LostLink

The array that contains the lost link count for each port. EtherCAT SubDevices increment a lost link counter upon a physical link loss with neighboring SubDevices.

Public method

MailboxIn

The size of a SubDevice’s input mailbox buffer.

Public method

MailboxOut

The size of a SubDevice’s output mailbox buffer.

Public method

Name

The SubDevice name.

Public method

NotPresent

The number of times the MainDevice loses the physical link with a SubDevice.

Public method

PhyCrc

The array that contains the physical layer communication error count for each port.

Public method

PortAddress

The array containing the fixed address of the device that is expected to be connected to each port.

Public method

ProductCode

The SubDevice's product code.

Public method

RevisionNo

The SubDevice's revision number.

Public method

SerialNo

The SubDevice's serial number.

Public method

StationAddress

The alias address stored in the SubDevice EEPROM and can be written by the MainDevice. This address persists after power-off, allowing it to be used to differentiate identical SubDevices.

Public method

Type

The SubDevice's device type.

Public method

VendorId

The SubDevice's vendor ID, given by the EtherCAT Technology Group to the device manufacturer.

See Also: