Library error codes

Library error codes are defined in the EcErrorCode class. Functions in Ecat class may return these errors. In addition, functions in Ecat class may return the Base Error Codes because the EcErrorCode class extends the ErrorCode class.

Error

Code (Decimal)

Code (Hex)

Description

Resolution

EcError

8192

0x2000

Ec error.

Reserved.

ScanNetworkFailed

8193

0x2001

Failed to scan network.

Verify that the EtherCAT network is connected, RtxTcpIp.ini is configured with the correct driver and address (if using the RTX operating system), and that the network hardware is powered on.

HotconnectFailed

8194

0x2002

Failed to start hot connect.

Reserved.

SharedMemoryNull

8195

0x2003

Shared Memory is null.

Verify that the WMX3 engine was successfully started.

SlaveStateChangeError

8196

0x2004

Failed to change slave state.

Verify that the requested state change is valid.

SlaveStateBelowPreop

8197

0x2005

Slave state is below preop.

Verify that the slave is not in Init or Boot state.

SlaveInvalidAddressingMode

8198

0x2006

Slave is in an invalid addressing mode.

Verify that the slave address is correct.

SlaveInEmergencyState

8199

0x2007

Slave is in emergency state.

Check the RtxServerConsole for error messages. Determine the operation that caused the slave to generate an emergency.

SlaveMailboxInUse

8200

0x2008

Mailbox of slave is being used.

Check the RtxServerConsole for error messages. Verify that the mailbox of the slave is not in use by the same operation or another operation.

SlaveSdoDownloadError

8201

0x2009

Failed to download SDO.

Check the RtxServerConsole for error messages. Verify that the SDO download parameters are valid. Verify that the slave supports this operation.

SlaveSdoUploadError

8202

0x200A

Failed to upload SDO.

Check the RtxServerConsole for error messages. Verify that the SDO upload parameters are valid. Verify that the slave supports this operation.

SlaveSdoInfoGetODListError

8203

0x200B

Failed to get SDO OD list.

Check the RtxServerConsole for error messages. Verify that the get SDO OD list parameters are valid. Verify that the slave supports this operation.

SlaveSdoInfoGetODError

8204

0x200C

Failed to get SDO OD.

Check the RtxServerConsole for error messages. Verify that the specified OD index is valid. Verify that the slave supports this operation.

SlaveSdoInfoGetEDError

8205

0x200D

Failed to get SDO ED.

Check the RtxServerConsole for error messages. Verify that the get SDO ED list parameters are valid. Verify that the slave supports this operation.

SlaveActualSizeLargerThanBufferSize

8206

0x200E

Actual returned size is larger than the input buffer size.

Verify that the buffer that is passed to the function is large enough to store the read value.

SlaveRegWriteError

8207

0x200F

Failed to write register.

Check the RtxServerConsole for error messages. Verify that the write register parameters are valid. Verify that the slave supports this operation.

SlaveRegReadError

8208

0x2010

Failed to read register.

Check the RtxServerConsole for error messages. Verify that the read register parameters are valid. Verify that the slave supports this operation.

SlaveSIIWriteError

8209

0x2011

Failed to write SII EEPROM.

Check the RtxServerConsole for error messages. Verify that the write SII parameters are valid. Verify that the slave supports this operation.

SlaveSIIWriteFailedToSetChecksum

8210

0x2012

Failed to set checksum when write SII EEPROM configuration area.

Verify that the slave supports this operation.

SlaveSIIReadError

8211

0x2013

Failed to read SII EEPROM.

Check the RtxServerConsole for error messages. Verify that the read SII parameters are valid. Verify that the slave supports this operation.

SlavePdoReadWriteNotAllowed

8212

0x2014

PDO read is not allowed.

Verify that the AllowPdoReadWrite: 1 statement is set in the ENI file of the slave.

SlavePdoReadWriteTimeout

8213

0x2015

Read PDO timeout.

If the PDO could not be read in time regularly, try setting the FastPdoRead: 1 statement in the ENI file of the slave to enable fast PDO read.

SlavePdoNotMapped

8214

0x2016

PDO is not mapped.

Verify that the PDO mapping is set.

SlaveTxPdoWriteNotAllowed

8215

0x2017

PDO write is not allowed.

Certain addresses in the PDO cannot be written to.

SlaveFoENotInBootState

8216

0x2018

Try to do FoE operation not in boot state.

Verify that the slave is in Boot state. FoE read or FoE write requires the slave to be in Boot state.

SlaveFoEFileOpenError

8217

0x2019

Failed to open FoE file.

Verify that the specified file path is correct, and that the file can be opened.

SlaveFoEReadError

8218

0x201A

Failed to read FoE file.

Check the RtxServerConsole for error messages. Verify that the read FoE parameters are valid. Verify that the slave supports this operation.

SlaveFoEWriteError

8219

0x201B

Failed to write FoE file.

Check the RtxServerConsole for error messages. Verify that the write FoE parameters are valid. Verify that the slave supports this operation.

SlaveFoEFilePathTooLong

8220

0x201C

FoE file path is too long.

Verify that the FoE file path contains less than maxFoEFilePathLen characters.

SlaveFoEFileNameTooLong

8221

0x201D

FoE file name is too long.

Verify that the FoE file name contains less than maxFoEFileNameLen characters.

SlaveAoEReadError

8222

0x201E

Failed to read AoE data.

Check the RtxServerConsole for error messages. Verify that the read AoE parameters are valid. Verify that the slave supports this operation.

SlaveAoEWriteError

8223

0x201F

Failed to write AoE data.

Check the RtxServerConsole for error messages. Verify that the write AoE parameters are valid. Verify that the slave supports this operation.

SlaveSoEReadError

8224

0x2020

Failed to read SoE data.

Check the RtxServerConsole for error messages. Verify that the read SoE parameters are valid. Verify that the slave supports this operation.

SlaveSoEWriteError

8225

0x2021

Failed to write SoE data.

Check the RtxServerConsole for error messages. Verify that the write SoE parameters are valid. Verify that the slave supports this operation.

SlaveVoEReadError

8226

0x2022

Failed to read VoE data.

Check the RtxServerConsole for error messages. Verify that the read VoE parameters are valid. Verify that the slave supports this operation.

SlaveVoEWriteError

8227

0x2023

Failed to write VoE data.

Check the RtxServerConsole for error messages. Verify that the write VoE parameters are valid. Verify that the slave supports this operation.

AxisNotServoOn

8228

0x2024

Axis is not servo on.

Verify that the axis servo is on.

NotInPPMode

8229

0x2025

Axis is not in PP mode.

Verify that the axis is set to PP mode. The axis mode can be changed with the SetAxisMode function.

NotInHMMode

8230

0x2026

Axis is not in HM mode.

Verify that the axis is set to HM mode. The axis mode can be changed with the SetAxisMode function.

NotInPVMode

8231

0x2027

Axis is not in PV mode.

Verify that the axis is set to PV mode. The axis mode can be changed with the SetAxisMode function.

NotInTQMode

8232

0x2028

Axis is not in TQ mode.

Verify that the axis is set to TQ mode. The axis mode can be changed with the SetAxisMode function.

PdoNotMapped

8233

0x2029

Requested PDO is not mapped.

Verify that the objects required for the operation exist in the PDO mapping. PP, HM, PV, and TQ modes require the ControlWord and ModesOfOperation objects to be mapped to the TX PDO and the StatusWord and ModesOfOperationDisplay objects to be mapped to the RX PDO. Also see Required Objects.

SlaveNotSupportVirtualSerial

8234

0x202A

Specified slave does not support virtual serial communication.

Verify that the specified parameters are correct.

OpenComFailed

8235

0x202B

Failed to open COM port.

Verify that the COM name is valid.

CreateComProcessThreadFailed

8236

0x202C

Failed to create thread for COM process.

Verify that enough memory and resources exist to create the COM thread.