ElmoMC Multi-Axis Motion Controller-Maestro User Manual
Page 128

Return Value:
int - Error value:
0
OK,
>
0
communication error codes:
1. The API library is not initialized;
2. Zero Communication Handle;
3. Bad Communication Handle;
4. Unable to create interface ITNElmoPublic;
5. Unable to open SimpleIQ application file;
6. Application file is empty;
7. Unable to read application file;
8. Unable to find version;
9. Unable to read version;
10. Unable to find parameters;
11. Unable to read parameters;
12. Unable to verify versioning capability;
13. Incompatible versions;
14. Difference versions: need to call Application Editor;
15. Unable to load application;
100.
Download SimpleIQ program failed:
109.
Unable to clear program for SimpleIQ device;
110.
Unable to send image file;
111.
Unable to send image file checksum;
200.
Download SimpleIQ device parameters failed:
201.
Unable to get TOC;
202.
Unable to clear parameters - step 1 failed;
203.
Unable to clear parameters - step 2 failed;
204.
Unable to clear parameters - step 3 failed;
205.
Unable to clear parameters - step 4 failed;
206.
Unable to download header of parameters;
207. Unable to download portion of parameters;
Use MAC_GetLastError to retrieve the error string.
Sample:
int retVal = MAC_DownloadSimpleIQApp( hCom, _T("a2"),
_T("c:\\SimpleIQ\\app2.dat") );
Maestro
Software Manual
The Maestro API
MAN-MASSW (Ver. Q)
6-21