Delta EtherCAT Programming Manual page 445

Table of Contents

Advertisement

Error Code Description
34.1 List of error code
When using the API of EtherCAT_Dll, the API function will return a value that shows the
34
execution result. Please refer to the following table for the description of those values. For
example, if the API function returns 0, it means the API is successfully executed. On the other
hand, a non-zero value is regarded as an error code. It means an error has occurred during
operation or hardware connection. Please troubleshoot the problem according to the description
below.
List of error code
Returned
value
(Decimal)
0
1
2
3
16
17
18
19
20
21
23
24
25
26
27
28
29
34-2
Name of the error code
ERR_ECAT_NO_ERROR
ERR_ECAT_HW_NO_INITIALIZE
ERR_ECAT_HW_PWM_INITIAL
ERR_ECAT_HW_HAS_INITIALIZED
ERR_ECAT_EEPROM_READ
ERR_ECAT_EEPROM_WRITE
ERR_ECAT_ENVIRONMENT_
RECORD_DISABLE
ERR_ECAT_ENVIRONMENT_
RECORD_NO_MATCH
ERR_ECAT_ENVIRONMENT_
RECORD_FILE_OPEN
ERR_ECAT_ENVIRONMENT_
RECORD_NOT_CREATE
ERR_ECAT_DEVICE_OPEN
ERR_ECAT_NO_DEVICE
ERR_ECAT_NO_MASTER
ERR_ECAT_NO_SLAVE
ERR_ECAT_UNKNOWN_SLAVE
ERR_ECAT_IST_CREATE
ERR_ECAT_MASTER_CREATE
EtherCAT Programming Guide
Description
No error
Hardware has not been initialized.
Fail to initialize the hardware.
Hardware is initialized repeatedly.
Fail to read the EEPROM of the module.
Fail to write the data to the EEPROM of the
module.
The Autoconfig file is not found.
The hardware connection configuration saved
by Autoconfig file does not match the one for
Fieldbus.
Fail to open the Autoconfig file.
The Autoconfig file for saving the hardware
connection configuration has not been
created.
The setting for initializing EtherCAT Master is
in error.
The module data that is loaded during the
initial stage of EtherCAT Master initialization is
in error.
EtherCAT Master not found.
EtherCAT Slave not found.
There is an unknown module type on the
EtherCAT bus.
Fail to create IST.
Fail to create EtherCAT Master.
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents