#include <SysDef.mh>
#include "SDK_Error_Description.mh"
Go to the source code of this file.
◆ SDO_ERR_NO_DATA
| #define SDO_ERR_NO_DATA 0x8000024 |
◆ 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 |
- Examples
- CAN_1Ax_DS402_ProfilePositionMode-ppm-Test.mc, CAN_1Ax_DS402_ProfileVelocityMode-pvm-Test.mc, CAN_MultipleAx_DS402_ProfilePositionMode-ppm-Test.mc, and ECAT_1Ax_EPOS4-Test_cst.mc.
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
-
- Examples
- CAN_1Ax_DS402_ProfilePositionMode-ppm-Test.mc, CAN_1Ax_DS402_ProfileVelocityMode-pvm-Test.mc, CAN_1Ax_EPOS4-Test_csp.mc, CAN_1Ax_EPOS4-Test_cst.mc, CAN_1Ax_EPOS4-Test_csv.mc, CAN_2Ax_EPOS4-Test_csp.mc, and CAN_MultipleAx_DS402_ProfilePositionMode-ppm-Test.mc.
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);