EcatErrorCode Enumeration

An enumeration that represents E-CAT errors.

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

Syntax

Copy
public enum EcatErrorCode

Members

Name

Value

Description

ecatErrNoError

0

No error occurred.

ecatErrBusy

1

The function, feature, or command is busy.

ecatErrNullParameter

0x1000

One of the parameters is null.

ecatErrWrongParameter

0x1001

One of the parameters has been rejected.

ecatErrMainDeviceNotReady

0x1002

MainDevice is not ready.

ecatErrLinkBusy

0x1003

The link with Windows is busy.

ecatErrNoLicense

0x1004

A valid license could not be found for the feature.

ecatErrWrongEnvironment

0x1005

The command can’t be run in the current condition.

ecatErrVariableUnavailable

0x1006

The variable is not mapped to the PDO.

ecatErrVariableSizeIncoherent

0x1007

The size given for the variable in the database is not valid.

ecatErrUserCancelled

0x1008

The command was canceled by the user.

ecatErrTimeout

0x1009

The system didn't respond to the command within a reasonable time.

ecatErrFeatureUnavailable

0x100A

The feature is unavailable.

ecatErrFunctionInUse

0x100B

The function is in use.

ecatErrSubDeviceRejected

0x100C

The SubDevice rejected the command.

ecatErrNotDefined

0x100D

Undefined error.

ecatErrWrongMainDeviceStatus

0x100E

The current MainDevice state doesn’t allow this command to run.

ecatErrWrongSubDeviceState

0x100F

The current SubDevice state doesn’t allow this command to run.

ecatErrLocked

0x1010

The command or action was rejected by an internal lock.

ecatErrNoNicSelected

0x2000

No network interface card is selected.

ecatErrNicNotFound

0x2001

No network interface card.

ecatErrLinkDisconnected

0x2002

The network interface card is not connected to any hardware.

ecatErrNoSubDevice

0x2003

No SubDevices.

ecatErrUnknownSubDevice

0x2004

There is an unknown SubDevice on the network.

ecatErrNoMemory

0x2005

Insufficient memory.

ecatErrNoFile

0x2006

The MaxRTDevices database is not found.

ecatErrIncorrectFormat

0x2007

The content of MaxRTDevices database uses an incorrect format.

ecatErrWrongDeviceCount

0x2008

The number of devices on the bus does not match the number of devices scanned.

ecatErrInitFailed

0x2009

An EtherCAT SubDevice can’t enter the Init state.

ecatErrPreOpFailed

0x200A

An EtherCAT SubDevice can’t enter the PreOp state.

ecatErrSafeOpFailed

0x200B

An EtherCAT SubDevice can’t enter the SafeOp state.

ecatErrOpFailed

0x200C

An EtherCAT SubDevice can’t enter the Op state.

ecatErrDcFailed

0x200D

An EtherCAT SubDevice’s distributed clock can’t be configured.

ecatErrMdpFailed

0x200E

Failed to scan the modules attached to a coupler on the network.

ecatErrFailed

0x200F

The function failed.

ecatErrFileVersionNotSupported

0x2010

The file was built with a different version of E-CAT and cannot be read.

ecatErrThreadCreation

0x2011

Failed to create a thread.

ecatErrCabling

0x2012

The cabling of the EtherCAT hardware is incorrect.

ecatErrPacketLost

0x2013

A critical packet was lost.

ecatErrInvalidCycleTime

0x2014

The requested cycle time conflicts with the HAL period.

ecatErrSystemOverload

0x2015

The system is overloaded.

ecatErrWatchdog

0x2016

The watchdog timed out.

ecatErrUnexpectedData

0x2017

An incoming packet contains unexpected data.

ecatErrSubDeviceState

0x2018

A SubDevice state is incorrect.

ecatErrConfigurationMismatch

0x2019

The SubDevices on the bus do not match the configuration file.

See Also: