m5apiw32.h File Reference

Go to the source code of this file.

Defines

#define BAUDRATEID_MOD_CAN_1000K   3
#define BAUDRATEID_MOD_CAN_125K   0
#define BAUDRATEID_MOD_CAN_250K   1
#define BAUDRATEID_MOD_CAN_500K   2
#define BAUDRATEID_MOD_RS232_115200   7
#define BAUDRATEID_MOD_RS232_1200   0
#define BAUDRATEID_MOD_RS232_19200   4
#define BAUDRATEID_MOD_RS232_2400   1
#define BAUDRATEID_MOD_RS232_38400   5
#define BAUDRATEID_MOD_RS232_4800   2
#define BAUDRATEID_MOD_RS232_57600   6
#define BAUDRATEID_MOD_RS232_9600   3
#define CLD_ERR   -1
#define CLD_OK   0
#define CLDERR_DRIVE_NOMODULEFOUND   (CLDERR_ERROR - 15)
#define CLDERR_ERROR   (-200)
#define CLDERR_INITIALIZATIONERROR   (CLDERR_ERROR - 5)
#define CLDERR_LIBRARYNOTFOUND   (CLDERR_ERROR - 17)
#define CLDERR_RECEIVEERROR   (CLDERR_ERROR - 8)
#define CLDERR_TRANSMISSIONERROR   (CLDERR_ERROR - 7)
#define CLERR_BADDEVICEINITSTRING   (CLDERR_ERROR - 4)
#define CLERR_COMM_RECVTIMEOUT   (CLDERR_ERROR - 10)
#define CLERR_COMM_SENDTIMEOUT   (CLDERR_ERROR - 9)
#define CLERR_DEVICENOTOPEN   (CLDERR_ERROR - 6)
#define CLERR_FUNCTIONNOTAVAILABLE   (CLDERR_ERROR - 1)
#define CLERR_NODEVICENAME   (CLDERR_ERROR - 3)
#define CLERR_NOINITSTRING   (CLDERR_ERROR - 2)
#define CLERR_WRONGHANDLE   (CLDERR_ERROR - 16)
#define CONFIG_ABSOLUTE_FEEDBACK   0x00000004L
#define CONFIG_ALLOW_FULL_CUR   0x00080000L
#define CONFIG_BRAKE_AT_POWERON   0x00000010L
#define CONFIG_BRAKE_PRESENT   0x00000008L
#define CONFIG_CAN_RS232_COMM   0x40000000L
#define CONFIG_CHANGE_SWR_TO_LIMIT   0x00000080L
#define CONFIG_ENCODER_FEEDBACK   0x00000001L
#define CONFIG_LINEAR_DRIVE   0x00020000L
#define CONFIG_LINEAR_SCREW   0x00200000L
#define CONFIG_M3_COMPATIBLE   0x00100000L
#define CONFIG_OPENBRAKE_ON_SW2   0x00040000L
#define CONFIG_PROFI_RS485_COMM   0x80000000L
#define CONFIG_RESOLVER_FEEDBACK   0x00000002L
#define CONFIG_SW1_ENABLED   0x00000800L
#define CONFIG_SW1_EQ_POSLIMIT   0x00002000L
#define CONFIG_SW1_LOW_ACTIVE   0x00001000L
#define CONFIG_SW2_ENABLED   0x00004000L
#define CONFIG_SW2_EQ_POSLIMIT   0x00010000L
#define CONFIG_SW2_LOW_ACTIVE   0x00008000L
#define CONFIG_SWR_AT_FALLING_EDGE   0x00000040L
#define CONFIG_SWR_ENABLED   0x00000100L
#define CONFIG_SWR_EQ_POSLIMIT   0x00000400L
#define CONFIG_SWR_LOW_ACTIVE   0x00000200L
#define CONFIG_SWR_WITH_ENCODERZERO   0x00000020L
#define CONFIG_SYNC_MOTION   0x08000000L
#define CONFIGID_MOD_ABSOLUTE_FEEDBACK   0x00000004L
#define CONFIGID_MOD_ALLOW_FULL_CUR   0x00080000L
#define CONFIGID_MOD_BRAKE_AT_POWERON   0x00000010L
#define CONFIGID_MOD_BRAKE_PRESENT   0x00000008L
#define CONFIGID_MOD_CAN_RS232_COMM   0x40000000L
#define CONFIGID_MOD_CHANGE_SWR_TO_LIMIT   0x00000080L
#define CONFIGID_MOD_DISABLE_ACK   0x04000000L
#define CONFIGID_MOD_DISABLE_ON_HALT   0x00800000L
#define CONFIGID_MOD_ENCODER_FEEDBACK   0x00000001L
#define CONFIGID_MOD_LINEAR   0x00020000L
#define CONFIGID_MOD_LINEAR_SCREW   0x00200000L
#define CONFIGID_MOD_M3_COMPATIBLE   0x00100000L
#define CONFIGID_MOD_OPENBRAKE_ON_SW2   0x00040000L
#define CONFIGID_MOD_PROFI_RS485_COMM   0x80000000L
#define CONFIGID_MOD_RESOLVER_FEEDBACK   0x00000002L
#define CONFIGID_MOD_SW1_ENABLED   0x00000800L
#define CONFIGID_MOD_SW1_EQ_POSLIMIT   0x00002000L
#define CONFIGID_MOD_SW1_LOW_ACTIVE   0x00001000L
#define CONFIGID_MOD_SW1_USE_EXTERNAL   0x00002000L
#define CONFIGID_MOD_SW2_ENABLED   0x00004000L
#define CONFIGID_MOD_SW2_EQ_POSLIMIT   0x00010000L
#define CONFIGID_MOD_SW2_LOW_ACTIVE   0x00008000L
#define CONFIGID_MOD_SW2_USE_EXTERNAL   0x00010000L
#define CONFIGID_MOD_SWR_AT_FALLING_EDGE   0x00000040L
#define CONFIGID_MOD_SWR_ENABLED   0x00000100L
#define CONFIGID_MOD_SWR_EQ_POSLIMIT   0x00000400L
#define CONFIGID_MOD_SWR_LOW_ACTIVE   0x00000200L
#define CONFIGID_MOD_SWR_USE_EXTERNAL   0x00000400L
#define CONFIGID_MOD_SWR_WITH_ENCODERZERO   0x00000020L
#define CONFIGID_MOD_SYNC_MOTION   0x08000000L
#define CONFIGID_MOD_SYNC_TRANSMIT   0x10000000L
#define CONFIGID_MOD_WATCHDOG_ENABLE   0x01000000L
#define CONFIGID_MOD_ZERO_MOVE_AFTER_HOK   0x02000000L
#define DIOID_MOD_INBIT0   0x00000001L
#define DIOID_MOD_INBIT1   0x00000002L
#define DIOID_MOD_INBIT2   0x00000004L
#define DIOID_MOD_INBIT3   0x00000008L
#define DIOID_MOD_INSW1   0x00000200L
#define DIOID_MOD_INSW2   0x00000400L
#define DIOID_MOD_INSWR   0x00000100L
#define DIOID_MOD_OUTBIT0   0x00000010L
#define DIOID_MOD_OUTBIT1   0x00000020L
#define DIOID_MOD_OUTBIT2   0x00000040L
#define DIOID_MOD_OUTBIT3   0x00000080L
#define DLR_FTSGetData   PCube_getDataDLR_FTS
#define DLR_FTSInit   PCube_initDLR_FTS
#define ERRID_DEV   (-200L)
#define ERRID_DEV_BADINITSTRING   (ERRID_DEV - 4)
#define ERRID_DEV_EMSINITERROR   (ERRID_DEV - 22)
#define ERRID_DEV_EMSMAXNUMBER   (ERRID_DEV - 21)
#define ERRID_DEV_EMSNOTINITIALIZED   (ERRID_DEV - 20)
#define ERRID_DEV_EXITERROR   (ERRID_DEV - 14)
#define ERRID_DEV_FUNCTIONNOTAVAILABLE   (ERRID_DEV - 1)
#define ERRID_DEV_INITERROR   (ERRID_DEV - 5)
#define ERRID_DEV_ISINITIALIZED   (ERRID_DEV - 18)
#define ERRID_DEV_MODULEERROR   (ERRID_DEV - 28)
#define ERRID_DEV_NODEVICENAME   (ERRID_DEV - 3)
#define ERRID_DEV_NOINITSTRING   (ERRID_DEV - 2)
#define ERRID_DEV_NOLIBRARY   (ERRID_DEV - 17)
#define ERRID_DEV_NOMODULES   (ERRID_DEV - 15)
#define ERRID_DEV_NOTINITIALIZED   (ERRID_DEV - 6)
#define ERRID_DEV_OPENINIFILE   (ERRID_DEV - 30)
#define ERRID_DEV_READERROR   (ERRID_DEV - 8)
#define ERRID_DEV_READTIMEOUT   (ERRID_DEV - 10)
#define ERRID_DEV_WAITTIMEOUT   (ERRID_DEV - 29)
#define ERRID_DEV_WRITEERROR   (ERRID_DEV - 7)
#define ERRID_DEV_WRITETIMEOUT   (ERRID_DEV - 9)
#define ERRID_DEV_WRONGCOMMANDID   (ERRID_DEV - 12)
#define ERRID_DEV_WRONGDEVICEID   (ERRID_DEV - 16)
#define ERRID_DEV_WRONGEMSCHANNELID   (ERRID_DEV - 24)
#define ERRID_DEV_WRONGEMSMODULEID   (ERRID_DEV - 19)
#define ERRID_DEV_WRONGEMSTYPE   (ERRID_DEV - 23)
#define ERRID_DEV_WRONGMESSAGEID   (ERRID_DEV - 11)
#define ERRID_DEV_WRONGMODULEID   (ERRID_DEV - 27)
#define ERRID_DEV_WRONGMP55MODULEID   (ERRID_DEV - 25)
#define ERRID_DEV_WRONGPARAMETERID   (ERRID_DEV - 13)
#define ERRID_DEV_WRONGSCHUNKMODULEID   (ERRID_DEV - 26)
#define LINEAR_DRIVE   TYPEID_MOD_LINEAR
#define M5DLLVERSION   0x5060
#define MAX_MODULES   31
#define P3502_CONFIG_ALLOW_FULL_CUR   0x00080000L
#define P3502_CONFIG_BRAKE_AT_POWERON   0x00000010L
#define P3502_CONFIG_BRAKE_PRESENT   0x00000008L
#define P3502_CONFIG_CHANGE_SWR_TO_LIMIT   0x00000080L
#define P3502_CONFIG_DISABLE_ACK   0x04000000L
#define P3502_CONFIG_DISABLE_ON_HALT   0x00800000L
#define P3502_CONFIG_LINEAR_DRIVE   0x00020000L
#define P3502_CONFIG_LINEAR_SCREW   0x00200000L
#define P3502_CONFIG_M3_COMPATIBLE   0x00100000L
#define P3502_CONFIG_SW1_ENABLED   0x00000800L
#define P3502_CONFIG_SW1_LOW_ACTIVE   0x00001000L
#define P3502_CONFIG_SW1_USE_EXTERNAL   0x00002000L
#define P3502_CONFIG_SW2_ENABLED   0x00004000L
#define P3502_CONFIG_SW2_LOW_ACTIVE   0x00008000L
#define P3502_CONFIG_SW2_USE_EXTERNAL   0x00010000L
#define P3502_CONFIG_SWR_AT_FALLING_EDGE   0x00000040L
#define P3502_CONFIG_SWR_ENABLED   0x00000100L
#define P3502_CONFIG_SWR_LOW_ACTIVE   0x00000200L
#define P3502_CONFIG_SWR_USE_EXTERNAL   0x00000400L
#define P3502_CONFIG_SWR_WITH_ENCODERZERO   0x00000020L
#define P3502_CONFIG_WATCHDOG_ENABLE   0x01000000L
#define P3502_CONFIG_ZERO_MOVE_AFTER_HOK   0x02000000L
#define P3502_SETUP_3IN_ENCODER_IN   0x00000010L
#define P3502_SETUP_3IN_ENCODER_OUT   0x00000020L
#define P3502_SETUP_4IN_4OUT   0x00000008L
#define P3502_SETUP_ABSOLUTE_FEEDBACK   0x00000004L
#define P3502_SETUP_CAN   0x00000200L
#define P3502_SETUP_ENCODER_FEEDBACK   0x00000001L
#define P3502_SETUP_ERROR_TO_OUT0   0x00020000L
#define P3502_SETUP_INVERT_COUNTER   0x00040000L
#define P3502_SETUP_INVERT_MOTORDIR   0x00004000L
#define P3502_SETUP_PROFIBUS   0x00000400L
#define P3502_SETUP_RESOLVER_FEEDBACK   0x00000002L
#define P3502_SETUP_RS232   0x00000040L
#define P3502_SETUP_RS485FD   0x00000100L
#define P3502_SETUP_RS485HD   0x00000080L
#define P3502_SETUP_USE_CANOPEN   0x00002000L
#define P3502_SETUP_USE_M3ID   0x00000800L
#define P3502_SETUP_USE_M4ID   0x00001000L
#define P3502_SETUP_USE_SW2_AS_BRAKE   0x00010000L
#define P3502_SETUP_USE_SW2_AS_ENABLE   0x00008000L
#define PCube_ConfigFromFile   PCube_configFromFile
#define PCube_getActPos   PCube_getPos
#define PCube_getActPosInc   PCube_getPosInc
#define PCube_getActVel   PCube_getVel
#define PCube_getCubeState   PCube_getModuleState
#define PCube_getDefBurncount   PCube_getDefBurnCount
#define PCube_getDefCubeVersion   PCube_getModuleVersion
#define PCube_getDefDioSetup   PCube_getDefDioData
#define PCube_getDefPulsesPerTurn   PCube_getDefIncPerTurn
#define PCube_getDefSerialNo   PCube_getModuleSerialNo
#define PCube_getInitString   PCube_getDeviceInitString
#define PCube_getModulesIdMap   PCube_getModuleIdMap
#define PCube_getName   PCube_getDeviceName
#define PCube_getRevision   PCube_getDeviceRevision
#define PCube_getStatusInternal   PCube_getStateInternal
#define PCube_moveCurrent   PCube_moveCur
#define PCube_moveCurrentExtended   PCube_moveCurExtended
#define PCube_moveCurrentInc   PCube_moveCurInc
#define PCube_setTargetAcc   PCube_setRampAcc
#define PCube_setTargetVel   PCube_setRampVel
#define PCube_syncModule   PCube_homeModule
#define ROTARY_DRIVE   TYPEID_MOD_ROTARY
#define SETUPID_MOD_3IN_ENCODER_IN   0x00000010L
#define SETUPID_MOD_3IN_ENCODER_OUT   0x00000020L
#define SETUPID_MOD_4IN_4OUT   0x00000008L
#define SETUPID_MOD_ABSOLUTE_FEEDBACK   0x00000004L
#define SETUPID_MOD_CAN   0x00000200L
#define SETUPID_MOD_ENCODER_FEEDBACK   0x00000001L
#define SETUPID_MOD_ERROR_TO_OUT0   0x00020000L
#define SETUPID_MOD_INVERT_MOTORDIR   0x00004000L
#define SETUPID_MOD_IO_GRIPPER_CONTROL   0x00080000L
#define SETUPID_MOD_PROFIBUS   0x00000400L
#define SETUPID_MOD_RESOLVER_FEEDBACK   0x00000002L
#define SETUPID_MOD_RS232   0x00000040L
#define SETUPID_MOD_USE_CANOPEN   0x00002000L
#define SETUPID_MOD_USE_M3ID   0x00000800L
#define SETUPID_MOD_USE_M4ID   0x00001000L
#define SETUPID_MOD_USE_SW2_AS_BRAKE   0x00010000L
#define SETUPID_MOD_USE_SW2_AS_ENABLE   0x00008000L
#define STATE_BEYOND_HARD   0x02000000L
#define STATE_BEYOND_SOFT   0x04000000L
#define STATE_BRAKEACTIVE   0x00000200L
#define STATE_COMM_ERROR   0x00000020L
#define STATE_CPU_OVERLOAD   0x01000000L
#define STATE_CURLIMIT   0x00000400L
#define STATE_ERROR   0x00000001L
#define STATE_FULLBUFFER   0x00020000L
#define STATE_HALTED   0x00000004L
#define STATE_HOME_OK   0x00000002L
#define STATE_INPROGRESS   0x00010000L
#define STATE_MOTION   0x00000800L
#define STATE_POW_FET_TEMP   0x00080000L
#define STATE_POW_HALLERR   0x00400000L
#define STATE_POW_INTEGRALERR   0x00800000L
#define STATE_POW_SHORTCUR   0x00200000L
#define STATE_POW_VOLT_ERR   0x00040000L
#define STATE_POW_WDG_TEMP   0x00100000L
#define STATE_POWERFAULT   0x00000008L
#define STATE_RAMP_ACC   0x00001000L
#define STATE_RAMP_DEC   0x00004000L
#define STATE_RAMP_END   0x00008000L
#define STATE_RAMP_STEADY   0x00002000L
#define STATE_SW1   0x00000080L
#define STATE_SW2   0x00000100L
#define STATE_SWR   0x00000040L
#define STATE_TOW_ERROR   0x00000010L
#define STATEID_MOD_BEYOND_HARD   0x02000000L
#define STATEID_MOD_BEYOND_SOFT   0x04000000L
#define STATEID_MOD_BRAKEACTIVE   0x00000200L
#define STATEID_MOD_COMM_ERROR   0x00000020L
#define STATEID_MOD_CPU_OVERLOAD   0x01000000L
#define STATEID_MOD_CURLIMIT   0x00000400L
#define STATEID_MOD_ERROR   0x00000001L
#define STATEID_MOD_FULLBUFFER   0x00020000L
#define STATEID_MOD_HALT   0x00000004L
#define STATEID_MOD_HOME   0x00000002L
#define STATEID_MOD_INPROGRESS   0x00010000L
#define STATEID_MOD_LOGIC_VOLT   0x08000000L
#define STATEID_MOD_MOTION   0x00000800L
#define STATEID_MOD_POW_FET_TEMP   0x00080000L
#define STATEID_MOD_POW_HALLERR   0x00400000L
#define STATEID_MOD_POW_INTEGRALERR   0x00800000L
#define STATEID_MOD_POW_SHORTCUR   0x00200000L
#define STATEID_MOD_POW_VOLT_ERR   0x00040000L
#define STATEID_MOD_POW_WDG_TEMP   0x00100000L
#define STATEID_MOD_POWERFAULT   0x00000008L
#define STATEID_MOD_RAMP_ACC   0x00001000L
#define STATEID_MOD_RAMP_DEC   0x00004000L
#define STATEID_MOD_RAMP_END   0x00008000L
#define STATEID_MOD_RAMP_STEADY   0x00002000L
#define STATEID_MOD_SW1   0x00000080L
#define STATEID_MOD_SW2   0x00000100L
#define STATEID_MOD_SWR   0x00000040L
#define STATEID_MOD_TOW_ERROR   0x00000010L
#define TW_ANA10V_IN   TYPEID_EMS_ANA10V_IN
#define TW_ANA10V_OUT   TYPEID_EMS_ANA10V_OUT
#define TW_ANA25MA_IN   TYPEID_EMS_ANA25MA_IN
#define TW_ANA25MA_OUT   TYPEID_EMS_ANA25MA_OUT
#define TW_DIG24V_IN   TYPEID_EMS_DIG24V_IN
#define TW_DIG24V_OUT   TYPEID_EMS_DIG24V_OUT
#define TYPEID_EMS_ANA10V_IN   13
#define TYPEID_EMS_ANA10V_OUT   12
#define TYPEID_EMS_ANA25MA_IN   15
#define TYPEID_EMS_ANA25MA_OUT   14
#define TYPEID_EMS_DIG24V_IN   11
#define TYPEID_EMS_DIG24V_OUT   10
#define TYPEID_MOD_LINEAR   0xf0
#define TYPEID_MOD_ROTARY   0x0f

Functions

M5DLL_API int WINAPI PCube_closeDevice (int iDeviceId)
M5DLL_API int WINAPI PCube_closeDevices (void)
M5DLL_API int WINAPI PCube_configFromFile (const char *acFileName)
M5DLL_API int WINAPI PCube_doInternal (int iDeviceId, int iModuleId, void *pBytes)
M5DLL_API int WINAPI PCube_getA0 (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getC0 (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getCanOpenRawAbsEnc (int iDeviceId, int iModuleId, short *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_getCurInc (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getCurrentLimit (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDamp (int iDeviceId, int iModuleId, short *piValue)
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_getDataEMS_AIO (int iDeviceId, int iModuleId, int iChannelId, float *pfData)
M5DLL_API int WINAPI PCube_getDataEMS_DIO (int iDeviceId, int iModuleId, int iChannelId, int *piData)
M5DLL_API int WINAPI PCube_getDataMP55_IO (int iDeviceId, int iModuleId, float *pfData)
M5DLL_API int WINAPI PCube_getDataMP55_IO_fast (int iDeviceId, int iModuleId, float *pfData)
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_getDefA0 (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getDefBaudRate (int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_getDefBrakeTimeOut (int iDeviceId, int iModuleId, unsigned short *puiValue)
M5DLL_API int WINAPI PCube_getDefBurnCount (int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_getDefC0 (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getDefCANBaudRate (int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_getDefConfig (int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getDefCurOffset (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefCurRatio (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefDamp (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getDefDioData (int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getDefGearRatio (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefHomeOffset (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefHomeVel (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefIncPerTurn (int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getDefLinearRatio (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefMaxAcc (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefMaxCur (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefMaxDeltaPos (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefMaxPos (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefMaxVel (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefMinPos (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDefRSBaudRate (int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_getDefSetup (int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getDeltaPos (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getDeltaPosInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getDeviceCount (void)
M5DLL_API int WINAPI PCube_getDeviceIdMap (int *aiIdMap)
M5DLL_API const char *WINAPI PCube_getDeviceInitString (int iDeviceId)
M5DLL_API const char *WINAPI PCube_getDeviceName (int iDeviceId)
M5DLL_API const char *WINAPI PCube_getDeviceRevision (int iDeviceId)
M5DLL_API int WINAPI PCube_getDioData (int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getDllVersion (void)
M5DLL_API int WINAPI PCube_getHMaxCurOvershootTime (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getHomeOffset (int iDeviceId, int iModuleId, float *pValue)
M5DLL_API int WINAPI PCube_getHomeOffsetInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getHomeVel (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getHomeVelInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getIncRatio (int iDeviceId, int iModuleId, float *pValue)
M5DLL_API int WINAPI PCube_getIPolVel (int iDeviceId, int iModuleId, float *pValue)
M5DLL_API int WINAPI PCube_getKpPWMLimit (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getLoadDeltaTime (int iDeviceId, int iModuleId, unsigned short *piValue)
M5DLL_API int WINAPI PCube_getLoadLimit (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getLogicOvershootTime (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getLogicSupply (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getLogicUndershootTime (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaxAcc (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxAccInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaxCur (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxDeltaPos (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxDeltaPosInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaximumMotorCurrent (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxLoadGradient (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaxLogicVoltage (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxMotorVoltage (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxPos (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxPosInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaxPWMOutput (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMaxVel (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMaxVelInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMinLogicVoltage (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMinMotorVoltage (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMinPos (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMinPosInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getModuleCount (int iDeviceId)
M5DLL_API int WINAPI PCube_getModuleIdMap (int iDeviceId, int *aiIdMap)
M5DLL_API int WINAPI PCube_getModuleSerialNo (int iDeviceId, int iModuleId, unsigned long *puiValue)
M5DLL_API int WINAPI PCube_getModuleState (int iDeviceId, int iModuleId, unsigned long *puiState)
M5DLL_API int WINAPI PCube_getModuleType (int iDeviceId, int iModuleId, unsigned char *pucValue)
M5DLL_API int WINAPI PCube_getModuleVersion (int iDeviceId, int iModuleId, unsigned short *puiValue)
M5DLL_API int WINAPI PCube_getMotorCurrent (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMotorOvershootTime (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getMotorSupply (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getMotorUndershootTime (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getNomCurOvershootTime (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getNominalMotorCurrent (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getPos (int iDeviceId, int iModuleId, float *pfPos)
M5DLL_API int WINAPI PCube_getPosCountInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getPosInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_getRawLogicSupply (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getRawMotorCurrent (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getRawMotorSupply (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getRawTemperature (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getSavePos (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getStateDioPos (int iDeviceId, int iModuleId, unsigned long *puiShortState, unsigned char *pucDio, float *pfPos)
M5DLL_API int WINAPI PCube_getStateInternal (int iDeviceId, int iModuleId, unsigned long *puiState)
M5DLL_API int WINAPI PCube_getSyncTime (int iDeviceId, int iModuleId, short *piValue)
M5DLL_API int WINAPI PCube_getTemperature (int iDeviceId, int iModuleId, float *pfValue)
M5DLL_API int WINAPI PCube_getVel (int iDeviceId, int iModuleId, float *pfVel)
M5DLL_API int WINAPI PCube_getVelInc (int iDeviceId, int iModuleId, long *piValue)
M5DLL_API int WINAPI PCube_haltAll (int iDeviceId)
M5DLL_API int WINAPI PCube_haltModule (int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_homeAll (int iDeviceId)
M5DLL_API int WINAPI PCube_homeModule (int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_initDLR_FTS (int iDeviceId)
M5DLL_API int WINAPI PCube_initEMS_IO (int iDeviceId, unsigned char ucType, unsigned long uiSerialNo)
M5DLL_API int WINAPI PCube_moveCur (int iDeviceId, int iModuleId, float fCur)
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_moveCurInc (int iDeviceId, int iModuleId, long iCur)
M5DLL_API int WINAPI PCube_movePos (int iDeviceId, int iModuleId, float fPos)
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_movePosInc (int iDeviceId, int iModuleId, long iPos)
M5DLL_API int WINAPI PCube_moveRamp (int iDeviceId, int iModuleId, float fPos, float fVel, float fAcc)
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_moveRampInc (int iDeviceId, int iModuleId, long iPos, long iVel, long iAcc)
M5DLL_API int WINAPI PCube_moveStep (int iDeviceId, int iModuleId, float fPos, unsigned short 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_moveStepInc (int iDeviceId, int iModuleId, long iPos, unsigned short uiTime)
M5DLL_API int WINAPI PCube_moveVel (int iDeviceId, int iModuleId, float fVel)
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_moveVelInc (int iDeviceId, int iModuleId, long iVel)
M5DLL_API int WINAPI PCube_openDevice (int *piDeviceId, const char *acInitString)
M5DLL_API int WINAPI PCube_recalcPIDParams (int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_resetAll (int iDeviceId)
M5DLL_API int WINAPI PCube_resetModule (int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_saveParameters (int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_savePosAll (int iDeviceId)
M5DLL_API int WINAPI PCube_serveWatchdogAll (int iDeviceId)
M5DLL_API int WINAPI PCube_setA0 (int iDeviceId, int iModuleId, short iValue)
M5DLL_API int WINAPI PCube_setBaudRateAll (int iDeviceId, unsigned char pucValue)
M5DLL_API int WINAPI PCube_setC0 (int iDeviceId, int iModuleId, short iValue)
M5DLL_API int WINAPI PCube_setConfig (int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_setCurrentLimit (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setDamp (int iDeviceId, int iModuleId, short iValue)
M5DLL_API int WINAPI PCube_setDataEMS_AIO (int iDeviceId, int iModuleId, int iChannelId, float fData)
M5DLL_API int WINAPI PCube_setDataEMS_DIO (int iDeviceId, int iModuleId, int iChannelId, int iData)
M5DLL_API int WINAPI PCube_setDefAddress (int iDeviceId, int iModuleId, unsigned char uiValue)
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_setDefCurRatio (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setDefGearRatio (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setDefHomeAcc (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setDefIncPerTurn (int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_setDefLinRatio (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setDefRSBaudRate (int iDeviceId, int iModuleId, unsigned char uiValue)
M5DLL_API int WINAPI PCube_setDefSetup (int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_setDeviceDebug (int iDeviceId, int iDebug, int iDebugLevel, int iDebugFile)
M5DLL_API int WINAPI PCube_setDeviceName (int iDeviceId, const char *acDeviceName)
M5DLL_API int WINAPI PCube_setDioData (int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_setDllDebug (int iDebug, int iDebugLevel, int iDebugFile)
M5DLL_API int WINAPI PCube_setHMaxCurOvershootTime (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setHomeOffset (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setHomeOffsetInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setHomeVel (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setHomeVelInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setInitMP55_IO_fast (int iDeviceId, int iModuleId)
M5DLL_API int WINAPI PCube_setKpPWMLimit (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setLoadDeltaTime (int iDeviceId, int iModuleId, unsigned short iValue)
M5DLL_API int WINAPI PCube_setLoadLimit (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setLogicOvershootTime (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setLogicUndershootTime (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setMaxAcc (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxAccInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setMaxCur (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxDeltaPos (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxDeltaPosInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setMaximumMotorCurrent (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxLoadGradient (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setMaxLogicVoltage (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxMotorVoltage (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxPos (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxPosInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setMaxVel (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMaxVelInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setMinLogicVoltage (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMinMotorVoltage (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMinPos (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setMinPosInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setModuleSerialNo (int iDeviceId, int iModuleId, unsigned long uiValue)
M5DLL_API int WINAPI PCube_setMotorOvershootTime (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setMotorUndershootTime (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setNomCurOvershootTime (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setNominalMotorCurrent (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setNullSCHUNK_FTC (int iDeviceId, int iModulId, short *piState)
M5DLL_API int WINAPI PCube_setRampAcc (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setRampAccInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setRampVel (int iDeviceId, int iModuleId, float fValue)
M5DLL_API int WINAPI PCube_setRampVelInc (int iDeviceId, int iModuleId, long iValue)
M5DLL_API int WINAPI PCube_setSyncTime (int iDeviceId, int iModuleId, short iValue)
M5DLL_API int WINAPI PCube_setTaraMP55_IO (int iDeviceId, int iModuleId, float fData)
M5DLL_API int WINAPI PCube_startMotionAll (int iDeviceId)
M5DLL_API int WINAPI PCube_updateModuleIdMap (int iDeviceId)
M5DLL_API int WINAPI PCube_waitForHomeEnd (int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_waitForHomeEndAll (int iDeviceId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_waitForMotionEnd (int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_waitForMotionEndAll (int iDeviceId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_waitForRampDec (int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_waitForRampEnd (int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_waitForRampEndAll (int iDeviceId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_waitForRampSteady (int iDeviceId, int iModuleId, unsigned long uiTime)
M5DLL_API int WINAPI PCube_waitForStartMotionAll (int iDeviceId)
M5DLL_API int WINAPI PCube_xack8Bytes (int iDeviceId, int iModuleId, void *pBytes)
M5DLL_API int WINAPI PCube_xmit8Bytes (int iDeviceId, int iModuleId, void *pBytes)

Variables

M5DLL_API int g_iM5Debug
M5DLL_API int g_iM5DebugFile
M5DLL_API int g_iM5DebugLevel

Define Documentation

#define BAUDRATEID_MOD_CAN_1000K   3

Definition at line 310 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_125K   0

Definition at line 307 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_250K   1

Definition at line 308 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_500K   2

Definition at line 309 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_115200   7

Definition at line 319 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_1200   0

Definition at line 312 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_19200   4

Definition at line 316 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_2400   1

Definition at line 313 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_38400   5

Definition at line 317 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_4800   2

Definition at line 314 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_57600   6

Definition at line 318 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_9600   3

Definition at line 315 of file m5apiw32.h.

#define CLD_ERR   -1

Definition at line 360 of file m5apiw32.h.

#define CLD_OK   0

Definition at line 359 of file m5apiw32.h.

#define CLDERR_DRIVE_NOMODULEFOUND   (CLDERR_ERROR - 15)

Definition at line 372 of file m5apiw32.h.

#define CLDERR_ERROR   (-200)

Definition at line 361 of file m5apiw32.h.

#define CLDERR_INITIALIZATIONERROR   (CLDERR_ERROR - 5)

Definition at line 366 of file m5apiw32.h.

#define CLDERR_LIBRARYNOTFOUND   (CLDERR_ERROR - 17)

Definition at line 374 of file m5apiw32.h.

#define CLDERR_RECEIVEERROR   (CLDERR_ERROR - 8)

Definition at line 369 of file m5apiw32.h.

#define CLDERR_TRANSMISSIONERROR   (CLDERR_ERROR - 7)

Definition at line 368 of file m5apiw32.h.

#define CLERR_BADDEVICEINITSTRING   (CLDERR_ERROR - 4)

Definition at line 365 of file m5apiw32.h.

#define CLERR_COMM_RECVTIMEOUT   (CLDERR_ERROR - 10)

Definition at line 371 of file m5apiw32.h.

#define CLERR_COMM_SENDTIMEOUT   (CLDERR_ERROR - 9)

Definition at line 370 of file m5apiw32.h.

#define CLERR_DEVICENOTOPEN   (CLDERR_ERROR - 6)

Definition at line 367 of file m5apiw32.h.

#define CLERR_FUNCTIONNOTAVAILABLE   (CLDERR_ERROR - 1)

Definition at line 362 of file m5apiw32.h.

#define CLERR_NODEVICENAME   (CLDERR_ERROR - 3)

Definition at line 364 of file m5apiw32.h.

#define CLERR_NOINITSTRING   (CLDERR_ERROR - 2)

Definition at line 363 of file m5apiw32.h.

#define CLERR_WRONGHANDLE   (CLDERR_ERROR - 16)

Definition at line 373 of file m5apiw32.h.

#define CONFIG_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 429 of file m5apiw32.h.

#define CONFIG_ALLOW_FULL_CUR   0x00080000L

Definition at line 446 of file m5apiw32.h.

#define CONFIG_BRAKE_AT_POWERON   0x00000010L

Definition at line 431 of file m5apiw32.h.

#define CONFIG_BRAKE_PRESENT   0x00000008L

Definition at line 430 of file m5apiw32.h.

#define CONFIG_CAN_RS232_COMM   0x40000000L

Definition at line 450 of file m5apiw32.h.

#define CONFIG_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 434 of file m5apiw32.h.

#define CONFIG_ENCODER_FEEDBACK   0x00000001L

Definition at line 427 of file m5apiw32.h.

#define CONFIG_LINEAR_DRIVE   0x00020000L

Definition at line 444 of file m5apiw32.h.

#define CONFIG_LINEAR_SCREW   0x00200000L

Definition at line 448 of file m5apiw32.h.

#define CONFIG_M3_COMPATIBLE   0x00100000L

Definition at line 447 of file m5apiw32.h.

#define CONFIG_OPENBRAKE_ON_SW2   0x00040000L

Definition at line 445 of file m5apiw32.h.

#define CONFIG_PROFI_RS485_COMM   0x80000000L

Definition at line 451 of file m5apiw32.h.

#define CONFIG_RESOLVER_FEEDBACK   0x00000002L

Definition at line 428 of file m5apiw32.h.

#define CONFIG_SW1_ENABLED   0x00000800L

Definition at line 438 of file m5apiw32.h.

#define CONFIG_SW1_EQ_POSLIMIT   0x00002000L

Definition at line 440 of file m5apiw32.h.

#define CONFIG_SW1_LOW_ACTIVE   0x00001000L

Definition at line 439 of file m5apiw32.h.

#define CONFIG_SW2_ENABLED   0x00004000L

Definition at line 441 of file m5apiw32.h.

#define CONFIG_SW2_EQ_POSLIMIT   0x00010000L

Definition at line 443 of file m5apiw32.h.

#define CONFIG_SW2_LOW_ACTIVE   0x00008000L

Definition at line 442 of file m5apiw32.h.

#define CONFIG_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 433 of file m5apiw32.h.

#define CONFIG_SWR_ENABLED   0x00000100L

Definition at line 435 of file m5apiw32.h.

#define CONFIG_SWR_EQ_POSLIMIT   0x00000400L

Definition at line 437 of file m5apiw32.h.

#define CONFIG_SWR_LOW_ACTIVE   0x00000200L

Definition at line 436 of file m5apiw32.h.

#define CONFIG_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 432 of file m5apiw32.h.

#define CONFIG_SYNC_MOTION   0x08000000L

Definition at line 449 of file m5apiw32.h.

#define CONFIGID_MOD_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 210 of file m5apiw32.h.

#define CONFIGID_MOD_ALLOW_FULL_CUR   0x00080000L

Definition at line 230 of file m5apiw32.h.

#define CONFIGID_MOD_BRAKE_AT_POWERON   0x00000010L

Definition at line 212 of file m5apiw32.h.

#define CONFIGID_MOD_BRAKE_PRESENT   0x00000008L

Definition at line 211 of file m5apiw32.h.

#define CONFIGID_MOD_CAN_RS232_COMM   0x40000000L

Definition at line 239 of file m5apiw32.h.

#define CONFIGID_MOD_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 215 of file m5apiw32.h.

#define CONFIGID_MOD_DISABLE_ACK   0x04000000L

Definition at line 236 of file m5apiw32.h.

#define CONFIGID_MOD_DISABLE_ON_HALT   0x00800000L

Definition at line 233 of file m5apiw32.h.

#define CONFIGID_MOD_ENCODER_FEEDBACK   0x00000001L

Definition at line 208 of file m5apiw32.h.

#define CONFIGID_MOD_LINEAR   0x00020000L

Definition at line 228 of file m5apiw32.h.

#define CONFIGID_MOD_LINEAR_SCREW   0x00200000L

Definition at line 232 of file m5apiw32.h.

#define CONFIGID_MOD_M3_COMPATIBLE   0x00100000L

Definition at line 231 of file m5apiw32.h.

#define CONFIGID_MOD_OPENBRAKE_ON_SW2   0x00040000L

Definition at line 229 of file m5apiw32.h.

#define CONFIGID_MOD_PROFI_RS485_COMM   0x80000000L

Definition at line 240 of file m5apiw32.h.

#define CONFIGID_MOD_RESOLVER_FEEDBACK   0x00000002L

Definition at line 209 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_ENABLED   0x00000800L

Definition at line 220 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_EQ_POSLIMIT   0x00002000L

Definition at line 222 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_LOW_ACTIVE   0x00001000L

Definition at line 221 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_USE_EXTERNAL   0x00002000L

Definition at line 223 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_ENABLED   0x00004000L

Definition at line 224 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_EQ_POSLIMIT   0x00010000L

Definition at line 226 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_LOW_ACTIVE   0x00008000L

Definition at line 225 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_USE_EXTERNAL   0x00010000L

Definition at line 227 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 214 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_ENABLED   0x00000100L

Definition at line 216 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_EQ_POSLIMIT   0x00000400L

Definition at line 218 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_LOW_ACTIVE   0x00000200L

Definition at line 217 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_USE_EXTERNAL   0x00000400L

Definition at line 219 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 213 of file m5apiw32.h.

#define CONFIGID_MOD_SYNC_MOTION   0x08000000L

Definition at line 237 of file m5apiw32.h.

#define CONFIGID_MOD_SYNC_TRANSMIT   0x10000000L

Definition at line 238 of file m5apiw32.h.

#define CONFIGID_MOD_WATCHDOG_ENABLE   0x01000000L

Definition at line 234 of file m5apiw32.h.

#define CONFIGID_MOD_ZERO_MOVE_AFTER_HOK   0x02000000L

Definition at line 235 of file m5apiw32.h.

#define DIOID_MOD_INBIT0   0x00000001L

Definition at line 280 of file m5apiw32.h.

#define DIOID_MOD_INBIT1   0x00000002L

Definition at line 281 of file m5apiw32.h.

#define DIOID_MOD_INBIT2   0x00000004L

Definition at line 282 of file m5apiw32.h.

#define DIOID_MOD_INBIT3   0x00000008L

Definition at line 283 of file m5apiw32.h.

#define DIOID_MOD_INSW1   0x00000200L

Definition at line 291 of file m5apiw32.h.

#define DIOID_MOD_INSW2   0x00000400L

Definition at line 292 of file m5apiw32.h.

#define DIOID_MOD_INSWR   0x00000100L

Definition at line 290 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT0   0x00000010L

Definition at line 285 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT1   0x00000020L

Definition at line 286 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT2   0x00000040L

Definition at line 287 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT3   0x00000080L

Definition at line 288 of file m5apiw32.h.

#define DLR_FTSGetData   PCube_getDataDLR_FTS

Definition at line 527 of file m5apiw32.h.

#define DLR_FTSInit   PCube_initDLR_FTS

Definition at line 526 of file m5apiw32.h.

#define ERRID_DEV   (-200L)

Definition at line 324 of file m5apiw32.h.

#define ERRID_DEV_BADINITSTRING   (ERRID_DEV - 4)

Definition at line 328 of file m5apiw32.h.

#define ERRID_DEV_EMSINITERROR   (ERRID_DEV - 22)

Definition at line 346 of file m5apiw32.h.

#define ERRID_DEV_EMSMAXNUMBER   (ERRID_DEV - 21)

Definition at line 345 of file m5apiw32.h.

#define ERRID_DEV_EMSNOTINITIALIZED   (ERRID_DEV - 20)

Definition at line 344 of file m5apiw32.h.

#define ERRID_DEV_EXITERROR   (ERRID_DEV - 14)

Definition at line 338 of file m5apiw32.h.

#define ERRID_DEV_FUNCTIONNOTAVAILABLE   (ERRID_DEV - 1)

Definition at line 325 of file m5apiw32.h.

#define ERRID_DEV_INITERROR   (ERRID_DEV - 5)

Definition at line 329 of file m5apiw32.h.

#define ERRID_DEV_ISINITIALIZED   (ERRID_DEV - 18)

Definition at line 342 of file m5apiw32.h.

#define ERRID_DEV_MODULEERROR   (ERRID_DEV - 28)

Definition at line 352 of file m5apiw32.h.

#define ERRID_DEV_NODEVICENAME   (ERRID_DEV - 3)

Definition at line 327 of file m5apiw32.h.

#define ERRID_DEV_NOINITSTRING   (ERRID_DEV - 2)

Definition at line 326 of file m5apiw32.h.

#define ERRID_DEV_NOLIBRARY   (ERRID_DEV - 17)

Definition at line 341 of file m5apiw32.h.

#define ERRID_DEV_NOMODULES   (ERRID_DEV - 15)

Definition at line 339 of file m5apiw32.h.

#define ERRID_DEV_NOTINITIALIZED   (ERRID_DEV - 6)

Definition at line 330 of file m5apiw32.h.

#define ERRID_DEV_OPENINIFILE   (ERRID_DEV - 30)

Definition at line 354 of file m5apiw32.h.

#define ERRID_DEV_READERROR   (ERRID_DEV - 8)

Definition at line 332 of file m5apiw32.h.

#define ERRID_DEV_READTIMEOUT   (ERRID_DEV - 10)

Definition at line 334 of file m5apiw32.h.

#define ERRID_DEV_WAITTIMEOUT   (ERRID_DEV - 29)

Definition at line 353 of file m5apiw32.h.

#define ERRID_DEV_WRITEERROR   (ERRID_DEV - 7)

Definition at line 331 of file m5apiw32.h.

#define ERRID_DEV_WRITETIMEOUT   (ERRID_DEV - 9)

Definition at line 333 of file m5apiw32.h.

#define ERRID_DEV_WRONGCOMMANDID   (ERRID_DEV - 12)

Definition at line 336 of file m5apiw32.h.

#define ERRID_DEV_WRONGDEVICEID   (ERRID_DEV - 16)

Definition at line 340 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSCHANNELID   (ERRID_DEV - 24)

Definition at line 348 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSMODULEID   (ERRID_DEV - 19)

Definition at line 343 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSTYPE   (ERRID_DEV - 23)

Definition at line 347 of file m5apiw32.h.

#define ERRID_DEV_WRONGMESSAGEID   (ERRID_DEV - 11)

Definition at line 335 of file m5apiw32.h.

#define ERRID_DEV_WRONGMODULEID   (ERRID_DEV - 27)

Definition at line 351 of file m5apiw32.h.

#define ERRID_DEV_WRONGMP55MODULEID   (ERRID_DEV - 25)

Definition at line 349 of file m5apiw32.h.

#define ERRID_DEV_WRONGPARAMETERID   (ERRID_DEV - 13)

Definition at line 337 of file m5apiw32.h.

#define ERRID_DEV_WRONGSCHUNKMODULEID   (ERRID_DEV - 26)

Definition at line 350 of file m5apiw32.h.

#define LINEAR_DRIVE   TYPEID_MOD_LINEAR

Definition at line 411 of file m5apiw32.h.

#define M5DLLVERSION   0x5060

Definition at line 146 of file m5apiw32.h.

#define MAX_MODULES   31

Definition at line 147 of file m5apiw32.h.

#define P3502_CONFIG_ALLOW_FULL_CUR   0x00080000L

Definition at line 468 of file m5apiw32.h.

#define P3502_CONFIG_BRAKE_AT_POWERON   0x00000010L

Definition at line 454 of file m5apiw32.h.

#define P3502_CONFIG_BRAKE_PRESENT   0x00000008L

Definition at line 453 of file m5apiw32.h.

#define P3502_CONFIG_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 457 of file m5apiw32.h.

#define P3502_CONFIG_DISABLE_ACK   0x04000000L

Definition at line 474 of file m5apiw32.h.

#define P3502_CONFIG_DISABLE_ON_HALT   0x00800000L

Definition at line 471 of file m5apiw32.h.

#define P3502_CONFIG_LINEAR_DRIVE   0x00020000L

Definition at line 467 of file m5apiw32.h.

#define P3502_CONFIG_LINEAR_SCREW   0x00200000L

Definition at line 470 of file m5apiw32.h.

#define P3502_CONFIG_M3_COMPATIBLE   0x00100000L

Definition at line 469 of file m5apiw32.h.

#define P3502_CONFIG_SW1_ENABLED   0x00000800L

Definition at line 461 of file m5apiw32.h.

#define P3502_CONFIG_SW1_LOW_ACTIVE   0x00001000L

Definition at line 462 of file m5apiw32.h.

#define P3502_CONFIG_SW1_USE_EXTERNAL   0x00002000L

Definition at line 463 of file m5apiw32.h.

#define P3502_CONFIG_SW2_ENABLED   0x00004000L

Definition at line 464 of file m5apiw32.h.

#define P3502_CONFIG_SW2_LOW_ACTIVE   0x00008000L

Definition at line 465 of file m5apiw32.h.

#define P3502_CONFIG_SW2_USE_EXTERNAL   0x00010000L

Definition at line 466 of file m5apiw32.h.

#define P3502_CONFIG_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 456 of file m5apiw32.h.

#define P3502_CONFIG_SWR_ENABLED   0x00000100L

Definition at line 458 of file m5apiw32.h.

#define P3502_CONFIG_SWR_LOW_ACTIVE   0x00000200L

Definition at line 459 of file m5apiw32.h.

#define P3502_CONFIG_SWR_USE_EXTERNAL   0x00000400L

Definition at line 460 of file m5apiw32.h.

#define P3502_CONFIG_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 455 of file m5apiw32.h.

#define P3502_CONFIG_WATCHDOG_ENABLE   0x01000000L

Definition at line 472 of file m5apiw32.h.

#define P3502_CONFIG_ZERO_MOVE_AFTER_HOK   0x02000000L

Definition at line 473 of file m5apiw32.h.

#define P3502_SETUP_3IN_ENCODER_IN   0x00000010L

Definition at line 486 of file m5apiw32.h.

#define P3502_SETUP_3IN_ENCODER_OUT   0x00000020L

Definition at line 487 of file m5apiw32.h.

#define P3502_SETUP_4IN_4OUT   0x00000008L

Definition at line 485 of file m5apiw32.h.

#define P3502_SETUP_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 483 of file m5apiw32.h.

#define P3502_SETUP_CAN   0x00000200L

Definition at line 492 of file m5apiw32.h.

#define P3502_SETUP_ENCODER_FEEDBACK   0x00000001L

Definition at line 481 of file m5apiw32.h.

#define P3502_SETUP_ERROR_TO_OUT0   0x00020000L

Definition at line 504 of file m5apiw32.h.

#define P3502_SETUP_INVERT_COUNTER   0x00040000L

Definition at line 506 of file m5apiw32.h.

#define P3502_SETUP_INVERT_MOTORDIR   0x00004000L

Definition at line 499 of file m5apiw32.h.

#define P3502_SETUP_PROFIBUS   0x00000400L

Definition at line 493 of file m5apiw32.h.

#define P3502_SETUP_RESOLVER_FEEDBACK   0x00000002L

Definition at line 482 of file m5apiw32.h.

#define P3502_SETUP_RS232   0x00000040L

Definition at line 489 of file m5apiw32.h.

#define P3502_SETUP_RS485FD   0x00000100L

Definition at line 491 of file m5apiw32.h.

#define P3502_SETUP_RS485HD   0x00000080L

Definition at line 490 of file m5apiw32.h.

#define P3502_SETUP_USE_CANOPEN   0x00002000L

Definition at line 497 of file m5apiw32.h.

#define P3502_SETUP_USE_M3ID   0x00000800L

Definition at line 495 of file m5apiw32.h.

#define P3502_SETUP_USE_M4ID   0x00001000L

Definition at line 496 of file m5apiw32.h.

#define P3502_SETUP_USE_SW2_AS_BRAKE   0x00010000L

Definition at line 502 of file m5apiw32.h.

#define P3502_SETUP_USE_SW2_AS_ENABLE   0x00008000L

Definition at line 501 of file m5apiw32.h.

#define PCube_ConfigFromFile   PCube_configFromFile

Definition at line 529 of file m5apiw32.h.

#define PCube_getActPos   PCube_getPos

Definition at line 519 of file m5apiw32.h.

#define PCube_getActPosInc   PCube_getPosInc

Definition at line 521 of file m5apiw32.h.

#define PCube_getActVel   PCube_getVel

Definition at line 520 of file m5apiw32.h.

#define PCube_getCubeState   PCube_getModuleState

Definition at line 512 of file m5apiw32.h.

#define PCube_getDefBurncount   PCube_getDefBurnCount

Definition at line 515 of file m5apiw32.h.

#define PCube_getDefCubeVersion   PCube_getModuleVersion

Definition at line 513 of file m5apiw32.h.

#define PCube_getDefDioSetup   PCube_getDefDioData

Definition at line 518 of file m5apiw32.h.

#define PCube_getDefPulsesPerTurn   PCube_getDefIncPerTurn

Definition at line 517 of file m5apiw32.h.

#define PCube_getDefSerialNo   PCube_getModuleSerialNo

Definition at line 516 of file m5apiw32.h.

#define PCube_getInitString   PCube_getDeviceInitString

Definition at line 530 of file m5apiw32.h.

#define PCube_getModulesIdMap   PCube_getModuleIdMap

Definition at line 514 of file m5apiw32.h.

#define PCube_getName   PCube_getDeviceName

Definition at line 531 of file m5apiw32.h.

#define PCube_getRevision   PCube_getDeviceRevision

Definition at line 532 of file m5apiw32.h.

#define PCube_getStatusInternal   PCube_getStateInternal

Definition at line 528 of file m5apiw32.h.

#define PCube_moveCurrent   PCube_moveCur

Definition at line 523 of file m5apiw32.h.

#define PCube_moveCurrentExtended   PCube_moveCurExtended

Definition at line 525 of file m5apiw32.h.

#define PCube_moveCurrentInc   PCube_moveCurInc

Definition at line 524 of file m5apiw32.h.

#define PCube_setTargetAcc   PCube_setRampAcc

Definition at line 534 of file m5apiw32.h.

#define PCube_setTargetVel   PCube_setRampVel

Definition at line 533 of file m5apiw32.h.

#define PCube_syncModule   PCube_homeModule

Definition at line 522 of file m5apiw32.h.

#define ROTARY_DRIVE   TYPEID_MOD_ROTARY

Definition at line 410 of file m5apiw32.h.

#define SETUPID_MOD_3IN_ENCODER_IN   0x00000010L

Definition at line 251 of file m5apiw32.h.

#define SETUPID_MOD_3IN_ENCODER_OUT   0x00000020L

Definition at line 252 of file m5apiw32.h.

#define SETUPID_MOD_4IN_4OUT   0x00000008L

Definition at line 250 of file m5apiw32.h.

#define SETUPID_MOD_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 248 of file m5apiw32.h.

#define SETUPID_MOD_CAN   0x00000200L

Definition at line 255 of file m5apiw32.h.

#define SETUPID_MOD_ENCODER_FEEDBACK   0x00000001L

Definition at line 246 of file m5apiw32.h.

#define SETUPID_MOD_ERROR_TO_OUT0   0x00020000L

Definition at line 267 of file m5apiw32.h.

#define SETUPID_MOD_INVERT_MOTORDIR   0x00004000L

Definition at line 262 of file m5apiw32.h.

#define SETUPID_MOD_IO_GRIPPER_CONTROL   0x00080000L

Definition at line 269 of file m5apiw32.h.

#define SETUPID_MOD_PROFIBUS   0x00000400L

Definition at line 256 of file m5apiw32.h.

#define SETUPID_MOD_RESOLVER_FEEDBACK   0x00000002L

Definition at line 247 of file m5apiw32.h.

#define SETUPID_MOD_RS232   0x00000040L

Definition at line 254 of file m5apiw32.h.

#define SETUPID_MOD_USE_CANOPEN   0x00002000L

Definition at line 260 of file m5apiw32.h.

#define SETUPID_MOD_USE_M3ID   0x00000800L

Definition at line 258 of file m5apiw32.h.

#define SETUPID_MOD_USE_M4ID   0x00001000L

Definition at line 259 of file m5apiw32.h.

#define SETUPID_MOD_USE_SW2_AS_BRAKE   0x00010000L

Definition at line 265 of file m5apiw32.h.

#define SETUPID_MOD_USE_SW2_AS_ENABLE   0x00008000L

Definition at line 264 of file m5apiw32.h.

#define STATE_BEYOND_HARD   0x02000000L

Definition at line 404 of file m5apiw32.h.

#define STATE_BEYOND_SOFT   0x04000000L

Definition at line 405 of file m5apiw32.h.

#define STATE_BRAKEACTIVE   0x00000200L

Definition at line 388 of file m5apiw32.h.

#define STATE_COMM_ERROR   0x00000020L

Definition at line 384 of file m5apiw32.h.

#define STATE_CPU_OVERLOAD   0x01000000L

Definition at line 403 of file m5apiw32.h.

#define STATE_CURLIMIT   0x00000400L

Definition at line 389 of file m5apiw32.h.

#define STATE_ERROR   0x00000001L

Definition at line 379 of file m5apiw32.h.

#define STATE_FULLBUFFER   0x00020000L

Definition at line 396 of file m5apiw32.h.

#define STATE_HALTED   0x00000004L

Definition at line 381 of file m5apiw32.h.

#define STATE_HOME_OK   0x00000002L

Definition at line 380 of file m5apiw32.h.

#define STATE_INPROGRESS   0x00010000L

Definition at line 395 of file m5apiw32.h.

#define STATE_MOTION   0x00000800L

Definition at line 390 of file m5apiw32.h.

#define STATE_POW_FET_TEMP   0x00080000L

Definition at line 398 of file m5apiw32.h.

#define STATE_POW_HALLERR   0x00400000L

Definition at line 401 of file m5apiw32.h.

#define STATE_POW_INTEGRALERR   0x00800000L

Definition at line 402 of file m5apiw32.h.

#define STATE_POW_SHORTCUR   0x00200000L

Definition at line 400 of file m5apiw32.h.

#define STATE_POW_VOLT_ERR   0x00040000L

Definition at line 397 of file m5apiw32.h.

#define STATE_POW_WDG_TEMP   0x00100000L

Definition at line 399 of file m5apiw32.h.

#define STATE_POWERFAULT   0x00000008L

Definition at line 382 of file m5apiw32.h.

#define STATE_RAMP_ACC   0x00001000L

Definition at line 391 of file m5apiw32.h.

#define STATE_RAMP_DEC   0x00004000L

Definition at line 393 of file m5apiw32.h.

#define STATE_RAMP_END   0x00008000L

Definition at line 394 of file m5apiw32.h.

#define STATE_RAMP_STEADY   0x00002000L

Definition at line 392 of file m5apiw32.h.

#define STATE_SW1   0x00000080L

Definition at line 386 of file m5apiw32.h.

#define STATE_SW2   0x00000100L

Definition at line 387 of file m5apiw32.h.

#define STATE_SWR   0x00000040L

Definition at line 385 of file m5apiw32.h.

#define STATE_TOW_ERROR   0x00000010L

Definition at line 383 of file m5apiw32.h.

#define STATEID_MOD_BEYOND_HARD   0x02000000L

Definition at line 201 of file m5apiw32.h.

#define STATEID_MOD_BEYOND_SOFT   0x04000000L

Definition at line 202 of file m5apiw32.h.

#define STATEID_MOD_BRAKEACTIVE   0x00000200L

Definition at line 185 of file m5apiw32.h.

#define STATEID_MOD_COMM_ERROR   0x00000020L

Definition at line 181 of file m5apiw32.h.

#define STATEID_MOD_CPU_OVERLOAD   0x01000000L

Definition at line 200 of file m5apiw32.h.

#define STATEID_MOD_CURLIMIT   0x00000400L

Definition at line 186 of file m5apiw32.h.

#define STATEID_MOD_ERROR   0x00000001L

Definition at line 176 of file m5apiw32.h.

#define STATEID_MOD_FULLBUFFER   0x00020000L

Definition at line 193 of file m5apiw32.h.

#define STATEID_MOD_HALT   0x00000004L

Definition at line 178 of file m5apiw32.h.

#define STATEID_MOD_HOME   0x00000002L

Definition at line 177 of file m5apiw32.h.

#define STATEID_MOD_INPROGRESS   0x00010000L

Definition at line 192 of file m5apiw32.h.

#define STATEID_MOD_LOGIC_VOLT   0x08000000L

Definition at line 203 of file m5apiw32.h.

#define STATEID_MOD_MOTION   0x00000800L

Definition at line 187 of file m5apiw32.h.

#define STATEID_MOD_POW_FET_TEMP   0x00080000L

Definition at line 195 of file m5apiw32.h.

#define STATEID_MOD_POW_HALLERR   0x00400000L

Definition at line 198 of file m5apiw32.h.

#define STATEID_MOD_POW_INTEGRALERR   0x00800000L

Definition at line 199 of file m5apiw32.h.

#define STATEID_MOD_POW_SHORTCUR   0x00200000L

Definition at line 197 of file m5apiw32.h.

#define STATEID_MOD_POW_VOLT_ERR   0x00040000L

Definition at line 194 of file m5apiw32.h.

#define STATEID_MOD_POW_WDG_TEMP   0x00100000L

Definition at line 196 of file m5apiw32.h.

#define STATEID_MOD_POWERFAULT   0x00000008L

Definition at line 179 of file m5apiw32.h.

#define STATEID_MOD_RAMP_ACC   0x00001000L

Definition at line 188 of file m5apiw32.h.

#define STATEID_MOD_RAMP_DEC   0x00004000L

Definition at line 190 of file m5apiw32.h.

#define STATEID_MOD_RAMP_END   0x00008000L

Definition at line 191 of file m5apiw32.h.

#define STATEID_MOD_RAMP_STEADY   0x00002000L

Definition at line 189 of file m5apiw32.h.

#define STATEID_MOD_SW1   0x00000080L

Definition at line 183 of file m5apiw32.h.

#define STATEID_MOD_SW2   0x00000100L

Definition at line 184 of file m5apiw32.h.

#define STATEID_MOD_SWR   0x00000040L

Definition at line 182 of file m5apiw32.h.

#define STATEID_MOD_TOW_ERROR   0x00000010L

Definition at line 180 of file m5apiw32.h.

#define TW_ANA10V_IN   TYPEID_EMS_ANA10V_IN

Definition at line 419 of file m5apiw32.h.

#define TW_ANA10V_OUT   TYPEID_EMS_ANA10V_OUT

Definition at line 418 of file m5apiw32.h.

#define TW_ANA25MA_IN   TYPEID_EMS_ANA25MA_IN

Definition at line 421 of file m5apiw32.h.

#define TW_ANA25MA_OUT   TYPEID_EMS_ANA25MA_OUT

Definition at line 420 of file m5apiw32.h.

#define TW_DIG24V_IN   TYPEID_EMS_DIG24V_IN

Definition at line 417 of file m5apiw32.h.

#define TW_DIG24V_OUT   TYPEID_EMS_DIG24V_OUT

Definition at line 416 of file m5apiw32.h.

#define TYPEID_EMS_ANA10V_IN   13

Definition at line 300 of file m5apiw32.h.

#define TYPEID_EMS_ANA10V_OUT   12

Definition at line 299 of file m5apiw32.h.

#define TYPEID_EMS_ANA25MA_IN   15

Definition at line 302 of file m5apiw32.h.

#define TYPEID_EMS_ANA25MA_OUT   14

Definition at line 301 of file m5apiw32.h.

#define TYPEID_EMS_DIG24V_IN   11

Definition at line 298 of file m5apiw32.h.

#define TYPEID_EMS_DIG24V_OUT   10

Definition at line 297 of file m5apiw32.h.

#define TYPEID_MOD_LINEAR   0xf0

Definition at line 275 of file m5apiw32.h.

#define TYPEID_MOD_ROTARY   0x0f

Definition at line 274 of file m5apiw32.h.


Function Documentation

M5DLL_API int WINAPI PCube_closeDevice ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_closeDevices ( void   ) 
M5DLL_API int WINAPI PCube_configFromFile ( const char *  acFileName  ) 
M5DLL_API int WINAPI PCube_doInternal ( int  iDeviceId,
int  iModuleId,
void *  pBytes 
)
M5DLL_API int WINAPI PCube_getA0 ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getC0 ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getCanOpenRawAbsEnc ( int  iDeviceId,
int  iModuleId,
short *  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_getCurInc ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getCurrentLimit ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDamp ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
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_getDataEMS_AIO ( int  iDeviceId,
int  iModuleId,
int  iChannelId,
float *  pfData 
)
M5DLL_API int WINAPI PCube_getDataEMS_DIO ( int  iDeviceId,
int  iModuleId,
int  iChannelId,
int *  piData 
)
M5DLL_API int WINAPI PCube_getDataMP55_IO ( int  iDeviceId,
int  iModuleId,
float *  pfData 
)
M5DLL_API int WINAPI PCube_getDataMP55_IO_fast ( int  iDeviceId,
int  iModuleId,
float *  pfData 
)
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_getDefA0 ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getDefBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)
M5DLL_API int WINAPI PCube_getDefBrakeTimeOut ( int  iDeviceId,
int  iModuleId,
unsigned short *  puiValue 
)
M5DLL_API int WINAPI PCube_getDefBurnCount ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)
M5DLL_API int WINAPI PCube_getDefC0 ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getDefCANBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)
M5DLL_API int WINAPI PCube_getDefConfig ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)
M5DLL_API int WINAPI PCube_getDefCurOffset ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefCurRatio ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefDamp ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getDefDioData ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)
M5DLL_API int WINAPI PCube_getDefGearRatio ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefHomeOffset ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefHomeVel ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefIncPerTurn ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)
M5DLL_API int WINAPI PCube_getDefLinearRatio ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefMaxAcc ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefMaxCur ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefMaxDeltaPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefMaxPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefMaxVel ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefMinPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDefRSBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)
M5DLL_API int WINAPI PCube_getDefSetup ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)
M5DLL_API int WINAPI PCube_getDeltaPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getDeltaPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getDeviceCount ( void   ) 
M5DLL_API int WINAPI PCube_getDeviceIdMap ( int *  aiIdMap  ) 
M5DLL_API const char* WINAPI PCube_getDeviceInitString ( int  iDeviceId  ) 
M5DLL_API const char* WINAPI PCube_getDeviceName ( int  iDeviceId  ) 
M5DLL_API const char* WINAPI PCube_getDeviceRevision ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_getDioData ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)
M5DLL_API int WINAPI PCube_getDllVersion ( void   ) 
M5DLL_API int WINAPI PCube_getHMaxCurOvershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getHomeOffset ( int  iDeviceId,
int  iModuleId,
float *  pValue 
)
M5DLL_API int WINAPI PCube_getHomeOffsetInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getHomeVel ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getHomeVelInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getIncRatio ( int  iDeviceId,
int  iModuleId,
float *  pValue 
)
M5DLL_API int WINAPI PCube_getIPolVel ( int  iDeviceId,
int  iModuleId,
float *  pValue 
)
M5DLL_API int WINAPI PCube_getKpPWMLimit ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getLoadDeltaTime ( int  iDeviceId,
int  iModuleId,
unsigned short *  piValue 
)
M5DLL_API int WINAPI PCube_getLoadLimit ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getLogicOvershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getLogicSupply ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getLogicUndershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getMaxAcc ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMaxAccInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getMaxCur ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMaxDeltaPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMaxDeltaPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getMaximumMotorCurrent ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMaxLoadGradient ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getMaxLogicVoltage ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMaxMotorVoltage ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMaxPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMaxPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getMaxPWMOutput ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getMaxVel ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMaxVelInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getMinLogicVoltage ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMinMotorVoltage ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMinPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMinPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getModuleCount ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_getModuleIdMap ( int  iDeviceId,
int *  aiIdMap 
)
M5DLL_API int WINAPI PCube_getModuleSerialNo ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)
M5DLL_API int WINAPI PCube_getModuleState ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiState 
)
M5DLL_API int WINAPI PCube_getModuleType ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)
M5DLL_API int WINAPI PCube_getModuleVersion ( int  iDeviceId,
int  iModuleId,
unsigned short *  puiValue 
)
M5DLL_API int WINAPI PCube_getMotorCurrent ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMotorOvershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getMotorSupply ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getMotorUndershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getNomCurOvershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getNominalMotorCurrent ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getPos ( int  iDeviceId,
int  iModuleId,
float *  pfPos 
)
M5DLL_API int WINAPI PCube_getPosCountInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_getRawLogicSupply ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getRawMotorCurrent ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getRawMotorSupply ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getRawTemperature ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getSavePos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getStateDioPos ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiShortState,
unsigned char *  pucDio,
float *  pfPos 
)
M5DLL_API int WINAPI PCube_getStateInternal ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiState 
)
M5DLL_API int WINAPI PCube_getSyncTime ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)
M5DLL_API int WINAPI PCube_getTemperature ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)
M5DLL_API int WINAPI PCube_getVel ( int  iDeviceId,
int  iModuleId,
float *  pfVel 
)
M5DLL_API int WINAPI PCube_getVelInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)
M5DLL_API int WINAPI PCube_haltAll ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_haltModule ( int  iDeviceId,
int  iModuleId 
)
M5DLL_API int WINAPI PCube_homeAll ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_homeModule ( int  iDeviceId,
int  iModuleId 
)
M5DLL_API int WINAPI PCube_initDLR_FTS ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_initEMS_IO ( int  iDeviceId,
unsigned char  ucType,
unsigned long  uiSerialNo 
)
M5DLL_API int WINAPI PCube_moveCur ( int  iDeviceId,
int  iModuleId,
float  fCur 
)
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_moveCurInc ( int  iDeviceId,
int  iModuleId,
long  iCur 
)
M5DLL_API int WINAPI PCube_movePos ( int  iDeviceId,
int  iModuleId,
float  fPos 
)
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_movePosInc ( int  iDeviceId,
int  iModuleId,
long  iPos 
)
M5DLL_API int WINAPI PCube_moveRamp ( int  iDeviceId,
int  iModuleId,
float  fPos,
float  fVel,
float  fAcc 
)
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_moveRampInc ( int  iDeviceId,
int  iModuleId,
long  iPos,
long  iVel,
long  iAcc 
)
M5DLL_API int WINAPI PCube_moveStep ( int  iDeviceId,
int  iModuleId,
float  fPos,
unsigned short  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_moveStepInc ( int  iDeviceId,
int  iModuleId,
long  iPos,
unsigned short  uiTime 
)
M5DLL_API int WINAPI PCube_moveVel ( int  iDeviceId,
int  iModuleId,
float  fVel 
)
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_moveVelInc ( int  iDeviceId,
int  iModuleId,
long  iVel 
)
M5DLL_API int WINAPI PCube_openDevice ( int *  piDeviceId,
const char *  acInitString 
)
M5DLL_API int WINAPI PCube_recalcPIDParams ( int  iDeviceId,
int  iModuleId 
)
M5DLL_API int WINAPI PCube_resetAll ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_resetModule ( int  iDeviceId,
int  iModuleId 
)
M5DLL_API int WINAPI PCube_saveParameters ( int  iDeviceId,
int  iModuleId 
)
M5DLL_API int WINAPI PCube_savePosAll ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_serveWatchdogAll ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_setA0 ( int  iDeviceId,
int  iModuleId,
short  iValue 
)
M5DLL_API int WINAPI PCube_setBaudRateAll ( int  iDeviceId,
unsigned char  pucValue 
)
M5DLL_API int WINAPI PCube_setC0 ( int  iDeviceId,
int  iModuleId,
short  iValue 
)
M5DLL_API int WINAPI PCube_setConfig ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)
M5DLL_API int WINAPI PCube_setCurrentLimit ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setDamp ( int  iDeviceId,
int  iModuleId,
short  iValue 
)
M5DLL_API int WINAPI PCube_setDataEMS_AIO ( int  iDeviceId,
int  iModuleId,
int  iChannelId,
float  fData 
)
M5DLL_API int WINAPI PCube_setDataEMS_DIO ( int  iDeviceId,
int  iModuleId,
int  iChannelId,
int  iData 
)
M5DLL_API int WINAPI PCube_setDefAddress ( int  iDeviceId,
int  iModuleId,
unsigned char  uiValue 
)
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_setDefCurRatio ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setDefGearRatio ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setDefHomeAcc ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setDefIncPerTurn ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)
M5DLL_API int WINAPI PCube_setDefLinRatio ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setDefRSBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char  uiValue 
)
M5DLL_API int WINAPI PCube_setDefSetup ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)
M5DLL_API int WINAPI PCube_setDeviceDebug ( int  iDeviceId,
int  iDebug,
int  iDebugLevel,
int  iDebugFile 
)
M5DLL_API int WINAPI PCube_setDeviceName ( int  iDeviceId,
const char *  acDeviceName 
)
M5DLL_API int WINAPI PCube_setDioData ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)
M5DLL_API int WINAPI PCube_setDllDebug ( int  iDebug,
int  iDebugLevel,
int  iDebugFile 
)
M5DLL_API int WINAPI PCube_setHMaxCurOvershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setHomeOffset ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setHomeOffsetInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setHomeVel ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setHomeVelInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setInitMP55_IO_fast ( int  iDeviceId,
int  iModuleId 
)
M5DLL_API int WINAPI PCube_setKpPWMLimit ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setLoadDeltaTime ( int  iDeviceId,
int  iModuleId,
unsigned short  iValue 
)
M5DLL_API int WINAPI PCube_setLoadLimit ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setLogicOvershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setLogicUndershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setMaxAcc ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMaxAccInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setMaxCur ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMaxDeltaPos ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMaxDeltaPosInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setMaximumMotorCurrent ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMaxLoadGradient ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setMaxLogicVoltage ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMaxMotorVoltage ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMaxPos ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMaxPosInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setMaxVel ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMaxVelInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setMinLogicVoltage ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMinMotorVoltage ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMinPos ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setMinPosInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setModuleSerialNo ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)
M5DLL_API int WINAPI PCube_setMotorOvershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setMotorUndershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setNomCurOvershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setNominalMotorCurrent ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setNullSCHUNK_FTC ( int  iDeviceId,
int  iModulId,
short *  piState 
)
M5DLL_API int WINAPI PCube_setRampAcc ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setRampAccInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setRampVel ( int  iDeviceId,
int  iModuleId,
float  fValue 
)
M5DLL_API int WINAPI PCube_setRampVelInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)
M5DLL_API int WINAPI PCube_setSyncTime ( int  iDeviceId,
int  iModuleId,
short  iValue 
)
M5DLL_API int WINAPI PCube_setTaraMP55_IO ( int  iDeviceId,
int  iModuleId,
float  fData 
)
M5DLL_API int WINAPI PCube_startMotionAll ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_updateModuleIdMap ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_waitForHomeEnd ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)
M5DLL_API int WINAPI PCube_waitForHomeEndAll ( int  iDeviceId,
unsigned long  uiTime 
)
M5DLL_API int WINAPI PCube_waitForMotionEnd ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)
M5DLL_API int WINAPI PCube_waitForMotionEndAll ( int  iDeviceId,
unsigned long  uiTime 
)
M5DLL_API int WINAPI PCube_waitForRampDec ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)
M5DLL_API int WINAPI PCube_waitForRampEnd ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)
M5DLL_API int WINAPI PCube_waitForRampEndAll ( int  iDeviceId,
unsigned long  uiTime 
)
M5DLL_API int WINAPI PCube_waitForRampSteady ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)
M5DLL_API int WINAPI PCube_waitForStartMotionAll ( int  iDeviceId  ) 
M5DLL_API int WINAPI PCube_xack8Bytes ( int  iDeviceId,
int  iModuleId,
void *  pBytes 
)
M5DLL_API int WINAPI PCube_xmit8Bytes ( int  iDeviceId,
int  iModuleId,
void *  pBytes 
)

Variable Documentation

M5DLL_API int g_iM5Debug
M5DLL_API int g_iM5DebugFile
M5DLL_API int g_iM5DebugLevel
 All Files Functions Variables Defines


libm5api
Author(s): Florian Weisshardt
autogenerated on Fri Jan 11 09:51:02 2013