# Generic Error Codes
### EC_E_NOERROR
0x00000000: No Error
### EC_E_ERROR
0x98110000: Unspecific Error
### EMRAS_E_ERROR
0x98110180: Unspecific RAS Error
### EC_E_NOTSUPPORTED
0x98110001: APP: Feature not supported (e.g. function or property not available)
### EC_E_INVALIDINDEX
0x98110002: APP: Invalid index (e.g. CoE: invalid SDO index)
### EC_E_INVALIDOFFSET
0x98110003: ISW: Invalid offset (e.g. invalid offset while accessing Process Data Image)
### EC_E_CANCEL
0x98110004: APP: Cancel (e.g. EtherCAT stack should abort current mailbox transfer)
### EC_E_INVALIDSIZE
0x98110005: APP: Invalid size
### EC_E_INVALIDDATA
0x98110006: ISW: Invalid data (multiple error sources)
### EC_E_NOTREADY
0x98110007: ISW: Not ready (multiple error sources)
### EC_E_BUSY
0x98110008: APP: Busy (e.g. EtherCAT stack is currently busy and not available to process the API request. The function may be called again later)
### EC_E_ACYC_FRM_FREEQ_EMPTY
0x98110009: ISW: Cannot queue acyclic EtherCAT command (Acyclic command queue is full. Possible solution: Increase of configuration value dwMaxQueuedEthFrames)
### EC_E_NOMEMORY
0x9811000A: CFG: No memory left (e.g. memory full / fragmented))
### EC_E_INVALIDPARM
0x9811000B: APP: Invalid parameter (e.g. API function called with erroneous parameter set)
### EC_E_NOTFOUND
0x9811000C: APP: Not found (e.g. Network Information File ENI not found or API called with invalid slave ID)
### EC_E_DUPLICATE
0x9811000D: ISW: Duplicated fixed address detected (handled internally)
### EC_E_INVALIDSTATE
0x9811000E: ISW: Invalid state (EtherCAT stack not initialized or not configured)
### EC_E_TIMER_LIST_FULL
0x9811000F: ISW: Cannot add slave to timer list (slave timer list full)
### EC_E_TIMEOUT
0x98110010: Timeout
### EC_E_OPENFAILED
0x98110011: ISW: Open failed
### EC_E_SENDFAILED
0x98110012: LLA: Frame send failed
### EC_E_INSERTMAILBOX
0x98110013: CFG: Insert Mailbox error (internal limit MAX_QUEUED_COE_CMDS: 20)
### EC_E_INVALIDCMD
0x98110014: ISW: Invalid Command (Unknown mailbox command code)
### EC_E_UNKNOWN_MBX_PROTOCOL
0x98110015: ISW: Unknown Mailbox Protocol Command (Unknown Mailbox protocol or mailbox command with unknown protocol association)
### EC_E_ACCESSDENIED
0x98110016: ISW: Access Denied (e.g. master internal software error)
### EC_E_IDENTIFICATIONFAILED
0x98110017: ENI: Identification failed (e.g. identification command failed)
### EC_E_LOCK_CREATE_FAILED
0x98110018: SYS: Create lock failed (e.g. OsCreateLockTyped failed)
### EC_E_VERSION_MISMATCH
0x98110019: APP: Version mismatch for loaded library
### EC_E_PRODKEY_INVALID
0x9811001A: CFG: Product Key Invalid (e.g. application using protected version of the stack, which stops operation after the evaluation time limit reached if a license is not provided)
### EC_E_WRONG_FORMAT
0x9811001B: ENI: Wrong configuration format (e.g. Network information file empty or malformed), SLV: Malformed EEPROM content
### EC_E_FEATURE_DISABLED
0x9811001C: APP: Feature disabled (e.g. Application tried to perform a missing or disabled API function)
### EC_E_SHADOW_MEMORY
0x9811001D: Shadow memory requested in wrong mode
### EC_E_BUSCONFIG_MISMATCH
0x9811001E: ENI: Bus configuration mismatch (e.g. Network information file and currently connected bus topology does not match)
### EC_E_CONFIGDATAREAD
0x9811001F: ENI: Error reading configuration file (e.g. Network information file could not be read)
### EC_E_ENI_NO_SAFEOP_OP_SUPPORT
0x98110020: Configuration doesn’t support SAFEOP and OP requested state
### EC_E_XML_CYCCMDS_MISSING
0x98110021: ENI: Cyclic commands are missing (e.g. Network information file does not contain cyclic commands)
### EC_E_XML_ALSTATUS_READ_MISSING
0x98110022: ENI: AL_STATUS register read missing in XML file for at least one state (e.g. Read of AL Status register is missing in cyclic part of given network information file)
### EC_E_MCSM_FATAL_ERROR
0x98110023: ISW: Fatal internal McSm (master control state machine is in an undefined state)
### EC_E_SLAVE_ERROR
0x98110024: SLV: Slave error (e.g. A slave error was detected. See also EC_NOTIFY_STATUS_SLAVE_ERROR and EC_NOTIFY_SLAVE_ERROR_STATUS_INFO)
### EC_E_FRAME_LOST
0x98110025: SLV: Frame lost, IDX mismatch (EtherCAT [frame(s)](api_general_functions.html.md#d3/d63/group___e_c___l_o_g___l_e_v_e_l_s_1ga85d15f307312582e5c0a12f1c39a2d0d) lost on bus, means the response was not received. In case this error shows frequently a problem with the wiring could be the cause)
### EC_E_CMD_MISSING
0x98110026: SLV: At least one EtherCAT command is missing in the received frame (e.g. received EtherCAT frame incomplete)
### EC_E_CYCCMD_WKC_ERROR
0x98110027: Cyclic command WKC error
### EC_E_INVALID_DCL_MODE
0x98110028: APP: IOCTL EC_IOCTL_DC_LATCH_REQ_LTIMVALS invalid in DCL auto read mode (this function cannot be used if DC Latching is running in mode “Auto Read”)
### EC_E_AI_ADDRESS
0x98110029: SLV: Auto increment address increment mismatch (e.g. Network information file and bus topology doesn’t match any more. Error shows only, if an already recognized slave isn’t present any more)
### EC_E_INVALID_SLAVE_STATE
0x9811002A: APP: Slave in invalid state, e.g. not in OP (API not callable in this state) (mailbox commands are not allowed in current slave state)
### EC_E_SLAVE_NOT_ADDRESSABLE
0x9811002B: SLV: Station address lost (or slave missing) - FPRD to AL_STATUS failed (e.g. Slave had a power cycle)
### EC_E_CYC_CMDS_OVERFLOW
0x9811002C: ENI: Too many cyclic commands in XML configuration file (e.g. [EC_T_INIT_MASTER_PARMS.dwMaxAcycFramesQueued](api_general_functions.html.md#dc/dcc/struct_e_c___t___i_n_i_t___m_a_s_t_e_r___p_a_r_m_s_1ae90efbf60aa12acbd95ab39a3f0b10a0) too small)
### EC_E_LINK_DISCONNECTED
0x9811002D: SLV: Ethernet link cable disconnected (e.g. EtherCAT bus segment not connected to network interface)
### EC_E_MASTERCORE_INACCESSIBLE
0x9811002E: RAS: Master core not accessible (e.g. Connection to remote server was terminated or master instance has been stopped on remote side)
### EC_E_COE_MBXSND_WKC_ERROR
0x9811002F: SLV: CoE mailbox send: working counter (e.g. CoE mailbox couldn’t be read on slave, slave didn’t read out mailbox since last write)
### EC_E_COE_MBXRCV_WKC_ERROR
0x98110030: SLV: CoE mailbox receive: working counter (e.g. CoE mailbox couldn’t be read from slave)
### EC_E_NO_MBX_SUPPORT
0x98110031: APP: No mailbox support (e.g. Slave does not support mailbox access)
### EC_E_NO_COE_SUPPORT
0x98110032: ENI: CoE protocol not supported (e.g. Configuration error or slave information file doesn’t match slave firmware)
### EC_E_NO_EOE_SUPPORT
0x98110033: ENI: EoE protocol not supported (e.g. Configuration error or slave information file doesn’t match slave firmware)
### EC_E_NO_FOE_SUPPORT
0x98110034: ENI: FoE protocol not supported (e.g. Configuration error or slave information file doesn’t match slave firmware)
### EC_E_NO_SOE_SUPPORT
0x98110035: ENI: SoE protocol not supported (e.g. Configuration error or slave information file doesn’t match slave firmware)
### EC_E_NO_VOE_SUPPORT
0x98110036: ENI: VoE protocol not supported (e.g. Configuration error or slave information file doesn’t match slave firmware)
### EC_E_EVAL_VIOLATION
0x98110037: ENI: Configuration violates Evaluation limits (obsolete)
### EC_E_EVAL_EXPIRED
0x98110038: CFG: Evaluation Time limit reached (e.g. License not provided and evaluation period (1 hour) of protected version exceeded)
### EC_E_LICENSE_MISSING
0x98110039: License key invalid or missing
### EC_E_CFGFILENOTFOUND
0x98110070: CFG: Network configuration file not found (e.g. path to configuration file (XML) was wrong or the file is not available)
### EC_E_EEPROMREADERROR
0x98110071: SLV: Command error while EEPROM upload (read slave EEPROM)
### EC_E_EEPROMWRITEERROR
0x98110072: SLV: Command error while EEPROM download (write slave EEPROM)
### EC_E_XML_CYCCMDS_SIZEMISMATCH
0x98110073: ENI: Cyclic command wrong size (too long) (size in network configuration file (XML) does not match size of process data)
### EC_E_XML_INVALID_INP_OFF
0x98110074: ENI: Invalid input offset in cyclic command, please check InputOffs
### EC_E_XML_INVALID_OUT_OFF
0x98110075: ENI: Invalid output offset in cyclic command, please check OutputOffs
### EC_E_PORTCLOSE
0x98110076: Port close failed
### EC_E_PORTOPEN
0x98110077: Port open failed
### EC_E_SLAVE_NOT_PRESENT
0x9811010E: APP / SLV: command not executed (slave not present on bus) (e.g. slave disappeared or was never present)
### EC_E_EEPROMRELOADERROR
0x98110110: Command error while EEPROM reload
### EC_E_SLAVECTRLRESETERROR
0x98110111: Command error while Reset Slave Controller
### EC_E_SYSDRIVERMISSING
0x98110112: SYS: Cannot open system driver (e.g. system driver was not loaded)
### EC_E_BUSCONFIG_TOPOCHANGE
0x9811011E: Bus configuration not detected, Topology changed (e.g. Topology changed while scanning bus)
### EC_E_EOE_MBX_WKC_ERROR
0x9811011F: EoE: Mailbox receive: working counter
### EC_E_FOE_MBX_WKC_ERROR
0x98110120: FoE: Mailbox receive: working counter
### EC_E_SOE_MBX_WKC_ERROR
0x98110121: SoE: mailbox receive: working counter
### EC_E_AOE_MBX_WKC_ERROR
0x98110122: AoE: Mailbox receive: working counter
### EC_E_VOE_MBX_WKC_ERROR
0x98110123: SLV: VoE mailbox send: working counter (VoE mailbox couldn’t be written)
### EC_E_EEPROMASSIGNERROR
0x98110124: SLV: EEPROM assignment failed
### EC_E_MBX_ERROR_TYPE
0x98110125: SLV: Unknown mailbox error code received in mailbox
### EC_E_REDLINEBREAK
0x98110126: SLV: Redundancy line break (e.g. cable break between slaves or between EtherCAT network adapter and first slave)
### EC_E_XML_INVALID_CMD_WITH_RED
0x98110127: ENI: Invalid EtherCAT command in cyclic frame with redundancy (e.g. BRW commands are not allowed with redundancy)
### EC_E_XML_PREV_PORT_MISSING
0x98110128: ENI: -tag is missing (e.g. if the auto increment address is not the first slave on the bus we check if a previous port tag OR a hot connect tag is available)
### EC_E_XML_DC_CYCCMDS_MISSING
0x98110129: DC enabled and DC cyclic commands missing (e.g. access to 0x0900)
### EC_E_DLSTATUS_IRQ_TOPOCHANGED
0x98110130: SLV: Data link (DL) status interrupt because of changed topology (automatically handled by master)
### EC_E_PTS_IS_NOT_RUNNING
0x98110131: PTS: Pass Through Server is not running (Pass-Through-Server was tried to be enabled/disabled or stopped without being started)
### EC_E_PTS_IS_RUNNING
0x98110132: PTS: Pass Through Server is running (obsolete, replaced by EC_E_ADS_IS_RUNNING)
### EC_E_ADS_IS_RUNNING
0x98110132: PTS: ADS adapter (Pass Through Server) is running (API call conflicts with ADS state (running))
### EC_E_PTS_THREAD_CREATE_FAILED
0x98110133: PTS: Could not start the Pass Through Server
### EC_E_PTS_SOCK_BIND_FAILED
0x98110134: PTS: The Pass Through Server could not bind the IP address with a socket (e.g. Possibly because the IPaddress (and Port) is already in use or the IP-address does not exist)
### EC_E_PTS_NOT_ENABLED
0x98110135: PTS: The Pass Through Server is running but not enabled
### EC_E_PTS_LL_MODE_NOT_SUPPORTED
0x98110136: PTS: The Link Layer mode is not supported by the Pass Through Server (e.g. The Master is running in interrupt mode but the Pass-Through-Server only supports polling mode)
### EC_E_VOE_NO_MBX_RECEIVED
0x98110137: SLV: No VoE mailbox received yet from specific slave
### EC_E_DC_REF_CLOCK_SYNC_OUT_UNIT_DISABLED
0x98110138: DC (time loop control) unit of reference clock disabled
### EC_E_DC_REF_CLOCK_NOT_FOUND
0x98110139: SLV: Reference clock not found! May happen if reference clock is removed from network.
### EC_E_MBX_CMD_WKC_ERROR
0x9811013B: SLV: Mailbox command working counter error (e.g. Mailbox init command Retry Count exceeded)
### EC_E_NO_AOE_SUPPORT
0x9811013C: APP / SLV: AoE: Protocol not supported (e.g. Application calls AoE-API although not implemented at slave)
### EC_E_AOE_INV_RESPONSE_SIZE
0x9811013D: AoE: Invalid AoE response received
### EC_E_AOE_ERROR
0x9811013E: AoE: Common AoE device error
### EC_E_AOE_SRVNOTSUPP
0x9811013F: AoE: Service not supported by server
### EC_E_AOE_INVALIDGRP
0x98110140: AoE: Invalid index group
### EC_E_AOE_INVALIDOFFSET
0x98110141: AoE: Invalid index offset
### EC_E_AOE_INVALIDACCESS
0x98110142: AoE: Reading/writing not permitted
### EC_E_AOE_INVALIDSIZE
0x98110143: AoE: Parameter size not correct
### EC_E_AOE_INVALIDDATA
0x98110144: AoE: Invalid parameter [value(s)](api_general_functions.html.md#d3/d63/group___e_c___l_o_g___l_e_v_e_l_s_1ga85d15f307312582e5c0a12f1c39a2d0d)
### EC_E_AOE_NOTREADY
0x98110145: AoE: Device not in a ready state
### EC_E_AOE_BUSY
0x98110146: AoE: Device busy
### EC_E_AOE_INVALIDCONTEXT
0x98110147: AoE: Invalid context
### EC_E_AOE_NOMEMORY
0x98110148: AoE: Out of memory
### EC_E_AOE_INVALIDPARM
0x98110149: AoE: Invalid parameter [value(s)](api_general_functions.html.md#d3/d63/group___e_c___l_o_g___l_e_v_e_l_s_1ga85d15f307312582e5c0a12f1c39a2d0d)
### EC_E_AOE_NOTFOUND
0x9811014A: AoE: Not found
### EC_E_AOE_SYNTAX
0x9811014B: AoE: Syntax error in command or file
### EC_E_AOE_INCOMPATIBLE
0x9811014C: AoE: Objects do not match
### EC_E_AOE_EXISTS
0x9811014D: AoE: Object already exists
### EC_E_AOE_SYMBOLNOTFOUND
0x9811014E: AoE: Symbol not found
### EC_E_AOE_SYMBOLVERSIONINVALID
0x9811014F: AoE: Symbol version invalid
### EC_E_AOE_INVALIDSTATE
0x98110150: AoE: Server in invalid state
### EC_E_AOE_TRANSMODENOTSUPP
0x98110151: AoE: AdsTransMode not supported
### EC_E_AOE_NOTIFYHNDINVALID
0x98110152: AoE: Notification handle invalid
### EC_E_AOE_CLIENTUNKNOWN
0x98110153: AoE: Notification client not registered
### EC_E_AOE_NOMOREHDLS
0x98110154: AoE: No more notification handles
### EC_E_AOE_INVALIDWATCHSIZE
0x98110155: AoE: Size for watch to big
### EC_E_AOE_NOTINIT
0x98110156: AoE: Device not initialized
### EC_E_AOE_TIMEOUT
0x98110157: AoE: Device has a timeout
### EC_E_AOE_NOINTERFACE
0x98110158: AoE: Query interface failed
### EC_E_AOE_INVALIDINTERFACE
0x98110159: AoE: Wrong interface required
### EC_E_AOE_INVALIDCLSID
0x9811015A: AoE: Class ID invalid
### EC_E_AOE_INVALIDOBJID
0x9811015B: AoE: Object ID invalid
### EC_E_AOE_PENDING
0x9811015C: AoE: Request pending
### EC_E_AOE_ABORTED
0x9811015D: AoE: Request aborted
### EC_E_AOE_WARNING
0x9811015E: AoE: Signal warning
### EC_E_AOE_INVALIDARRAYIDX
0x9811015F: AoE: Invalid array index
### EC_E_AOE_SYMBOLNOTACTIVE
0x98110160: AoE: Symbol not active -> release handle and try again
### EC_E_AOE_ACCESSDENIED
0x98110161: AoE: Access denied
### EC_E_AOE_INTERNAL
0x98110162: AoE: Internal error
### EC_E_AOE_TARGET_PORT_NOT_FOUND
0x98110163: AoE: Target port not found
### EC_E_AOE_TARGET_MACHINE_NOT_FOUND
0x98110164: AoE: Target machine not found
### EC_E_AOE_UNKNOWN_CMD_ID
0x98110165: AoE: Unknown command ID
### EC_E_AOE_PORT_NOT_CONNECTED
0x98110166: AoE: Port not connected
### EC_E_AOE_INVALID_AMS_LENGTH
0x98110167: AoE: Invalid AMS length
### EC_E_AOE_INVALID_AMS_ID
0x98110168: AoE: invalid AMS Net ID
### EC_E_AOE_PORT_DISABLED
0x98110169: AoE: Port disabled
### EC_E_AOE_PORT_CONNECTED
0x9811016A: AoE: Port already connected
### EC_E_AOE_INVALID_AMS_PORT
0x9811016B: AoE: Invalid AMS port
### EC_E_AOE_NO_MEMORY
0x9811016C: AoE: No memory
### EC_E_AOE_VENDOR_SPECIFIC
0x9811016D: AoE: Vendor specific AoE device error
### EC_E_XML_AOE_NETID_INVALID
0x9811016E: ENI: AoE: Invalid NetID (e.g. Error from Configuration Tool)
### EC_E_MAX_BUS_SLAVES_EXCEEDED
0x9811016F: CFG: Error: Maximum number of bus slave has been exceeded (The maximum number of preallocated bus slave objects is too small. The maximum number can be adjusted by the master initialization parameter EC_T_INITMASTERPARMS.dwMaxBusSlaves)
### EC_E_MBXERR_SYNTAX
0x98110170: SLV: Mailbox error: Syntax of 6 octet Mailbox header is wrong (Slave error mailbox return value: 0x01)
### EC_E_MBXERR_UNSUPPORTEDPROTOCOL
0x98110171: SLV: Mailbox error: The Mailbox protocol is not supported (Slave error mailbox return value: 0x02)
### EC_E_MBXERR_INVALIDCHANNEL
0x98110172: SLV: Mailbox error: Field contains wrong value (Slave error mailbox return value: 0x03)
### EC_E_MBXERR_SERVICENOTSUPPORTED
0x98110173: SLV: Mailbox error: The addressed service in the mailbox protocol is not supported (Slave error mailbox return value: 0x04)
### EC_E_MBXERR_INVALIDHEADER
0x98110174: SLV: Mailbox error: The mailbox protocol header of the mailbox protocol is wrong (Slave error mailbox return value: 0x05)
### EC_E_MBXERR_SIZETOOSHORT
0x98110175: SLV: Mailbox error: Length of received mailbox data is too short (Slave error mailbox return value: 0x06)
### EC_E_MBXERR_NOMOREMEMORY
0x98110176: SLV: Mailbox error: Mailbox protocol can not be processed because of limited resources (Slave error mailbox return value: 0x07)
### EC_E_MBXERR_INVALIDSIZE
0x98110177: SLV: Mailbox error: The length of data is inconsistent (Slave error mailbox return value: 0x08)
### EC_E_DC_SLAVES_BEFORE_REF_CLOCK
0x98110178: ENI: Slaves with DC configured present on bus before reference clock (e.g. The first DC Slave was not configured as potential reference clock)
### EC_E_DATA_TYPE_CONVERSION_FAILED
0x98110179: Data type conversion failed
### EC_E_LINE_CROSSED
0x9811017B: Line crossed (cabling wrong)
### EC_E_LINE_CROSSED_SLAVE_INFO
0x9811017C: Line crossed at slave (obsolete)
### EC_E_ADO_NOT_SUPPORTED
0x9811017E: SLV: ADO for slave identification not supported (e.g. Request ID mechanism (ADO 0x134) not supported by slave)
### EC_E_FRAMELOSS_AFTER_SLAVE
0x9811017F: Frameloss after Slave (opening port destroys communication)
### EC_E_OEM_SIGNATURE_MISMATCH
0x98130008: ENI, OEM: Manufacturer signature mismatch
### EC_E_ENI_ENCRYPTION_WRONG_VERSION
0x98130009: ENI, OEM: ENI encryption algorithm version not supported
### EC_E_ENI_ENCRYPTED
0x9813000A: OEM: Loading encrypted ENI needs OEM key
### EC_E_OEM_KEY_MISMATCH
0x9813000B: RAS, APP: OEM key mismatch
### EC_E_OEM_KEY_MISSING
0x9813000C: APP: OEM key access needs OEM key set (e.g. Application must call esSetOemKey (HiL) or set EC_T_LINK_PARMS_SIMULATOR::qwOemKey (SiL))
### EC_E_S2SMBX_NOT_CONFIGURED
0x98130020: S2S: Not Configured
### EC_E_S2SMBX_NO_MEMORY
0x98130021: S2S: No Memory
### EC_E_S2SMBX_NO_DESCRIPTOR
0x98130022: S2S: No Descriptor
### EC_E_S2SMBX_DEST_SLAVE_NOT_FOUND
0x98130023: S2S: Destination Slave not found
### EC_E_MASTER_RED_STATE_INACTIVE
0x98130024: APP: Master Redundancy State is INACTIVE (e.g. API not allowed in current Master Redundancy State)
### EC_E_MASTER_RED_STATE_ACTIVE
0x98130025: APP: Master Redundancy State is ACTIVE (e.g. API not allowed in current Master Redundancy State)
### EC_E_JUNCTION_RED_LINE_BREAK
0x98130026: Junction redundancy line break
### EC_E_VALIDATION_ERROR
0x98130027: Validation error (validation data mismatch)
### EC_E_TIMEOUT_WAITING_FOR_DC
0x98130028: Timeout waiting for DC
### EC_E_TIMEOUT_WAITING_FOR_DCM
0x98130029: Timeout waiting for DCM
### EC_E_SIGNATURE_MISMATCH
0x98130030: Signature mismatch
### EC_E_PDIWATCHDOG
0x98130031: PDI watchdog expired
### EC_E_BAD_CONNECTION
0x98130032: Bad connection
### EC_E_XML_INCONSISTENT
0x98130033: ENI: Inconsistent content