Go to the documentation of this file.
27 #define M5DLLVERSION 0x5060
28 #define MAX_MODULES 31
32 #define WINAPI __stdcall
35 #ifdef M5APIW32_EXPORTS
36 #define M5DLL_API __declspec(dllexport)
38 #define M5DLL_API __declspec(dllimport)
41 #if defined(__LINUX__)
57 #define STATEID_MOD_ERROR 0x00000001L
58 #define STATEID_MOD_HOME 0x00000002L
59 #define STATEID_MOD_HALT 0x00000004L
60 #define STATEID_MOD_POWERFAULT 0x00000008L
61 #define STATEID_MOD_TOW_ERROR 0x00000010L
62 #define STATEID_MOD_COMM_ERROR 0x00000020L
63 #define STATEID_MOD_SWR 0x00000040L
64 #define STATEID_MOD_SW1 0x00000080L
65 #define STATEID_MOD_SW2 0x00000100L
66 #define STATEID_MOD_BRAKEACTIVE 0x00000200L
67 #define STATEID_MOD_CURLIMIT 0x00000400L
68 #define STATEID_MOD_MOTION 0x00000800L
69 #define STATEID_MOD_RAMP_ACC 0x00001000L
70 #define STATEID_MOD_RAMP_STEADY 0x00002000L
71 #define STATEID_MOD_RAMP_DEC 0x00004000L
72 #define STATEID_MOD_RAMP_END 0x00008000L
73 #define STATEID_MOD_INPROGRESS 0x00010000L
74 #define STATEID_MOD_FULLBUFFER 0x00020000L
75 #define STATEID_MOD_POW_VOLT_ERR 0x00040000L
76 #define STATEID_MOD_POW_FET_TEMP 0x00080000L
77 #define STATEID_MOD_POW_WDG_TEMP 0x00100000L
78 #define STATEID_MOD_POW_SHORTCUR 0x00200000L
79 #define STATEID_MOD_POW_HALLERR 0x00400000L
80 #define STATEID_MOD_POW_INTEGRALERR 0x00800000L
81 #define STATEID_MOD_CPU_OVERLOAD 0x01000000L
82 #define STATEID_MOD_BEYOND_HARD 0x02000000L
83 #define STATEID_MOD_BEYOND_SOFT 0x04000000L
84 #define STATEID_MOD_LOGIC_VOLT 0x08000000L
89 #define CONFIGID_MOD_ENCODER_FEEDBACK 0x00000001L //OS: 25xx from 35xx in SETUP
90 #define CONFIGID_MOD_RESOLVER_FEEDBACK 0x00000002L //OS: 25xx from 35xx in SETUP
91 #define CONFIGID_MOD_ABSOLUTE_FEEDBACK 0x00000004L //OS: 25xx from 35xx in SETUP
92 #define CONFIGID_MOD_BRAKE_PRESENT 0x00000008L
93 #define CONFIGID_MOD_BRAKE_AT_POWERON 0x00000010L
94 #define CONFIGID_MOD_SWR_WITH_ENCODERZERO 0x00000020L
95 #define CONFIGID_MOD_SWR_AT_FALLING_EDGE 0x00000040L
96 #define CONFIGID_MOD_CHANGE_SWR_TO_LIMIT 0x00000080L
97 #define CONFIGID_MOD_SWR_ENABLED 0x00000100L
98 #define CONFIGID_MOD_SWR_LOW_ACTIVE 0x00000200L
99 #define CONFIGID_MOD_SWR_EQ_POSLIMIT 0x00000400L //OS: 25xx
100 #define CONFIGID_MOD_SWR_USE_EXTERNAL 0x00000400L //OS: 35xx
101 #define CONFIGID_MOD_SW1_ENABLED 0x00000800L
102 #define CONFIGID_MOD_SW1_LOW_ACTIVE 0x00001000L
103 #define CONFIGID_MOD_SW1_EQ_POSLIMIT 0x00002000L //OS: 25xx
104 #define CONFIGID_MOD_SW1_USE_EXTERNAL 0x00002000L //OS: 35xx
105 #define CONFIGID_MOD_SW2_ENABLED 0x00004000L
106 #define CONFIGID_MOD_SW2_LOW_ACTIVE 0x00008000L
107 #define CONFIGID_MOD_SW2_EQ_POSLIMIT 0x00010000L //OS: 25xx
108 #define CONFIGID_MOD_SW2_USE_EXTERNAL 0x00010000L //OS: 35xx
109 #define CONFIGID_MOD_LINEAR 0x00020000L
110 #define CONFIGID_MOD_OPENBRAKE_ON_SW2 0x00040000L //OS: 25xx but not in 2512 from 35xx in SETUP
111 #define CONFIGID_MOD_ALLOW_FULL_CUR 0x00080000L
112 #define CONFIGID_MOD_M3_COMPATIBLE 0x00100000L
113 #define CONFIGID_MOD_LINEAR_SCREW 0x00200000L
114 #define CONFIGID_MOD_DISABLE_ON_HALT 0x00800000L
115 #define CONFIGID_MOD_WATCHDOG_ENABLE 0x01000000L
116 #define CONFIGID_MOD_ZERO_MOVE_AFTER_HOK 0x02000000L //OS: 35xx
117 #define CONFIGID_MOD_DISABLE_ACK 0x04000000L
118 #define CONFIGID_MOD_SYNC_MOTION 0x08000000L
119 #define CONFIGID_MOD_SYNC_TRANSMIT 0x10000000L //OS: 36xx
120 #define CONFIGID_MOD_CAN_RS232_COMM 0x40000000L //OS: 25xx
121 #define CONFIGID_MOD_PROFI_RS485_COMM 0x80000000L //OS: 25xx
127 #define SETUPID_MOD_ENCODER_FEEDBACK 0x00000001L
128 #define SETUPID_MOD_RESOLVER_FEEDBACK 0x00000002L
129 #define SETUPID_MOD_ABSOLUTE_FEEDBACK 0x00000004L
131 #define SETUPID_MOD_4IN_4OUT 0x00000008L
132 #define SETUPID_MOD_3IN_ENCODER_IN 0x00000010L
133 #define SETUPID_MOD_3IN_ENCODER_OUT 0x00000020L
135 #define SETUPID_MOD_RS232 0x00000040L
136 #define SETUPID_MOD_CAN 0x00000200L
137 #define SETUPID_MOD_PROFIBUS 0x00000400L
139 #define SETUPID_MOD_USE_M3ID 0x00000800L
140 #define SETUPID_MOD_USE_M4ID 0x00001000L
141 #define SETUPID_MOD_USE_CANOPEN 0x00002000L
143 #define SETUPID_MOD_INVERT_MOTORDIR 0x00004000L
145 #define SETUPID_MOD_USE_SW2_AS_ENABLE 0x00008000L
146 #define SETUPID_MOD_USE_SW2_AS_BRAKE 0x00010000L
148 #define SETUPID_MOD_ERROR_TO_OUT0 0x00020000L
150 #define SETUPID_MOD_IO_GRIPPER_CONTROL 0x00080000L
155 #define TYPEID_MOD_ROTARY 0x0f
156 #define TYPEID_MOD_LINEAR 0xf0
161 #define DIOID_MOD_INBIT0 0x00000001L
162 #define DIOID_MOD_INBIT1 0x00000002L
163 #define DIOID_MOD_INBIT2 0x00000004L
164 #define DIOID_MOD_INBIT3 0x00000008L
166 #define DIOID_MOD_OUTBIT0 0x00000010L
167 #define DIOID_MOD_OUTBIT1 0x00000020L
168 #define DIOID_MOD_OUTBIT2 0x00000040L
169 #define DIOID_MOD_OUTBIT3 0x00000080L
171 #define DIOID_MOD_INSWR 0x00000100L
172 #define DIOID_MOD_INSW1 0x00000200L
173 #define DIOID_MOD_INSW2 0x00000400L
178 #define TYPEID_EMS_DIG24V_OUT 10
179 #define TYPEID_EMS_DIG24V_IN 11
180 #define TYPEID_EMS_ANA10V_OUT 12
181 #define TYPEID_EMS_ANA10V_IN 13
182 #define TYPEID_EMS_ANA25MA_OUT 14
183 #define TYPEID_EMS_ANA25MA_IN 15
188 #define BAUDRATEID_MOD_CAN_125K 0
189 #define BAUDRATEID_MOD_CAN_250K 1
190 #define BAUDRATEID_MOD_CAN_500K 2
191 #define BAUDRATEID_MOD_CAN_1000K 3
193 #define BAUDRATEID_MOD_RS232_1200 0
194 #define BAUDRATEID_MOD_RS232_2400 1
195 #define BAUDRATEID_MOD_RS232_4800 2
196 #define BAUDRATEID_MOD_RS232_9600 3
197 #define BAUDRATEID_MOD_RS232_19200 4
198 #define BAUDRATEID_MOD_RS232_38400 5
199 #define BAUDRATEID_MOD_RS232_57600 6
200 #define BAUDRATEID_MOD_RS232_115200 7
205 #define ERRID_DEV (-200L) // device error
206 #define ERRID_DEV_FUNCTIONNOTAVAILABLE (ERRID_DEV - 1)
207 #define ERRID_DEV_NOINITSTRING (ERRID_DEV - 2)
208 #define ERRID_DEV_NODEVICENAME (ERRID_DEV - 3)
209 #define ERRID_DEV_BADINITSTRING (ERRID_DEV - 4)
210 #define ERRID_DEV_INITERROR (ERRID_DEV - 5)
211 #define ERRID_DEV_NOTINITIALIZED (ERRID_DEV - 6)
212 #define ERRID_DEV_WRITEERROR (ERRID_DEV - 7)
213 #define ERRID_DEV_READERROR (ERRID_DEV - 8)
214 #define ERRID_DEV_WRITETIMEOUT (ERRID_DEV - 9)
215 #define ERRID_DEV_READTIMEOUT (ERRID_DEV - 10)
216 #define ERRID_DEV_WRONGMESSAGEID (ERRID_DEV - 11)
217 #define ERRID_DEV_WRONGCOMMANDID (ERRID_DEV - 12)
218 #define ERRID_DEV_WRONGPARAMETERID (ERRID_DEV - 13)
219 #define ERRID_DEV_EXITERROR (ERRID_DEV - 14)
220 #define ERRID_DEV_NOMODULES (ERRID_DEV - 15)
221 #define ERRID_DEV_WRONGDEVICEID (ERRID_DEV - 16)
222 #define ERRID_DEV_NOLIBRARY (ERRID_DEV - 17)
223 #define ERRID_DEV_ISINITIALIZED (ERRID_DEV - 18)
224 #define ERRID_DEV_WRONGEMSMODULEID (ERRID_DEV - 19)
225 #define ERRID_DEV_EMSNOTINITIALIZED (ERRID_DEV - 20)
226 #define ERRID_DEV_EMSMAXNUMBER (ERRID_DEV - 21)
227 #define ERRID_DEV_EMSINITERROR (ERRID_DEV - 22)
228 #define ERRID_DEV_WRONGEMSTYPE (ERRID_DEV - 23)
229 #define ERRID_DEV_WRONGEMSCHANNELID (ERRID_DEV - 24)
230 #define ERRID_DEV_WRONGMP55MODULEID (ERRID_DEV - 25)
231 #define ERRID_DEV_WRONGSCHUNKMODULEID (ERRID_DEV - 26)
232 #define ERRID_DEV_WRONGMODULEID (ERRID_DEV - 27)
233 #define ERRID_DEV_MODULEERROR (ERRID_DEV - 28)
234 #define ERRID_DEV_WAITTIMEOUT (ERRID_DEV - 29)
235 #define ERRID_DEV_OPENINIFILE (ERRID_DEV - 30)
242 #define CLDERR_ERROR (-200)
243 #define CLERR_FUNCTIONNOTAVAILABLE (CLDERR_ERROR - 1)
244 #define CLERR_NOINITSTRING (CLDERR_ERROR - 2)
245 #define CLERR_NODEVICENAME (CLDERR_ERROR - 3)
246 #define CLERR_BADDEVICEINITSTRING (CLDERR_ERROR - 4)
247 #define CLDERR_INITIALIZATIONERROR (CLDERR_ERROR - 5)
248 #define CLERR_DEVICENOTOPEN (CLDERR_ERROR - 6)
249 #define CLDERR_TRANSMISSIONERROR (CLDERR_ERROR - 7)
250 #define CLDERR_RECEIVEERROR (CLDERR_ERROR - 8)
251 #define CLERR_COMM_SENDTIMEOUT (CLDERR_ERROR - 9)
252 #define CLERR_COMM_RECVTIMEOUT (CLDERR_ERROR - 10)
253 #define CLDERR_DRIVE_NOMODULEFOUND (CLDERR_ERROR - 15)
254 #define CLERR_WRONGHANDLE (CLDERR_ERROR - 16)
255 #define CLDERR_LIBRARYNOTFOUND (CLDERR_ERROR - 17)
260 #define STATE_ERROR 0x00000001L
261 #define STATE_HOME_OK 0x00000002L
262 #define STATE_HALTED 0x00000004L
263 #define STATE_POWERFAULT 0x00000008L
264 #define STATE_TOW_ERROR 0x00000010L
265 #define STATE_COMM_ERROR 0x00000020L
266 #define STATE_SWR 0x00000040L
267 #define STATE_SW1 0x00000080L
268 #define STATE_SW2 0x00000100L
269 #define STATE_BRAKEACTIVE 0x00000200L
270 #define STATE_CURLIMIT 0x00000400L
271 #define STATE_MOTION 0x00000800L
272 #define STATE_RAMP_ACC 0x00001000L
273 #define STATE_RAMP_STEADY 0x00002000L
274 #define STATE_RAMP_DEC 0x00004000L
275 #define STATE_RAMP_END 0x00008000L
276 #define STATE_INPROGRESS 0x00010000L
277 #define STATE_FULLBUFFER 0x00020000L
278 #define STATE_POW_VOLT_ERR 0x00040000L
279 #define STATE_POW_FET_TEMP 0x00080000L
280 #define STATE_POW_WDG_TEMP 0x00100000L
281 #define STATE_POW_SHORTCUR 0x00200000L
282 #define STATE_POW_HALLERR 0x00400000L
283 #define STATE_POW_INTEGRALERR 0x00800000L
284 #define STATE_CPU_OVERLOAD 0x01000000L
285 #define STATE_BEYOND_HARD 0x02000000L
286 #define STATE_BEYOND_SOFT 0x04000000L
291 #define ROTARY_DRIVE TYPEID_MOD_ROTARY
292 #define LINEAR_DRIVE TYPEID_MOD_LINEAR
297 #define TW_DIG24V_OUT TYPEID_EMS_DIG24V_OUT
298 #define TW_DIG24V_IN TYPEID_EMS_DIG24V_IN
299 #define TW_ANA10V_OUT TYPEID_EMS_ANA10V_OUT
300 #define TW_ANA10V_IN TYPEID_EMS_ANA10V_IN
301 #define TW_ANA25MA_OUT TYPEID_EMS_ANA25MA_OUT
302 #define TW_ANA25MA_IN TYPEID_EMS_ANA25MA_IN
308 #define CONFIG_ENCODER_FEEDBACK 0x00000001L
309 #define CONFIG_RESOLVER_FEEDBACK 0x00000002L
310 #define CONFIG_ABSOLUTE_FEEDBACK 0x00000004L
311 #define CONFIG_BRAKE_PRESENT 0x00000008L
312 #define CONFIG_BRAKE_AT_POWERON 0x00000010L
313 #define CONFIG_SWR_WITH_ENCODERZERO 0x00000020L
314 #define CONFIG_SWR_AT_FALLING_EDGE 0x00000040L
315 #define CONFIG_CHANGE_SWR_TO_LIMIT 0x00000080L
316 #define CONFIG_SWR_ENABLED 0x00000100L
317 #define CONFIG_SWR_LOW_ACTIVE 0x00000200L
318 #define CONFIG_SWR_EQ_POSLIMIT 0x00000400L
319 #define CONFIG_SW1_ENABLED 0x00000800L
320 #define CONFIG_SW1_LOW_ACTIVE 0x00001000L
321 #define CONFIG_SW1_EQ_POSLIMIT 0x00002000L
322 #define CONFIG_SW2_ENABLED 0x00004000L
323 #define CONFIG_SW2_LOW_ACTIVE 0x00008000L
324 #define CONFIG_SW2_EQ_POSLIMIT 0x00010000L
325 #define CONFIG_LINEAR_DRIVE 0x00020000L
326 #define CONFIG_OPENBRAKE_ON_SW2 0x00040000L
327 #define CONFIG_ALLOW_FULL_CUR 0x00080000L
328 #define CONFIG_M3_COMPATIBLE 0x00100000L
329 #define CONFIG_LINEAR_SCREW 0x00200000L
330 #define CONFIG_SYNC_MOTION 0x08000000L
331 #define CONFIG_CAN_RS232_COMM 0x40000000L
332 #define CONFIG_PROFI_RS485_COMM 0x80000000L
334 #define P3502_CONFIG_BRAKE_PRESENT 0x00000008L
335 #define P3502_CONFIG_BRAKE_AT_POWERON 0x00000010L
336 #define P3502_CONFIG_SWR_WITH_ENCODERZERO 0x00000020L
337 #define P3502_CONFIG_SWR_AT_FALLING_EDGE 0x00000040L
338 #define P3502_CONFIG_CHANGE_SWR_TO_LIMIT 0x00000080L
339 #define P3502_CONFIG_SWR_ENABLED 0x00000100L
340 #define P3502_CONFIG_SWR_LOW_ACTIVE 0x00000200L
341 #define P3502_CONFIG_SWR_USE_EXTERNAL 0x00000400L
342 #define P3502_CONFIG_SW1_ENABLED 0x00000800L
343 #define P3502_CONFIG_SW1_LOW_ACTIVE 0x00001000L
344 #define P3502_CONFIG_SW1_USE_EXTERNAL 0x00002000L
345 #define P3502_CONFIG_SW2_ENABLED 0x00004000L
346 #define P3502_CONFIG_SW2_LOW_ACTIVE 0x00008000L
347 #define P3502_CONFIG_SW2_USE_EXTERNAL 0x00010000L
348 #define P3502_CONFIG_LINEAR_DRIVE 0x00020000L
349 #define P3502_CONFIG_ALLOW_FULL_CUR 0x00080000L
350 #define P3502_CONFIG_M3_COMPATIBLE 0x00100000L
351 #define P3502_CONFIG_LINEAR_SCREW 0x00200000L
352 #define P3502_CONFIG_DISABLE_ON_HALT 0x00800000L
353 #define P3502_CONFIG_WATCHDOG_ENABLE 0x01000000L
354 #define P3502_CONFIG_ZERO_MOVE_AFTER_HOK 0x02000000L
355 #define P3502_CONFIG_DISABLE_ACK 0x04000000L
362 #define P3502_SETUP_ENCODER_FEEDBACK 0x00000001L
363 #define P3502_SETUP_RESOLVER_FEEDBACK 0x00000002L
364 #define P3502_SETUP_ABSOLUTE_FEEDBACK 0x00000004L
366 #define P3502_SETUP_4IN_4OUT 0x00000008L
367 #define P3502_SETUP_3IN_ENCODER_IN 0x00000010L
368 #define P3502_SETUP_3IN_ENCODER_OUT 0x00000020L
370 #define P3502_SETUP_RS232 0x00000040L
371 #define P3502_SETUP_RS485HD 0x00000080L
372 #define P3502_SETUP_RS485FD 0x00000100L
373 #define P3502_SETUP_CAN 0x00000200L
374 #define P3502_SETUP_PROFIBUS 0x00000400L
376 #define P3502_SETUP_USE_M3ID 0x00000800L
377 #define P3502_SETUP_USE_M4ID 0x00001000L
378 #define P3502_SETUP_USE_CANOPEN 0x00002000L
380 #define P3502_SETUP_INVERT_MOTORDIR 0x00004000L
382 #define P3502_SETUP_USE_SW2_AS_ENABLE 0x00008000L
383 #define P3502_SETUP_USE_SW2_AS_BRAKE 0x00010000L
385 #define P3502_SETUP_ERROR_TO_OUT0 0x00020000L
387 #define P3502_SETUP_INVERT_COUNTER 0x00040000L
393 #define PCube_getCubeState PCube_getModuleState
394 #define PCube_getDefCubeVersion PCube_getModuleVersion
395 #define PCube_getModulesIdMap PCube_getModuleIdMap
396 #define PCube_getDefBurncount PCube_getDefBurnCount
397 #define PCube_getDefSerialNo PCube_getModuleSerialNo
398 #define PCube_getDefPulsesPerTurn PCube_getDefIncPerTurn
399 #define PCube_getDefDioSetup PCube_getDefDioData
400 #define PCube_getActPos PCube_getPos
401 #define PCube_getActVel PCube_getVel
402 #define PCube_getActPosInc PCube_getPosInc
403 #define PCube_syncModule PCube_homeModule
404 #define PCube_moveCurrent PCube_moveCur
405 #define PCube_moveCurrentInc PCube_moveCurInc
406 #define PCube_moveCurrentExtended PCube_moveCurExtended
407 #define DLR_FTSInit PCube_initDLR_FTS
408 #define DLR_FTSGetData PCube_getDataDLR_FTS
409 #define PCube_getStatusInternal PCube_getStateInternal
410 #define PCube_ConfigFromFile PCube_configFromFile
411 #define PCube_getInitString PCube_getDeviceInitString
412 #define PCube_getName PCube_getDeviceName
413 #define PCube_getRevision PCube_getDeviceRevision
414 #define PCube_setTargetVel PCube_setRampVel
415 #define PCube_setTargetAcc PCube_setRampAcc
581 M5DLL_API int WINAPI PCube_getDataDLR_FTS(
int iDeviceId,
float* pfDataFX,
float* pfDataFY,
float* pfDataFZ,
float* pfDataTX,
float* pfDataTY,
float* pfDataTZ,
long* piState );
583 M5DLL_API int WINAPI PCube_getDataSCHUNK_FTC(
int iDeviceId,
int iModulId,
int iChannelTypeId,
float* pfDataFX,
float* pfDataFY,
float* pfDataFZ,
float* pfDataTX,
float* pfDataTY,
float* pfDataTZ,
short* piState );
M5DLL_API int WINAPI PCube_doInternal(int iDeviceId, int iModuleId, void *pBytes)
M5DLL_API int WINAPI PCube_setNominalMotorCurrent(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int g_iM5DebugLevel
M5DLL_API int WINAPI PCube_getDefMaxPos(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setCurrentLimit(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_getPos(int iDeviceId, int iModuleId, float *pfPos)
M5DLL_API int WINAPI PCube_getCurInc(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_waitForHomeEndAll(int iDeviceId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_getSyncTime(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_serveWatchdogAll(int iDeviceId)
M5DLL_API int g_iM5DebugFile
M5DLL_API int WINAPI PCube_haltAll(int iDeviceId)
M5DLL_API int WINAPI PCube_movePos(int iDeviceId, int iModuleId, float fPos)
M5DLL_API int WINAPI PCube_getRawLogicSupply(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getLoadLimit(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMinPos(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxDeltaPos(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaximumMotorCurrent(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getPosCountInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_setMaxLoadGradient(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_resetAll(int iDeviceId)
M5DLL_API int WINAPI PCube_getDefMaxAcc(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxPWMOutput(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_setMotorUndershootTime(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getDefRSBaudRate(int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_getCanOpenRawAbsEnc(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_setMaxDeltaPos(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setDataEMS_DIO(int iDeviceId, int iModuleId, int iChannelId, int iData)
M5DLL_API int WINAPI PCube_getDefIncPerTurn(int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_setMaxAcc(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_getMinLogicVoltage(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setDefRSBaudRate(int iDeviceId, int iModuleId, unsigned char uiValue)
M5DLL_API int WINAPI PCube_setRampVelInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getMinPosInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getC0(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getVel(int iDeviceId, int iModuleId, float *pfVel)
M5DLL_API int WINAPI PCube_getDefMaxVel(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setHMaxCurOvershootTime(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setSyncTime(int iDeviceId, int iModuleId, short iValue)
M5DLL_API int WINAPI PCube_setDefGearRatio(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_moveCur(int iDeviceId, int iModuleId, float fCur)
M5DLL_API int WINAPI PCube_getDefGearRatio(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setRampAccInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getDefDamp(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_updateModuleIdMap(int iDeviceId)
M5DLL_API int WINAPI PCube_getMaxMotorVoltage(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDataEMS_DIO(int iDeviceId, int iModuleId, int iChannelId, int *piData)
M5DLL_API int WINAPI PCube_setDefSetup(int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_getRawTemperature(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_setDefIncPerTurn(int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_setMaxAccInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getHomeVel(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setDefAddress(int iDeviceId, int iModuleId, unsigned char uiValue)
M5DLL_API int WINAPI PCube_getMotorUndershootTime(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaxDeltaPosInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getModuleState(int iDeviceId, int iModuleId, unsigned long *puiState)
M5DLL_API int WINAPI PCube_getMaxPos(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setLogicOvershootTime(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getPosInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getRawMotorSupply(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getNomCurOvershootTime(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getRawMotorCurrent(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getLogicOvershootTime(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getHMaxCurOvershootTime(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaxVelInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_waitForMotionEndAll(int iDeviceId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_setMaxVelInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getMinMotorVoltage(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefC0(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_setRampVel(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_waitForRampEndAll(int iDeviceId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_setHomeOffset(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_savePosAll(int iDeviceId)
M5DLL_API int WINAPI PCube_getDefBrakeTimeOut(int iDeviceId, int iModuleId, unsigned short *puiValue)
M5DLL_API int WINAPI PCube_setMinPosInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getModuleType(int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_setDeviceDebug(int iDeviceId, int iDebug, int iDebugLevel, int iDebugFile)
M5DLL_API int WINAPI PCube_getDefBaudRate(int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_recalcPIDParams(int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_getHomeOffsetInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_setTaraMP55_IO(int iDeviceId, int iModuleId, float fData)
M5DLL_API int WINAPI PCube_getMaxPosInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_moveRampExtended(int iDeviceId, int iModuleId, float fPos, float fVel, float fAcc, unsigned long *puiState, unsigned char *pucDio, float *pfPos)
M5DLL_API int WINAPI PCube_setMaxVel(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_getMaxAccInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getLogicUndershootTime(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getTemperature(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setHomeOffsetInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setRampAcc(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_waitForRampEnd(int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_moveStepExtended(int iDeviceId, int iModuleId, float fPos, unsigned short uiTime, unsigned long *puiShortState, unsigned char *pucDio, float *pfPos)
M5DLL_API int WINAPI PCube_getKpPWMLimit(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getConfig(int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getCur(int iDeviceId, int iModuleId, float *pfCur)
M5DLL_API int WINAPI PCube_getModuleSerialNo(int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getDataEMS_AIO(int iDeviceId, int iModuleId, int iChannelId, float *pfData)
M5DLL_API int WINAPI PCube_setMaxPos(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_getDefMaxDeltaPos(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setMinMotorVoltage(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_getModuleIdMap(int iDeviceId, int *aiIdMap)
M5DLL_API int WINAPI PCube_setLoadLimit(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_movePosInc(int iDeviceId, int iModuleId, long iPos)
M5DLL_API int WINAPI PCube_getHomeOffset(int iDeviceId, int iModuleId, float *pValue)
M5DLL_API int WINAPI PCube_getIncRatio(int iDeviceId, int iModuleId, float *pValue)
M5DLL_API int WINAPI PCube_movePosExtended(int iDeviceId, int iModuleId, float fPos, unsigned long *puiShortState, unsigned char *pucDio, float *pfPos)
M5DLL_API int WINAPI PCube_getHomeVelInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_setDamp(int iDeviceId, int iModuleId, short iValue)
M5DLL_API int WINAPI PCube_getDeviceCount(void)
M5DLL_API int WINAPI PCube_getA0(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_setMaxLogicVoltage(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_getDefCANBaudRate(int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_initEMS_IO(int iDeviceId, unsigned char ucType, unsigned long uiSerialNo)
M5DLL_API int WINAPI PCube_getMaxLoadGradient(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_waitForRampSteady(int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_setLoadDeltaTime(int iDeviceId, int iModuleId, unsigned short iValue)
M5DLL_API int WINAPI PCube_getDefDioData(int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getDefA0(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_setDefCurRatio(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_closeDevice(int iDeviceId)
M5DLL_API int WINAPI PCube_getDeviceIdMap(int *aiIdMap)
M5DLL_API int WINAPI PCube_getDefCurRatio(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefBurnCount(int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_getDefMinPos(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getCurrentLimit(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDataSCHUNK_FTC(int iDeviceId, int iModulId, int iChannelTypeId, float *pfDataFX, float *pfDataFY, float *pfDataFZ, float *pfDataTX, float *pfDataTY, float *pfDataTZ, short *piState)
M5DLL_API int WINAPI PCube_getDefConfig(int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getNominalMotorCurrent(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setNullSCHUNK_FTC(int iDeviceId, int iModulId, short *piState)
M5DLL_API int WINAPI PCube_setMotorOvershootTime(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setC0(int iDeviceId, int iModuleId, short iValue)
M5DLL_API int WINAPI PCube_getVelInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_setMaxPosInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_homeAll(int iDeviceId)
M5DLL_API int WINAPI PCube_closeDevices(void)
M5DLL_API int WINAPI PCube_getDefHomeOffset(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDioData(int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_xack8Bytes(int iDeviceId, int iModuleId, void *pBytes)
M5DLL_API int WINAPI PCube_getLoadDeltaTime(int iDeviceId, int iModuleId, unsigned short *piValue)
M5DLL_API int WINAPI PCube_waitForRampDec(int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_setMinPos(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setDioData(int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_setMinLogicVoltage(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_startMotionAll(int iDeviceId)
M5DLL_API int WINAPI PCube_waitForHomeEnd(int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_setDefLinRatio(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxCur(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_configFromFile(const char *acFileName)
M5DLL_API int WINAPI PCube_homeModule(int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_getMaxVel(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setKpPWMLimit(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_openDevice(int *piDeviceId, const char *acInitString)
M5DLL_API int WINAPI PCube_initDLR_FTS(int iDeviceId)
M5DLL_API int WINAPI PCube_moveStepInc(int iDeviceId, int iModuleId, long iPos, unsigned short uiTime)
M5DLL_API int WINAPI PCube_setHomeVelInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_waitForMotionEnd(int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_saveParameters(int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_getDataMP55_IO(int iDeviceId, int iModuleId, float *pfData)
M5DLL_API int WINAPI PCube_getDefCurOffset(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setMaximumMotorCurrent(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setDllDebug(int iDebug, int iDebugLevel, int iDebugFile)
M5DLL_API int WINAPI PCube_getDefMaxCur(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getIPolVel(int iDeviceId, int iModuleId, float *pValue)
M5DLL_API int WINAPI PCube_getDefSetup(int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getMaxLogicVoltage(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setBaudRateAll(int iDeviceId, unsigned char pucValue)
M5DLL_API int WINAPI PCube_resetModule(int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_getDefHomeVel(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setConfig(int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_getDataDLR_FTS(int iDeviceId, float *pfDataFX, float *pfDataFY, float *pfDataFZ, float *pfDataTX, float *pfDataTY, float *pfDataTZ, long *piState)
M5DLL_API int WINAPI PCube_getStateDioPos(int iDeviceId, int iModuleId, unsigned long *puiShortState, unsigned char *pucDio, float *pfPos)
M5DLL_API int WINAPI PCube_moveRampInc(int iDeviceId, int iModuleId, long iPos, long iVel, long iAcc)
M5DLL_API int WINAPI PCube_setHomeVel(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setLogicUndershootTime(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_moveStep(int iDeviceId, int iModuleId, float fPos, unsigned short uiTime)
M5DLL_API int WINAPI PCube_getDefLinearRatio(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMotorCurrent(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_haltModule(int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_setA0(int iDeviceId, int iModuleId, short iValue)
M5DLL_API int WINAPI PCube_getMotorOvershootTime(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaxCur(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_waitForStartMotionAll(int iDeviceId)
const M5DLL_API char *WINAPI PCube_getDeviceRevision(int iDeviceId)
M5DLL_API int WINAPI PCube_getDataMP55_IO_fast(int iDeviceId, int iModuleId, float *pfData)
M5DLL_API int WINAPI PCube_moveVelInc(int iDeviceId, int iModuleId, long iVel)
M5DLL_API int WINAPI PCube_setDefHomeAcc(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_xmit8Bytes(int iDeviceId, int iModuleId, void *pBytes)
const M5DLL_API char *WINAPI PCube_getDeviceInitString(int iDeviceId)
M5DLL_API int WINAPI PCube_setMaxMotorVoltage(int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_getDeltaPos(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDllVersion(void)
M5DLL_API int WINAPI PCube_moveCurExtended(int iDeviceId, int iModuleId, float fCur, unsigned long *puiShortState, unsigned char *pucDio, float *pfPos)
M5DLL_API int WINAPI PCube_moveVel(int iDeviceId, int iModuleId, float fVel)
M5DLL_API int WINAPI PCube_moveRamp(int iDeviceId, int iModuleId, float fPos, float fVel, float fAcc)
M5DLL_API int WINAPI PCube_moveVelExtended(int iDeviceId, int iModuleId, float fCur, unsigned long *puiShortState, unsigned char *pucDio, float *pfPos)
M5DLL_API int WINAPI PCube_setNomCurOvershootTime(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getDamp(int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getDeltaPosInc(int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_setDataEMS_AIO(int iDeviceId, int iModuleId, int iChannelId, float fData)
M5DLL_API int WINAPI PCube_getStateInternal(int iDeviceId, int iModuleId, unsigned long *puiState)
M5DLL_API int WINAPI PCube_getSavePos(int iDeviceId, int iModuleId, float *pfValue)
const M5DLL_API char *WINAPI PCube_getDeviceName(int iDeviceId)
M5DLL_API int WINAPI PCube_getModuleCount(int iDeviceId)
M5DLL_API int WINAPI PCube_setDeviceName(int iDeviceId, const char *acDeviceName)
M5DLL_API int WINAPI PCube_getMotorSupply(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setDefBrakeTimeOut(int iDeviceId, int iModuleId, unsigned short uiValue)
M5DLL_API int WINAPI PCube_setDefCANBaudRate(int iDeviceId, int iModuleId, unsigned char uiValue)
M5DLL_API int WINAPI PCube_moveCurInc(int iDeviceId, int iModuleId, long iCur)
M5DLL_API int WINAPI PCube_setModuleSerialNo(int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_setMaxDeltaPosInc(int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_getMaxAcc(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getModuleVersion(int iDeviceId, int iModuleId, unsigned short *puiValue)
M5DLL_API int WINAPI PCube_getLogicSupply(int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_setInitMP55_IO_fast(int iDeviceId, int iModuleId)
schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Sat May 7 2022 02:17:13