$search

m5apiw32.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __LINUX__
#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 M5DLL_API
#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
#define WINAPI

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 __LINUX__

Definition at line 49 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_1000K   3

Definition at line 219 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_125K   0

Definition at line 216 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_250K   1

Definition at line 217 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_500K   2

Definition at line 218 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_115200   7

Definition at line 228 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_1200   0

Definition at line 221 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_19200   4

Definition at line 225 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_2400   1

Definition at line 222 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_38400   5

Definition at line 226 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_4800   2

Definition at line 223 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_57600   6

Definition at line 227 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_9600   3

Definition at line 224 of file m5apiw32.h.

#define CLD_ERR   -1

Definition at line 269 of file m5apiw32.h.

#define CLD_OK   0

Definition at line 268 of file m5apiw32.h.

#define CLDERR_DRIVE_NOMODULEFOUND   (CLDERR_ERROR - 15)

Definition at line 281 of file m5apiw32.h.

#define CLDERR_ERROR   (-200)

Definition at line 270 of file m5apiw32.h.

#define CLDERR_INITIALIZATIONERROR   (CLDERR_ERROR - 5)

Definition at line 275 of file m5apiw32.h.

#define CLDERR_LIBRARYNOTFOUND   (CLDERR_ERROR - 17)

Definition at line 283 of file m5apiw32.h.

#define CLDERR_RECEIVEERROR   (CLDERR_ERROR - 8)

Definition at line 278 of file m5apiw32.h.

#define CLDERR_TRANSMISSIONERROR   (CLDERR_ERROR - 7)

Definition at line 277 of file m5apiw32.h.

#define CLERR_BADDEVICEINITSTRING   (CLDERR_ERROR - 4)

Definition at line 274 of file m5apiw32.h.

#define CLERR_COMM_RECVTIMEOUT   (CLDERR_ERROR - 10)

Definition at line 280 of file m5apiw32.h.

#define CLERR_COMM_SENDTIMEOUT   (CLDERR_ERROR - 9)

Definition at line 279 of file m5apiw32.h.

#define CLERR_DEVICENOTOPEN   (CLDERR_ERROR - 6)

Definition at line 276 of file m5apiw32.h.

#define CLERR_FUNCTIONNOTAVAILABLE   (CLDERR_ERROR - 1)

Definition at line 271 of file m5apiw32.h.

#define CLERR_NODEVICENAME   (CLDERR_ERROR - 3)

Definition at line 273 of file m5apiw32.h.

#define CLERR_NOINITSTRING   (CLDERR_ERROR - 2)

Definition at line 272 of file m5apiw32.h.

#define CLERR_WRONGHANDLE   (CLDERR_ERROR - 16)

Definition at line 282 of file m5apiw32.h.

#define CONFIG_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 338 of file m5apiw32.h.

#define CONFIG_ALLOW_FULL_CUR   0x00080000L

Definition at line 355 of file m5apiw32.h.

#define CONFIG_BRAKE_AT_POWERON   0x00000010L

Definition at line 340 of file m5apiw32.h.

#define CONFIG_BRAKE_PRESENT   0x00000008L

Definition at line 339 of file m5apiw32.h.

#define CONFIG_CAN_RS232_COMM   0x40000000L

Definition at line 359 of file m5apiw32.h.

#define CONFIG_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 343 of file m5apiw32.h.

#define CONFIG_ENCODER_FEEDBACK   0x00000001L

Definition at line 336 of file m5apiw32.h.

#define CONFIG_LINEAR_DRIVE   0x00020000L

Definition at line 353 of file m5apiw32.h.

#define CONFIG_LINEAR_SCREW   0x00200000L

Definition at line 357 of file m5apiw32.h.

#define CONFIG_M3_COMPATIBLE   0x00100000L

Definition at line 356 of file m5apiw32.h.

#define CONFIG_OPENBRAKE_ON_SW2   0x00040000L

Definition at line 354 of file m5apiw32.h.

#define CONFIG_PROFI_RS485_COMM   0x80000000L

Definition at line 360 of file m5apiw32.h.

#define CONFIG_RESOLVER_FEEDBACK   0x00000002L

Definition at line 337 of file m5apiw32.h.

#define CONFIG_SW1_ENABLED   0x00000800L

Definition at line 347 of file m5apiw32.h.

#define CONFIG_SW1_EQ_POSLIMIT   0x00002000L

Definition at line 349 of file m5apiw32.h.

#define CONFIG_SW1_LOW_ACTIVE   0x00001000L

Definition at line 348 of file m5apiw32.h.

#define CONFIG_SW2_ENABLED   0x00004000L

Definition at line 350 of file m5apiw32.h.

#define CONFIG_SW2_EQ_POSLIMIT   0x00010000L

Definition at line 352 of file m5apiw32.h.

#define CONFIG_SW2_LOW_ACTIVE   0x00008000L

Definition at line 351 of file m5apiw32.h.

#define CONFIG_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 342 of file m5apiw32.h.

#define CONFIG_SWR_ENABLED   0x00000100L

Definition at line 344 of file m5apiw32.h.

#define CONFIG_SWR_EQ_POSLIMIT   0x00000400L

Definition at line 346 of file m5apiw32.h.

#define CONFIG_SWR_LOW_ACTIVE   0x00000200L

Definition at line 345 of file m5apiw32.h.

#define CONFIG_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 341 of file m5apiw32.h.

#define CONFIG_SYNC_MOTION   0x08000000L

Definition at line 358 of file m5apiw32.h.

#define CONFIGID_MOD_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 119 of file m5apiw32.h.

#define CONFIGID_MOD_ALLOW_FULL_CUR   0x00080000L

Definition at line 139 of file m5apiw32.h.

#define CONFIGID_MOD_BRAKE_AT_POWERON   0x00000010L

Definition at line 121 of file m5apiw32.h.

#define CONFIGID_MOD_BRAKE_PRESENT   0x00000008L

Definition at line 120 of file m5apiw32.h.

#define CONFIGID_MOD_CAN_RS232_COMM   0x40000000L

Definition at line 148 of file m5apiw32.h.

#define CONFIGID_MOD_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 124 of file m5apiw32.h.

#define CONFIGID_MOD_DISABLE_ACK   0x04000000L

Definition at line 145 of file m5apiw32.h.

#define CONFIGID_MOD_DISABLE_ON_HALT   0x00800000L

Definition at line 142 of file m5apiw32.h.

#define CONFIGID_MOD_ENCODER_FEEDBACK   0x00000001L

Definition at line 117 of file m5apiw32.h.

#define CONFIGID_MOD_LINEAR   0x00020000L

Definition at line 137 of file m5apiw32.h.

#define CONFIGID_MOD_LINEAR_SCREW   0x00200000L

Definition at line 141 of file m5apiw32.h.

#define CONFIGID_MOD_M3_COMPATIBLE   0x00100000L

Definition at line 140 of file m5apiw32.h.

#define CONFIGID_MOD_OPENBRAKE_ON_SW2   0x00040000L

Definition at line 138 of file m5apiw32.h.

#define CONFIGID_MOD_PROFI_RS485_COMM   0x80000000L

Definition at line 149 of file m5apiw32.h.

#define CONFIGID_MOD_RESOLVER_FEEDBACK   0x00000002L

Definition at line 118 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_ENABLED   0x00000800L

Definition at line 129 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_EQ_POSLIMIT   0x00002000L

Definition at line 131 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_LOW_ACTIVE   0x00001000L

Definition at line 130 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_USE_EXTERNAL   0x00002000L

Definition at line 132 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_ENABLED   0x00004000L

Definition at line 133 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_EQ_POSLIMIT   0x00010000L

Definition at line 135 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_LOW_ACTIVE   0x00008000L

Definition at line 134 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_USE_EXTERNAL   0x00010000L

Definition at line 136 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 123 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_ENABLED   0x00000100L

Definition at line 125 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_EQ_POSLIMIT   0x00000400L

Definition at line 127 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_LOW_ACTIVE   0x00000200L

Definition at line 126 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_USE_EXTERNAL   0x00000400L

Definition at line 128 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 122 of file m5apiw32.h.

#define CONFIGID_MOD_SYNC_MOTION   0x08000000L

Definition at line 146 of file m5apiw32.h.

#define CONFIGID_MOD_SYNC_TRANSMIT   0x10000000L

Definition at line 147 of file m5apiw32.h.

#define CONFIGID_MOD_WATCHDOG_ENABLE   0x01000000L

Definition at line 143 of file m5apiw32.h.

#define CONFIGID_MOD_ZERO_MOVE_AFTER_HOK   0x02000000L

Definition at line 144 of file m5apiw32.h.

#define DIOID_MOD_INBIT0   0x00000001L

Definition at line 189 of file m5apiw32.h.

#define DIOID_MOD_INBIT1   0x00000002L

Definition at line 190 of file m5apiw32.h.

#define DIOID_MOD_INBIT2   0x00000004L

Definition at line 191 of file m5apiw32.h.

#define DIOID_MOD_INBIT3   0x00000008L

Definition at line 192 of file m5apiw32.h.

#define DIOID_MOD_INSW1   0x00000200L

Definition at line 200 of file m5apiw32.h.

#define DIOID_MOD_INSW2   0x00000400L

Definition at line 201 of file m5apiw32.h.

#define DIOID_MOD_INSWR   0x00000100L

Definition at line 199 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT0   0x00000010L

Definition at line 194 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT1   0x00000020L

Definition at line 195 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT2   0x00000040L

Definition at line 196 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT3   0x00000080L

Definition at line 197 of file m5apiw32.h.

#define DLR_FTSGetData   PCube_getDataDLR_FTS

Definition at line 436 of file m5apiw32.h.

#define DLR_FTSInit   PCube_initDLR_FTS

Definition at line 435 of file m5apiw32.h.

#define ERRID_DEV   (-200L)

Definition at line 233 of file m5apiw32.h.

#define ERRID_DEV_BADINITSTRING   (ERRID_DEV - 4)

Definition at line 237 of file m5apiw32.h.

#define ERRID_DEV_EMSINITERROR   (ERRID_DEV - 22)

Definition at line 255 of file m5apiw32.h.

#define ERRID_DEV_EMSMAXNUMBER   (ERRID_DEV - 21)

Definition at line 254 of file m5apiw32.h.

#define ERRID_DEV_EMSNOTINITIALIZED   (ERRID_DEV - 20)

Definition at line 253 of file m5apiw32.h.

#define ERRID_DEV_EXITERROR   (ERRID_DEV - 14)

Definition at line 247 of file m5apiw32.h.

#define ERRID_DEV_FUNCTIONNOTAVAILABLE   (ERRID_DEV - 1)

Definition at line 234 of file m5apiw32.h.

#define ERRID_DEV_INITERROR   (ERRID_DEV - 5)

Definition at line 238 of file m5apiw32.h.

#define ERRID_DEV_ISINITIALIZED   (ERRID_DEV - 18)

Definition at line 251 of file m5apiw32.h.

#define ERRID_DEV_MODULEERROR   (ERRID_DEV - 28)

Definition at line 261 of file m5apiw32.h.

#define ERRID_DEV_NODEVICENAME   (ERRID_DEV - 3)

Definition at line 236 of file m5apiw32.h.

#define ERRID_DEV_NOINITSTRING   (ERRID_DEV - 2)

Definition at line 235 of file m5apiw32.h.

#define ERRID_DEV_NOLIBRARY   (ERRID_DEV - 17)

Definition at line 250 of file m5apiw32.h.

#define ERRID_DEV_NOMODULES   (ERRID_DEV - 15)

Definition at line 248 of file m5apiw32.h.

#define ERRID_DEV_NOTINITIALIZED   (ERRID_DEV - 6)

Definition at line 239 of file m5apiw32.h.

#define ERRID_DEV_OPENINIFILE   (ERRID_DEV - 30)

Definition at line 263 of file m5apiw32.h.

#define ERRID_DEV_READERROR   (ERRID_DEV - 8)

Definition at line 241 of file m5apiw32.h.

#define ERRID_DEV_READTIMEOUT   (ERRID_DEV - 10)

Definition at line 243 of file m5apiw32.h.

#define ERRID_DEV_WAITTIMEOUT   (ERRID_DEV - 29)

Definition at line 262 of file m5apiw32.h.

#define ERRID_DEV_WRITEERROR   (ERRID_DEV - 7)

Definition at line 240 of file m5apiw32.h.

#define ERRID_DEV_WRITETIMEOUT   (ERRID_DEV - 9)

Definition at line 242 of file m5apiw32.h.

#define ERRID_DEV_WRONGCOMMANDID   (ERRID_DEV - 12)

Definition at line 245 of file m5apiw32.h.

#define ERRID_DEV_WRONGDEVICEID   (ERRID_DEV - 16)

Definition at line 249 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSCHANNELID   (ERRID_DEV - 24)

Definition at line 257 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSMODULEID   (ERRID_DEV - 19)

Definition at line 252 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSTYPE   (ERRID_DEV - 23)

Definition at line 256 of file m5apiw32.h.

#define ERRID_DEV_WRONGMESSAGEID   (ERRID_DEV - 11)

Definition at line 244 of file m5apiw32.h.

#define ERRID_DEV_WRONGMODULEID   (ERRID_DEV - 27)

Definition at line 260 of file m5apiw32.h.

#define ERRID_DEV_WRONGMP55MODULEID   (ERRID_DEV - 25)

Definition at line 258 of file m5apiw32.h.

#define ERRID_DEV_WRONGPARAMETERID   (ERRID_DEV - 13)

Definition at line 246 of file m5apiw32.h.

#define ERRID_DEV_WRONGSCHUNKMODULEID   (ERRID_DEV - 26)

Definition at line 259 of file m5apiw32.h.

#define LINEAR_DRIVE   TYPEID_MOD_LINEAR

Definition at line 320 of file m5apiw32.h.

#define M5DLL_API

Definition at line 71 of file m5apiw32.h.

#define M5DLLVERSION   0x5060

Definition at line 55 of file m5apiw32.h.

#define MAX_MODULES   31

Definition at line 56 of file m5apiw32.h.

#define P3502_CONFIG_ALLOW_FULL_CUR   0x00080000L

Definition at line 377 of file m5apiw32.h.

#define P3502_CONFIG_BRAKE_AT_POWERON   0x00000010L

Definition at line 363 of file m5apiw32.h.

#define P3502_CONFIG_BRAKE_PRESENT   0x00000008L

Definition at line 362 of file m5apiw32.h.

#define P3502_CONFIG_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 366 of file m5apiw32.h.

#define P3502_CONFIG_DISABLE_ACK   0x04000000L

Definition at line 383 of file m5apiw32.h.

#define P3502_CONFIG_DISABLE_ON_HALT   0x00800000L

Definition at line 380 of file m5apiw32.h.

#define P3502_CONFIG_LINEAR_DRIVE   0x00020000L

Definition at line 376 of file m5apiw32.h.

#define P3502_CONFIG_LINEAR_SCREW   0x00200000L

Definition at line 379 of file m5apiw32.h.

#define P3502_CONFIG_M3_COMPATIBLE   0x00100000L

Definition at line 378 of file m5apiw32.h.

#define P3502_CONFIG_SW1_ENABLED   0x00000800L

Definition at line 370 of file m5apiw32.h.

#define P3502_CONFIG_SW1_LOW_ACTIVE   0x00001000L

Definition at line 371 of file m5apiw32.h.

#define P3502_CONFIG_SW1_USE_EXTERNAL   0x00002000L

Definition at line 372 of file m5apiw32.h.

#define P3502_CONFIG_SW2_ENABLED   0x00004000L

Definition at line 373 of file m5apiw32.h.

#define P3502_CONFIG_SW2_LOW_ACTIVE   0x00008000L

Definition at line 374 of file m5apiw32.h.

#define P3502_CONFIG_SW2_USE_EXTERNAL   0x00010000L

Definition at line 375 of file m5apiw32.h.

#define P3502_CONFIG_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 365 of file m5apiw32.h.

#define P3502_CONFIG_SWR_ENABLED   0x00000100L

Definition at line 367 of file m5apiw32.h.

#define P3502_CONFIG_SWR_LOW_ACTIVE   0x00000200L

Definition at line 368 of file m5apiw32.h.

#define P3502_CONFIG_SWR_USE_EXTERNAL   0x00000400L

Definition at line 369 of file m5apiw32.h.

#define P3502_CONFIG_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 364 of file m5apiw32.h.

#define P3502_CONFIG_WATCHDOG_ENABLE   0x01000000L

Definition at line 381 of file m5apiw32.h.

#define P3502_CONFIG_ZERO_MOVE_AFTER_HOK   0x02000000L

Definition at line 382 of file m5apiw32.h.

#define P3502_SETUP_3IN_ENCODER_IN   0x00000010L

Definition at line 395 of file m5apiw32.h.

#define P3502_SETUP_3IN_ENCODER_OUT   0x00000020L

Definition at line 396 of file m5apiw32.h.

#define P3502_SETUP_4IN_4OUT   0x00000008L

Definition at line 394 of file m5apiw32.h.

#define P3502_SETUP_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 392 of file m5apiw32.h.

#define P3502_SETUP_CAN   0x00000200L

Definition at line 401 of file m5apiw32.h.

#define P3502_SETUP_ENCODER_FEEDBACK   0x00000001L

Definition at line 390 of file m5apiw32.h.

#define P3502_SETUP_ERROR_TO_OUT0   0x00020000L

Definition at line 413 of file m5apiw32.h.

#define P3502_SETUP_INVERT_COUNTER   0x00040000L

Definition at line 415 of file m5apiw32.h.

#define P3502_SETUP_INVERT_MOTORDIR   0x00004000L

Definition at line 408 of file m5apiw32.h.

#define P3502_SETUP_PROFIBUS   0x00000400L

Definition at line 402 of file m5apiw32.h.

#define P3502_SETUP_RESOLVER_FEEDBACK   0x00000002L

Definition at line 391 of file m5apiw32.h.

#define P3502_SETUP_RS232   0x00000040L

Definition at line 398 of file m5apiw32.h.

#define P3502_SETUP_RS485FD   0x00000100L

Definition at line 400 of file m5apiw32.h.

#define P3502_SETUP_RS485HD   0x00000080L

Definition at line 399 of file m5apiw32.h.

#define P3502_SETUP_USE_CANOPEN   0x00002000L

Definition at line 406 of file m5apiw32.h.

#define P3502_SETUP_USE_M3ID   0x00000800L

Definition at line 404 of file m5apiw32.h.

#define P3502_SETUP_USE_M4ID   0x00001000L

Definition at line 405 of file m5apiw32.h.

#define P3502_SETUP_USE_SW2_AS_BRAKE   0x00010000L

Definition at line 411 of file m5apiw32.h.

#define P3502_SETUP_USE_SW2_AS_ENABLE   0x00008000L

Definition at line 410 of file m5apiw32.h.

#define PCube_ConfigFromFile   PCube_configFromFile

Definition at line 438 of file m5apiw32.h.

#define PCube_getActPos   PCube_getPos

Definition at line 428 of file m5apiw32.h.

#define PCube_getActPosInc   PCube_getPosInc

Definition at line 430 of file m5apiw32.h.

#define PCube_getActVel   PCube_getVel

Definition at line 429 of file m5apiw32.h.

#define PCube_getCubeState   PCube_getModuleState

Definition at line 421 of file m5apiw32.h.

#define PCube_getDefBurncount   PCube_getDefBurnCount

Definition at line 424 of file m5apiw32.h.

#define PCube_getDefCubeVersion   PCube_getModuleVersion

Definition at line 422 of file m5apiw32.h.

#define PCube_getDefDioSetup   PCube_getDefDioData

Definition at line 427 of file m5apiw32.h.

#define PCube_getDefPulsesPerTurn   PCube_getDefIncPerTurn

Definition at line 426 of file m5apiw32.h.

#define PCube_getDefSerialNo   PCube_getModuleSerialNo

Definition at line 425 of file m5apiw32.h.

#define PCube_getInitString   PCube_getDeviceInitString

Definition at line 439 of file m5apiw32.h.

#define PCube_getModulesIdMap   PCube_getModuleIdMap

Definition at line 423 of file m5apiw32.h.

#define PCube_getName   PCube_getDeviceName

Definition at line 440 of file m5apiw32.h.

#define PCube_getRevision   PCube_getDeviceRevision

Definition at line 441 of file m5apiw32.h.

#define PCube_getStatusInternal   PCube_getStateInternal

Definition at line 437 of file m5apiw32.h.

#define PCube_moveCurrent   PCube_moveCur

Definition at line 432 of file m5apiw32.h.

#define PCube_moveCurrentExtended   PCube_moveCurExtended

Definition at line 434 of file m5apiw32.h.

#define PCube_moveCurrentInc   PCube_moveCurInc

Definition at line 433 of file m5apiw32.h.

#define PCube_setTargetAcc   PCube_setRampAcc

Definition at line 443 of file m5apiw32.h.

#define PCube_setTargetVel   PCube_setRampVel

Definition at line 442 of file m5apiw32.h.

#define PCube_syncModule   PCube_homeModule

Definition at line 431 of file m5apiw32.h.

#define ROTARY_DRIVE   TYPEID_MOD_ROTARY

Definition at line 319 of file m5apiw32.h.

#define SETUPID_MOD_3IN_ENCODER_IN   0x00000010L

Definition at line 160 of file m5apiw32.h.

#define SETUPID_MOD_3IN_ENCODER_OUT   0x00000020L

Definition at line 161 of file m5apiw32.h.

#define SETUPID_MOD_4IN_4OUT   0x00000008L

Definition at line 159 of file m5apiw32.h.

#define SETUPID_MOD_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 157 of file m5apiw32.h.

#define SETUPID_MOD_CAN   0x00000200L

Definition at line 164 of file m5apiw32.h.

#define SETUPID_MOD_ENCODER_FEEDBACK   0x00000001L

Definition at line 155 of file m5apiw32.h.

#define SETUPID_MOD_ERROR_TO_OUT0   0x00020000L

Definition at line 176 of file m5apiw32.h.

#define SETUPID_MOD_INVERT_MOTORDIR   0x00004000L

Definition at line 171 of file m5apiw32.h.

#define SETUPID_MOD_IO_GRIPPER_CONTROL   0x00080000L

Definition at line 178 of file m5apiw32.h.

#define SETUPID_MOD_PROFIBUS   0x00000400L

Definition at line 165 of file m5apiw32.h.

#define SETUPID_MOD_RESOLVER_FEEDBACK   0x00000002L

Definition at line 156 of file m5apiw32.h.

#define SETUPID_MOD_RS232   0x00000040L

Definition at line 163 of file m5apiw32.h.

#define SETUPID_MOD_USE_CANOPEN   0x00002000L

Definition at line 169 of file m5apiw32.h.

#define SETUPID_MOD_USE_M3ID   0x00000800L

Definition at line 167 of file m5apiw32.h.

#define SETUPID_MOD_USE_M4ID   0x00001000L

Definition at line 168 of file m5apiw32.h.

#define SETUPID_MOD_USE_SW2_AS_BRAKE   0x00010000L

Definition at line 174 of file m5apiw32.h.

#define SETUPID_MOD_USE_SW2_AS_ENABLE   0x00008000L

Definition at line 173 of file m5apiw32.h.

#define STATE_BEYOND_HARD   0x02000000L

Definition at line 313 of file m5apiw32.h.

#define STATE_BEYOND_SOFT   0x04000000L

Definition at line 314 of file m5apiw32.h.

#define STATE_BRAKEACTIVE   0x00000200L

Definition at line 297 of file m5apiw32.h.

#define STATE_COMM_ERROR   0x00000020L

Definition at line 293 of file m5apiw32.h.

#define STATE_CPU_OVERLOAD   0x01000000L

Definition at line 312 of file m5apiw32.h.

#define STATE_CURLIMIT   0x00000400L

Definition at line 298 of file m5apiw32.h.

#define STATE_ERROR   0x00000001L

Definition at line 288 of file m5apiw32.h.

#define STATE_FULLBUFFER   0x00020000L

Definition at line 305 of file m5apiw32.h.

#define STATE_HALTED   0x00000004L

Definition at line 290 of file m5apiw32.h.

#define STATE_HOME_OK   0x00000002L

Definition at line 289 of file m5apiw32.h.

#define STATE_INPROGRESS   0x00010000L

Definition at line 304 of file m5apiw32.h.

#define STATE_MOTION   0x00000800L

Definition at line 299 of file m5apiw32.h.

#define STATE_POW_FET_TEMP   0x00080000L

Definition at line 307 of file m5apiw32.h.

#define STATE_POW_HALLERR   0x00400000L

Definition at line 310 of file m5apiw32.h.

#define STATE_POW_INTEGRALERR   0x00800000L

Definition at line 311 of file m5apiw32.h.

#define STATE_POW_SHORTCUR   0x00200000L

Definition at line 309 of file m5apiw32.h.

#define STATE_POW_VOLT_ERR   0x00040000L

Definition at line 306 of file m5apiw32.h.

#define STATE_POW_WDG_TEMP   0x00100000L

Definition at line 308 of file m5apiw32.h.

#define STATE_POWERFAULT   0x00000008L

Definition at line 291 of file m5apiw32.h.

#define STATE_RAMP_ACC   0x00001000L

Definition at line 300 of file m5apiw32.h.

#define STATE_RAMP_DEC   0x00004000L

Definition at line 302 of file m5apiw32.h.

#define STATE_RAMP_END   0x00008000L

Definition at line 303 of file m5apiw32.h.

#define STATE_RAMP_STEADY   0x00002000L

Definition at line 301 of file m5apiw32.h.

#define STATE_SW1   0x00000080L

Definition at line 295 of file m5apiw32.h.

#define STATE_SW2   0x00000100L

Definition at line 296 of file m5apiw32.h.

#define STATE_SWR   0x00000040L

Definition at line 294 of file m5apiw32.h.

#define STATE_TOW_ERROR   0x00000010L

Definition at line 292 of file m5apiw32.h.

#define STATEID_MOD_BEYOND_HARD   0x02000000L

Definition at line 110 of file m5apiw32.h.

#define STATEID_MOD_BEYOND_SOFT   0x04000000L

Definition at line 111 of file m5apiw32.h.

#define STATEID_MOD_BRAKEACTIVE   0x00000200L

Definition at line 94 of file m5apiw32.h.

#define STATEID_MOD_COMM_ERROR   0x00000020L

Definition at line 90 of file m5apiw32.h.

#define STATEID_MOD_CPU_OVERLOAD   0x01000000L

Definition at line 109 of file m5apiw32.h.

#define STATEID_MOD_CURLIMIT   0x00000400L

Definition at line 95 of file m5apiw32.h.

#define STATEID_MOD_ERROR   0x00000001L

Definition at line 85 of file m5apiw32.h.

#define STATEID_MOD_FULLBUFFER   0x00020000L

Definition at line 102 of file m5apiw32.h.

#define STATEID_MOD_HALT   0x00000004L

Definition at line 87 of file m5apiw32.h.

#define STATEID_MOD_HOME   0x00000002L

Definition at line 86 of file m5apiw32.h.

#define STATEID_MOD_INPROGRESS   0x00010000L

Definition at line 101 of file m5apiw32.h.

#define STATEID_MOD_LOGIC_VOLT   0x08000000L

Definition at line 112 of file m5apiw32.h.

#define STATEID_MOD_MOTION   0x00000800L

Definition at line 96 of file m5apiw32.h.

#define STATEID_MOD_POW_FET_TEMP   0x00080000L

Definition at line 104 of file m5apiw32.h.

#define STATEID_MOD_POW_HALLERR   0x00400000L

Definition at line 107 of file m5apiw32.h.

#define STATEID_MOD_POW_INTEGRALERR   0x00800000L

Definition at line 108 of file m5apiw32.h.

#define STATEID_MOD_POW_SHORTCUR   0x00200000L

Definition at line 106 of file m5apiw32.h.

#define STATEID_MOD_POW_VOLT_ERR   0x00040000L

Definition at line 103 of file m5apiw32.h.

#define STATEID_MOD_POW_WDG_TEMP   0x00100000L

Definition at line 105 of file m5apiw32.h.

#define STATEID_MOD_POWERFAULT   0x00000008L

Definition at line 88 of file m5apiw32.h.

#define STATEID_MOD_RAMP_ACC   0x00001000L

Definition at line 97 of file m5apiw32.h.

#define STATEID_MOD_RAMP_DEC   0x00004000L

Definition at line 99 of file m5apiw32.h.

#define STATEID_MOD_RAMP_END   0x00008000L

Definition at line 100 of file m5apiw32.h.

#define STATEID_MOD_RAMP_STEADY   0x00002000L

Definition at line 98 of file m5apiw32.h.

#define STATEID_MOD_SW1   0x00000080L

Definition at line 92 of file m5apiw32.h.

#define STATEID_MOD_SW2   0x00000100L

Definition at line 93 of file m5apiw32.h.

#define STATEID_MOD_SWR   0x00000040L

Definition at line 91 of file m5apiw32.h.

#define STATEID_MOD_TOW_ERROR   0x00000010L

Definition at line 89 of file m5apiw32.h.

#define TW_ANA10V_IN   TYPEID_EMS_ANA10V_IN

Definition at line 328 of file m5apiw32.h.

#define TW_ANA10V_OUT   TYPEID_EMS_ANA10V_OUT

Definition at line 327 of file m5apiw32.h.

#define TW_ANA25MA_IN   TYPEID_EMS_ANA25MA_IN

Definition at line 330 of file m5apiw32.h.

#define TW_ANA25MA_OUT   TYPEID_EMS_ANA25MA_OUT

Definition at line 329 of file m5apiw32.h.

#define TW_DIG24V_IN   TYPEID_EMS_DIG24V_IN

Definition at line 326 of file m5apiw32.h.

#define TW_DIG24V_OUT   TYPEID_EMS_DIG24V_OUT

Definition at line 325 of file m5apiw32.h.

#define TYPEID_EMS_ANA10V_IN   13

Definition at line 209 of file m5apiw32.h.

#define TYPEID_EMS_ANA10V_OUT   12

Definition at line 208 of file m5apiw32.h.

#define TYPEID_EMS_ANA25MA_IN   15

Definition at line 211 of file m5apiw32.h.

#define TYPEID_EMS_ANA25MA_OUT   14

Definition at line 210 of file m5apiw32.h.

#define TYPEID_EMS_DIG24V_IN   11

Definition at line 207 of file m5apiw32.h.

#define TYPEID_EMS_DIG24V_OUT   10

Definition at line 206 of file m5apiw32.h.

#define TYPEID_MOD_LINEAR   0xf0

Definition at line 184 of file m5apiw32.h.

#define TYPEID_MOD_ROTARY   0x0f

Definition at line 183 of file m5apiw32.h.

#define WINAPI

Definition at line 70 of file m5apiw32.h.


Function Documentation

M5DLL_API int WINAPI PCube_closeDevice ( int  iDeviceId  ) 

Definition at line 424 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_closeDevices ( void   ) 

Definition at line 443 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_configFromFile ( const char *  acFileName  ) 

Definition at line 141 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_doInternal ( int  iDeviceId,
int  iModuleId,
void *  pBytes 
)

Definition at line 2029 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getA0 ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 925 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getC0 ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 937 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getCanOpenRawAbsEnc ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 2286 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getConfig ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)

Definition at line 865 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getCur ( int  iDeviceId,
int  iModuleId,
float *  pfCur 
)

Definition at line 985 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getCurInc ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 1141 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getCurrentLimit ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2886 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDamp ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 949 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDataDLR_FTS ( int  iDeviceId,
float *  pfDataFX,
float *  pfDataFY,
float *  pfDataFZ,
float *  pfDataTX,
float *  pfDataTY,
float *  pfDataTZ,
long *  piState 
)

Definition at line 2065 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDataEMS_AIO ( int  iDeviceId,
int  iModuleId,
int  iChannelId,
float *  pfData 
)

Definition at line 2154 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDataEMS_DIO ( int  iDeviceId,
int  iModuleId,
int  iChannelId,
int *  piData 
)

Definition at line 2127 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDataMP55_IO ( int  iDeviceId,
int  iModuleId,
float *  pfData 
)

Definition at line 2178 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDataMP55_IO_fast ( int  iDeviceId,
int  iModuleId,
float *  pfData 
)

Definition at line 2226 of file m5apiw32.cpp.

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 
)

Definition at line 2084 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefA0 ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 733 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)

Definition at line 637 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefBrakeTimeOut ( int  iDeviceId,
int  iModuleId,
unsigned short *  puiValue 
)

Definition at line 697 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefBurnCount ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)

Definition at line 649 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefC0 ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 745 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefCANBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)

Definition at line 2382 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefConfig ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)

Definition at line 613 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefCurOffset ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2202 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefCurRatio ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 685 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefDamp ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 757 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefDioData ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)

Definition at line 721 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefGearRatio ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 661 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefHomeOffset ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 769 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefHomeVel ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 781 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefIncPerTurn ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)

Definition at line 709 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefLinearRatio ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 673 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefMaxAcc ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 829 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefMaxCur ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 841 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefMaxDeltaPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 853 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefMaxPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 805 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefMaxVel ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 817 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefMinPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 793 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefRSBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)

Definition at line 2394 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDefSetup ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)

Definition at line 625 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDeltaPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 1057 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDeltaPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1201 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDeviceCount ( void   ) 

Definition at line 515 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDeviceIdMap ( int *  aiIdMap  ) 

Definition at line 525 of file m5apiw32.cpp.

M5DLL_API const char* WINAPI PCube_getDeviceInitString ( int  iDeviceId  ) 

Definition at line 480 of file m5apiw32.cpp.

M5DLL_API const char* WINAPI PCube_getDeviceName ( int  iDeviceId  ) 

Definition at line 469 of file m5apiw32.cpp.

M5DLL_API const char* WINAPI PCube_getDeviceRevision ( int  iDeviceId  ) 

Definition at line 458 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDioData ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)

Definition at line 913 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDllVersion ( void   ) 

Definition at line 121 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getHMaxCurOvershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2718 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getHomeOffset ( int  iDeviceId,
int  iModuleId,
float *  pValue 
)

Definition at line 877 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getHomeOffsetInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 889 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getHomeVel ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 1237 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getHomeVelInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1249 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getIncRatio ( int  iDeviceId,
int  iModuleId,
float *  pValue 
)

Definition at line 901 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getIPolVel ( int  iDeviceId,
int  iModuleId,
float *  pValue 
)

Definition at line 1093 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getKpPWMLimit ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2874 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getLoadDeltaTime ( int  iDeviceId,
int  iModuleId,
unsigned short *  piValue 
)

Definition at line 2322 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getLoadLimit ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2298 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getLogicOvershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2670 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getLogicSupply ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2574 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getLogicUndershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2658 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxAcc ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 1033 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxAccInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1189 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxCur ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 1045 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxDeltaPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 1069 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxDeltaPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1213 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaximumMotorCurrent ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2646 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxLoadGradient ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2310 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxLogicVoltage ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2598 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxMotorVoltage ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2622 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 1009 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1165 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxPWMOutput ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2898 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxVel ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 1021 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMaxVelInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1177 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMinLogicVoltage ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2586 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMinMotorVoltage ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2610 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMinPos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 997 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMinPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1153 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getModuleCount ( int  iDeviceId  ) 

Definition at line 538 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getModuleIdMap ( int  iDeviceId,
int *  aiIdMap 
)

Definition at line 548 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getModuleSerialNo ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiValue 
)

Definition at line 601 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getModuleState ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiState 
)

Definition at line 565 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getModuleType ( int  iDeviceId,
int  iModuleId,
unsigned char *  pucValue 
)

Definition at line 577 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getModuleVersion ( int  iDeviceId,
int  iModuleId,
unsigned short *  puiValue 
)

Definition at line 589 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMotorCurrent ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2538 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMotorOvershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2694 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMotorSupply ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2550 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getMotorUndershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2682 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getNomCurOvershootTime ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 2706 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getNominalMotorCurrent ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2634 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getPos ( int  iDeviceId,
int  iModuleId,
float *  pfPos 
)

Definition at line 961 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getPosCountInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1105 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getPosInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1117 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getRawLogicSupply ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 2274 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getRawMotorCurrent ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 2238 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getRawMotorSupply ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 2250 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getRawTemperature ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 2262 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getSavePos ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 1081 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getStateDioPos ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiShortState,
unsigned char *  pucDio,
float *  pfPos 
)

Definition at line 1225 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getStateInternal ( int  iDeviceId,
int  iModuleId,
unsigned long *  puiState 
)

Definition at line 2041 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getSyncTime ( int  iDeviceId,
int  iModuleId,
short *  piValue 
)

Definition at line 1261 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getTemperature ( int  iDeviceId,
int  iModuleId,
float *  pfValue 
)

Definition at line 2562 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getVel ( int  iDeviceId,
int  iModuleId,
float *  pfVel 
)

Definition at line 973 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getVelInc ( int  iDeviceId,
int  iModuleId,
long *  piValue 
)

Definition at line 1129 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_haltAll ( int  iDeviceId  ) 

Definition at line 1837 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_haltModule ( int  iDeviceId,
int  iModuleId 
)

Definition at line 1597 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_homeAll ( int  iDeviceId  ) 

Definition at line 1813 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_homeModule ( int  iDeviceId,
int  iModuleId 
)

Definition at line 1585 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_initDLR_FTS ( int  iDeviceId  ) 

Definition at line 2053 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_initEMS_IO ( int  iDeviceId,
unsigned char  ucType,
unsigned long  uiSerialNo 
)

Definition at line 2115 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveCur ( int  iDeviceId,
int  iModuleId,
float  fCur 
)

Definition at line 1669 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveCurExtended ( int  iDeviceId,
int  iModuleId,
float  fCur,
unsigned long *  puiShortState,
unsigned char *  pucDio,
float *  pfPos 
)

Definition at line 1789 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveCurInc ( int  iDeviceId,
int  iModuleId,
long  iCur 
)

Definition at line 1729 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_movePos ( int  iDeviceId,
int  iModuleId,
float  fPos 
)

Definition at line 1633 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_movePosExtended ( int  iDeviceId,
int  iModuleId,
float  fPos,
unsigned long *  puiShortState,
unsigned char *  pucDio,
float *  pfPos 
)

Definition at line 1753 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_movePosInc ( int  iDeviceId,
int  iModuleId,
long  iPos 
)

Definition at line 1693 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveRamp ( int  iDeviceId,
int  iModuleId,
float  fPos,
float  fVel,
float  fAcc 
)

Definition at line 1645 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveRampExtended ( int  iDeviceId,
int  iModuleId,
float  fPos,
float  fVel,
float  fAcc,
unsigned long *  puiState,
unsigned char *  pucDio,
float *  pfPos 
)

Definition at line 1765 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveRampInc ( int  iDeviceId,
int  iModuleId,
long  iPos,
long  iVel,
long  iAcc 
)

Definition at line 1705 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveStep ( int  iDeviceId,
int  iModuleId,
float  fPos,
unsigned short  uiTime 
)

Definition at line 1681 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveStepExtended ( int  iDeviceId,
int  iModuleId,
float  fPos,
unsigned short  uiTime,
unsigned long *  puiShortState,
unsigned char *  pucDio,
float *  pfPos 
)

Definition at line 1801 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveStepInc ( int  iDeviceId,
int  iModuleId,
long  iPos,
unsigned short  uiTime 
)

Definition at line 1741 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveVel ( int  iDeviceId,
int  iModuleId,
float  fVel 
)

Definition at line 1657 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveVelExtended ( int  iDeviceId,
int  iModuleId,
float  fCur,
unsigned long *  puiShortState,
unsigned char *  pucDio,
float *  pfPos 
)

Definition at line 1777 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_moveVelInc ( int  iDeviceId,
int  iModuleId,
long  iVel 
)

Definition at line 1717 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_openDevice ( int *  piDeviceId,
const char *  acInitString 
)

Definition at line 363 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_recalcPIDParams ( int  iDeviceId,
int  iModuleId 
)

Definition at line 1621 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_resetAll ( int  iDeviceId  ) 

Definition at line 1825 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_resetModule ( int  iDeviceId,
int  iModuleId 
)

Definition at line 1609 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_saveParameters ( int  iDeviceId,
int  iModuleId 
)

Definition at line 2370 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_savePosAll ( int  iDeviceId  ) 

Definition at line 1885 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_serveWatchdogAll ( int  iDeviceId  ) 

Definition at line 1849 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setA0 ( int  iDeviceId,
int  iModuleId,
short  iValue 
)

Definition at line 1321 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setBaudRateAll ( int  iDeviceId,
unsigned char  pucValue 
)

Definition at line 1861 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setC0 ( int  iDeviceId,
int  iModuleId,
short  iValue 
)

Definition at line 1333 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setConfig ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)

Definition at line 1273 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setCurrentLimit ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2922 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDamp ( int  iDeviceId,
int  iModuleId,
short  iValue 
)

Definition at line 1345 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDataEMS_AIO ( int  iDeviceId,
int  iModuleId,
int  iChannelId,
float  fData 
)

Definition at line 2166 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDataEMS_DIO ( int  iDeviceId,
int  iModuleId,
int  iChannelId,
int  iData 
)

Definition at line 2141 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefAddress ( int  iDeviceId,
int  iModuleId,
unsigned char  uiValue 
)

Definition at line 2490 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefBrakeTimeOut ( int  iDeviceId,
int  iModuleId,
unsigned short  uiValue 
)

Definition at line 2478 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefCANBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char  uiValue 
)

Definition at line 2502 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefCurRatio ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2430 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefGearRatio ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2406 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefHomeAcc ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2442 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefIncPerTurn ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)

Definition at line 2466 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefLinRatio ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2418 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefRSBaudRate ( int  iDeviceId,
int  iModuleId,
unsigned char  uiValue 
)

Definition at line 2514 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDefSetup ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)

Definition at line 2526 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDeviceDebug ( int  iDeviceId,
int  iDebug,
int  iDebugLevel,
int  iDebugFile 
)

Definition at line 502 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDeviceName ( int  iDeviceId,
const char *  acDeviceName 
)

Definition at line 491 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDioData ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)

Definition at line 1309 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setDllDebug ( int  iDebug,
int  iDebugLevel,
int  iDebugFile 
)

Definition at line 126 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setHMaxCurOvershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2862 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setHomeOffset ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1285 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setHomeOffsetInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1297 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setHomeVel ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1489 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setHomeVelInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1501 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setInitMP55_IO_fast ( int  iDeviceId,
int  iModuleId 
)

Definition at line 2214 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setKpPWMLimit ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2910 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setLoadDeltaTime ( int  iDeviceId,
int  iModuleId,
unsigned short  iValue 
)

Definition at line 2358 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setLoadLimit ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2334 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setLogicOvershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2814 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setLogicUndershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2802 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxAcc ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1393 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxAccInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1465 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxCur ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1405 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxDeltaPos ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1417 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxDeltaPosInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1477 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaximumMotorCurrent ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2790 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxLoadGradient ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2346 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxLogicVoltage ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2742 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxMotorVoltage ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2766 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxPos ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1369 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxPosInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1441 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxVel ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1381 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMaxVelInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1453 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMinLogicVoltage ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2730 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMinMotorVoltage ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2754 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMinPos ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1357 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMinPosInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1429 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setModuleSerialNo ( int  iDeviceId,
int  iModuleId,
unsigned long  uiValue 
)

Definition at line 2454 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMotorOvershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2838 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setMotorUndershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2826 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setNomCurOvershootTime ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 2850 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setNominalMotorCurrent ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 2778 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setNullSCHUNK_FTC ( int  iDeviceId,
int  iModulId,
short *  piState 
)

Definition at line 2103 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setRampAcc ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1537 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setRampAccInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1549 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setRampVel ( int  iDeviceId,
int  iModuleId,
float  fValue 
)

Definition at line 1513 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setRampVelInc ( int  iDeviceId,
int  iModuleId,
long  iValue 
)

Definition at line 1525 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setSyncTime ( int  iDeviceId,
int  iModuleId,
short  iValue 
)

Definition at line 1561 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setTaraMP55_IO ( int  iDeviceId,
int  iModuleId,
float  fData 
)

Definition at line 2190 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_startMotionAll ( int  iDeviceId  ) 

Definition at line 1873 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_updateModuleIdMap ( int  iDeviceId  ) 

Definition at line 1573 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForHomeEnd ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)

Definition at line 1897 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForHomeEndAll ( int  iDeviceId,
unsigned long  uiTime 
)

Definition at line 1957 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForMotionEnd ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)

Definition at line 1909 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForMotionEndAll ( int  iDeviceId,
unsigned long  uiTime 
)

Definition at line 1969 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForRampDec ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)

Definition at line 1933 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForRampEnd ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)

Definition at line 1921 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForRampEndAll ( int  iDeviceId,
unsigned long  uiTime 
)

Definition at line 1981 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForRampSteady ( int  iDeviceId,
int  iModuleId,
unsigned long  uiTime 
)

Definition at line 1945 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForStartMotionAll ( int  iDeviceId  ) 

Definition at line 1993 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_xack8Bytes ( int  iDeviceId,
int  iModuleId,
void *  pBytes 
)

Definition at line 2017 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_xmit8Bytes ( int  iDeviceId,
int  iModuleId,
void *  pBytes 
)

Definition at line 2005 of file m5apiw32.cpp.


Variable Documentation

M5DLL_API int g_iM5Debug

Definition at line 31 of file m5apiw32.cpp.

M5DLL_API int g_iM5DebugFile

Definition at line 30 of file m5apiw32.cpp.

M5DLL_API int g_iM5DebugLevel

Definition at line 29 of file m5apiw32.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Sat Mar 2 13:37:12 2013