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 |
|---|---|---|---|---|
8192 |
0x2000 |
Ec error. |
Reserved. |
|
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. |
|
8194 |
0x2002 |
Failed to start hot connect. |
Reserved. |
|
8195 |
0x2003 |
Shared Memory is null. |
Verify that the WMX3 engine was successfully started. |
|
8196 |
0x2004 |
Failed to change slave state. |
Verify that the requested state change is valid. |
|
8197 |
0x2005 |
Slave state is below preop. |
Verify that the slave is not in Init or Boot state. |
|
8198 |
0x2006 |
Slave is in an invalid addressing mode. |
Verify that the slave address is correct. |
|
8199 |
0x2007 |
Slave is in emergency state. |
Check the RtxServerConsole for error messages. Determine the operation that caused the slave to generate an emergency. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
8210 |
0x2012 |
Failed to set checksum when write SII EEPROM configuration area. |
Verify that the slave supports this operation. |
|
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. |
|
8212 |
0x2014 |
PDO read is not allowed. |
Verify that the AllowPdoReadWrite: 1 statement is set in the ENI file of the slave. |
|
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. |
|
8214 |
0x2016 |
PDO is not mapped. |
Verify that the PDO mapping is set. |
|
8215 |
0x2017 |
PDO write is not allowed. |
Certain addresses in the PDO cannot be written to. |
|
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. |
|
8217 |
0x2019 |
Failed to open FoE file. |
Verify that the specified file path is correct, and that the file can be opened. |
|
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. |
|
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. |
|
8220 |
0x201C |
FoE file path is too long. |
Verify that the FoE file path contains less than maxFoEFilePathLen characters. |
|
8221 |
0x201D |
FoE file name is too long. |
Verify that the FoE file name contains less than maxFoEFileNameLen characters. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
8228 |
0x2024 |
Axis is not servo on. |
Verify that the axis servo is on. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
8234 |
0x202A |
Specified slave does not support virtual serial communication. |
Verify that the specified parameters are correct. |
|
8235 |
0x202B |
Failed to open COM port. |
Verify that the COM name is valid. |
|
8236 |
0x202C |
Failed to create thread for COM process. |
Verify that enough memory and resources exist to create the COM thread. |