Declaration of Error Codes.
More...
Go to the source code of this file.
Declaration of Error Codes.
- Revision
- 261
Definition in file SDK_Error_Description.mh.
◆ SDO_ERR_ACCESS_RO
| #define SDO_ERR_ACCESS_RO 0x6010002 |
◆ SDO_ERR_ACCESS_UNSUPPORTED
| #define SDO_ERR_ACCESS_UNSUPPORTED 0x6010000 |
◆ SDO_ERR_ACCESS_WO
| #define SDO_ERR_ACCESS_WO 0x6010001 |
◆ SDO_ERR_BLOCK_CRC
| #define SDO_ERR_BLOCK_CRC 0x5040004 |
◆ SDO_ERR_BLOCK_SEQUENCE
| #define SDO_ERR_BLOCK_SEQUENCE 0x5040003 |
◆ SDO_ERR_BLOCK_SIZE
| #define SDO_ERR_BLOCK_SIZE 0x5040002 |
◆ SDO_ERR_COMMAND
| #define SDO_ERR_COMMAND 0x5040001 |
◆ SDO_ERR_DATA_STORE
| #define SDO_ERR_DATA_STORE 0x8000020 |
◆ SDO_ERR_DATA_STORE_LOCAL
| #define SDO_ERR_DATA_STORE_LOCAL 0x8000021 |
◆ SDO_ERR_DATA_STORE_STATE
| #define SDO_ERR_DATA_STORE_STATE 0x8000022 |
◆ SDO_ERR_DATATYPE
| #define SDO_ERR_DATATYPE 0x6070010 |
◆ SDO_ERR_DATATYPE_HIGH
| #define SDO_ERR_DATATYPE_HIGH 0x6070012 |
◆ SDO_ERR_DATATYPE_LOW
| #define SDO_ERR_DATATYPE_LOW 0x6070013 |
◆ SDO_ERR_GENERAL
| #define SDO_ERR_GENERAL 0x8000000 |
◆ SDO_ERR_GENERAL_DEVICE
| #define SDO_ERR_GENERAL_DEVICE 0x6040047 |
◆ SDO_ERR_GENERAL_PARAMETER
| #define SDO_ERR_GENERAL_PARAMETER 0x6040043 |
◆ SDO_ERR_HARDWARE
| #define SDO_ERR_HARDWARE 0x6060000 |
◆ SDO_ERR_MAPPING_LENGTH
| #define SDO_ERR_MAPPING_LENGTH 0x6040042 |
◆ SDO_ERR_MAPPING_OBJECT
| #define SDO_ERR_MAPPING_OBJECT 0x6040041 |
◆ SDO_ERR_MEMORY
| #define SDO_ERR_MEMORY 0x5040005 |
◆ SDO_ERR_NO_OBJECT
| #define SDO_ERR_NO_OBJECT 0x6020000 |
◆ SDO_ERR_NO_SUB_INDEX
| #define SDO_ERR_NO_SUB_INDEX 0x6090011 |
◆ SDO_ERR_OBJECT_DICTIONARY
| #define SDO_ERR_OBJECT_DICTIONARY 0x8000023 |
◆ SDO_ERR_SDO_CONNECTION
| #define SDO_ERR_SDO_CONNECTION 0x60A0023 |
◆ SDO_ERR_TIMEOUT
| #define SDO_ERR_TIMEOUT 0x5040000 |
◆ SDO_ERR_TOGGLE_BIT
| #define SDO_ERR_TOGGLE_BIT 0x5030000 |
◆ SDO_ERR_VALUE_HIGH
| #define SDO_ERR_VALUE_HIGH 0x6090031 |
◆ SDO_ERR_VALUE_LOW
| #define SDO_ERR_VALUE_LOW 0x6090032 |
◆ SDO_ERR_VALUE_MIN_MAX
| #define SDO_ERR_VALUE_MIN_MAX 0x6090036 |
◆ SDO_ERR_VALUE_RANGE
| #define SDO_ERR_VALUE_RANGE 0x6090030 |
◆ sdkErrorPrint_ApossIdeErrorDescription()
| void sdkErrorPrint_ApossIdeErrorDescription |
( |
long |
errorCode | ) |
|
Prints a error description for ApossIDE errors.
This function prints a description for an error of ApossIDE
- Parameters
-
| errorCode | errorCode of ApossIDE |
Definition at line 25 of file SDK_Error_Description.mc.
30 printf(
"There are no more CAN objects available (CANINI).");
33 printf(
"Axis not in system.");
36 printf(
"Error not cleared.");
39 printf(
"Failed to move to HOME position.");
42 printf(
"Home velocity 0.");
45 printf(
"Position error.");
48 printf(
"Index pulse (encoder) not found.");
51 printf(
"Unknown command.");
54 printf(
"Software end limit activated.");
57 printf(
"Illegal parameter number.");
60 printf(
"Too many nested loops.");
63 printf(
"INLONG command got an illegal string.");
66 printf(
"Parameters in memory are corrupted.");
69 printf(
"Programs in memory are corrupted.");
72 printf(
"Reset by CPU.");
75 printf(
"User abort.");
78 printf(
"FC communication error.");
81 printf(
"Number of SDO channels exceeded.");
84 printf(
"Feature protection error.");
87 printf(
"Communication with ARM lost.");
90 printf(
"Limit switch activated.");
93 printf(
"SDO access error in SYSVAR or LINK command.");
96 printf(
"Trial to execute a cleared or empty program.");
99 printf(
"Wrong or no FPGA firmware loaded.");
102 printf(
"Amplifier error.");
105 printf(
"EtherCAT Master Error.");
108 printf(
"Too many interrupt functions.");
111 printf(
"Minimum voltage of the amplifier has been undershot.");
114 printf(
"Too many nested function/interruption calls.");
117 printf(
"Too many return() commands.");
120 printf(
"A floating point function was called with an invalid argument.");
123 printf(
"State machine error.");
126 printf(
"Interrupt happened, but interrupt address is no longer valid.");
129 printf(
"Error in verifying.");
132 printf(
"Path control only: Path error.");
135 printf(
"Path control only: Time out in V24 path control.");
138 printf(
"Path control only.");
141 printf(
"Too many DIM arrays defined.");
144 printf(
"Invalid array index.");
147 printf(
"Array number does not exist.");
150 printf(
"Array is empty.");
153 printf(
"No more memory space for the new array defined by DIM.");
156 printf(
"Array size does not correspond to the size of the existing array.");
159 printf(
"Maximum temperature of the amplifier has been exceeded.");
162 printf(
"Maximum voltage of the amplifier has been exceeded.");
165 printf(
"Timeout while waiting for index.");
168 printf(
"Internal command error (illegal parameter or format or range).");
171 printf(
"Too many TIME or PERIOD interrupts.");
174 printf(
"Not enough memory for variables.");
177 printf(
"CAN guarding error.");
180 printf(
"CAN send or receive error.");
183 printf(
"Memory locked.");
186 printf(
"Illegal curve array in SETCURVE.");
189 printf(
"Encoder error.");
192 printf(
"Stack overflow: Too many local variables or nested function calls.");
195 printf(
"Out of dynamic memory.");
198 printf(
"Too many test indices in data logging command.");
201 printf(
"Code is too old for the current firmware.");
204 printf(
"Internal overcurrent detection of power stage.");
206 case F_LIMIT_VIOLATION:
207 printf(
"Wrong direction after limit switch tripped and error reset.");
210 printf(
"I²T Limit exceeded.");
213 printf(
"Communication with amplifier interrupted.");
216 printf(
"Illegal access to amplifier parameter.");
219 printf(
"Command is not supported.");
222 printf(
"MemoryDump error.");
225 printf(
"Divide by 0.");
228 printf(
"EtherCAT Slave Error.");
231 printf(
"Profile Generator Error.");
234 printf(
"DIM array is too short.");
236 case F_INTERNALERROR:
237 printf(
"Internal firmware error.");
240 printf(
"Option boot failure.");
242 case F_COMMAND_USAGE:
243 printf(
"Wrong command usage.");
245 case F_PROCESSDATAUSAGE:
246 printf(
"Illegal write access to process data.");
249 printf(
"The size of string argument too long.");
252 printf(
"Authentication failed.");
255 printf(
"Amplifier not ready.");
258 printf(
"Logic Supply Voltage too low.");
261 printf(
"ZFC file update failed.");
264 printf(
"Hardware Failure.");
266 case F_AMP_INIT_ORDER:
267 printf(
"Amplifier's initialization order violated.");
270 printf(
"Hall sensor problem.");
273 printf(
"Hall angle detection error.");
276 printf(
"STO error.");
279 printf(
"Unknown error code (%d).", errorCode);
◆ sdkErrorPrint_SdoErrorDescription()
| void sdkErrorPrint_SdoErrorDescription |
( |
long |
errorCode | ) |
|
Prints a error description for SDO abort codes.
This function prints a description for CiA 301 SDO abort codes
- Parameters
-
Definition at line 290 of file SDK_Error_Description.mc.
295 printf(
"Attempt to write a read only object.");
298 printf(
"Unsupported access to an object.");
301 printf(
"Attempt to read a write only object.");
304 printf(
"Invalid block CRC value (block mode only).");
307 printf(
"Invalid block sequence number (block mode only).");
310 printf(
"Invalid block size (block mode only).");
313 printf(
"Client/server command specifier not valid or unknown.");
316 printf(
"Data cannot be transferred or stored to the application.");
319 printf(
"Data cannot be transferred or stored to the application because of local control.");
322 printf(
"Data cannot be transferred or stored to the application because of the present device state.");
325 printf(
"Data type does not match, length of service parameter does not match.");
328 printf(
"Data type does not match, length of service parameter too high.");
331 printf(
"Data type does not match, length of service parameter too low.");
334 printf(
"General error.");
337 printf(
"General internal incompatibility in the device.");
340 printf(
"General parameter incompatibility reason.");
343 printf(
"Access failed due to a hardware error.");
346 printf(
"The number and length of the objects to be mapped would exceed PDO length.");
349 printf(
"Object cannot be mapped to the PDO.");
352 printf(
"Out of memory.");
355 printf(
"No data available.");
358 printf(
"Object does not exist in the object dictionary.");
361 printf(
"Sub-index does not exist.");
364 printf(
"Object dictionary dynamic generation fails or no object dictionary is present.");
367 printf(
"Resource not available: SDO connection.");
370 printf(
"SDO protocol timed out.");
373 printf(
"Toggle bit not altered.");
376 printf(
"Invalid value for parameter (download only).");
379 printf(
"Value of parameter written too high (download only).");
382 printf(
"Value of parameter written too low (download only).");
385 printf(
"Maximum value is less than minimum value.");
388 printf(
"Unknown error code (0x%lX).", errorCode);