Macros | Functions | Variables
m5apiw32.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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 M5APIW32_H
 
#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
 

Macro Definition Documentation

#define BAUDRATEID_MOD_CAN_1000K   3

Definition at line 191 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_125K   0

Definition at line 188 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_250K   1

Definition at line 189 of file m5apiw32.h.

#define BAUDRATEID_MOD_CAN_500K   2

Definition at line 190 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_115200   7

Definition at line 200 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_1200   0

Definition at line 193 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_19200   4

Definition at line 197 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_2400   1

Definition at line 194 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_38400   5

Definition at line 198 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_4800   2

Definition at line 195 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_57600   6

Definition at line 199 of file m5apiw32.h.

#define BAUDRATEID_MOD_RS232_9600   3

Definition at line 196 of file m5apiw32.h.

#define CLD_ERR   -1

Definition at line 241 of file m5apiw32.h.

#define CLD_OK   0

Definition at line 240 of file m5apiw32.h.

#define CLDERR_DRIVE_NOMODULEFOUND   (CLDERR_ERROR - 15)

Definition at line 253 of file m5apiw32.h.

#define CLDERR_ERROR   (-200)

Definition at line 242 of file m5apiw32.h.

#define CLDERR_INITIALIZATIONERROR   (CLDERR_ERROR - 5)

Definition at line 247 of file m5apiw32.h.

#define CLDERR_LIBRARYNOTFOUND   (CLDERR_ERROR - 17)

Definition at line 255 of file m5apiw32.h.

#define CLDERR_RECEIVEERROR   (CLDERR_ERROR - 8)

Definition at line 250 of file m5apiw32.h.

#define CLDERR_TRANSMISSIONERROR   (CLDERR_ERROR - 7)

Definition at line 249 of file m5apiw32.h.

#define CLERR_BADDEVICEINITSTRING   (CLDERR_ERROR - 4)

Definition at line 246 of file m5apiw32.h.

#define CLERR_COMM_RECVTIMEOUT   (CLDERR_ERROR - 10)

Definition at line 252 of file m5apiw32.h.

#define CLERR_COMM_SENDTIMEOUT   (CLDERR_ERROR - 9)

Definition at line 251 of file m5apiw32.h.

#define CLERR_DEVICENOTOPEN   (CLDERR_ERROR - 6)

Definition at line 248 of file m5apiw32.h.

#define CLERR_FUNCTIONNOTAVAILABLE   (CLDERR_ERROR - 1)

Definition at line 243 of file m5apiw32.h.

#define CLERR_NODEVICENAME   (CLDERR_ERROR - 3)

Definition at line 245 of file m5apiw32.h.

#define CLERR_NOINITSTRING   (CLDERR_ERROR - 2)

Definition at line 244 of file m5apiw32.h.

#define CLERR_WRONGHANDLE   (CLDERR_ERROR - 16)

Definition at line 254 of file m5apiw32.h.

#define CONFIG_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 310 of file m5apiw32.h.

#define CONFIG_ALLOW_FULL_CUR   0x00080000L

Definition at line 327 of file m5apiw32.h.

#define CONFIG_BRAKE_AT_POWERON   0x00000010L

Definition at line 312 of file m5apiw32.h.

#define CONFIG_BRAKE_PRESENT   0x00000008L

Definition at line 311 of file m5apiw32.h.

#define CONFIG_CAN_RS232_COMM   0x40000000L

Definition at line 331 of file m5apiw32.h.

#define CONFIG_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 315 of file m5apiw32.h.

#define CONFIG_ENCODER_FEEDBACK   0x00000001L

Definition at line 308 of file m5apiw32.h.

#define CONFIG_LINEAR_DRIVE   0x00020000L

Definition at line 325 of file m5apiw32.h.

#define CONFIG_LINEAR_SCREW   0x00200000L

Definition at line 329 of file m5apiw32.h.

#define CONFIG_M3_COMPATIBLE   0x00100000L

Definition at line 328 of file m5apiw32.h.

#define CONFIG_OPENBRAKE_ON_SW2   0x00040000L

Definition at line 326 of file m5apiw32.h.

#define CONFIG_PROFI_RS485_COMM   0x80000000L

Definition at line 332 of file m5apiw32.h.

#define CONFIG_RESOLVER_FEEDBACK   0x00000002L

Definition at line 309 of file m5apiw32.h.

#define CONFIG_SW1_ENABLED   0x00000800L

Definition at line 319 of file m5apiw32.h.

#define CONFIG_SW1_EQ_POSLIMIT   0x00002000L

Definition at line 321 of file m5apiw32.h.

#define CONFIG_SW1_LOW_ACTIVE   0x00001000L

Definition at line 320 of file m5apiw32.h.

#define CONFIG_SW2_ENABLED   0x00004000L

Definition at line 322 of file m5apiw32.h.

#define CONFIG_SW2_EQ_POSLIMIT   0x00010000L

Definition at line 324 of file m5apiw32.h.

#define CONFIG_SW2_LOW_ACTIVE   0x00008000L

Definition at line 323 of file m5apiw32.h.

#define CONFIG_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 314 of file m5apiw32.h.

#define CONFIG_SWR_ENABLED   0x00000100L

Definition at line 316 of file m5apiw32.h.

#define CONFIG_SWR_EQ_POSLIMIT   0x00000400L

Definition at line 318 of file m5apiw32.h.

#define CONFIG_SWR_LOW_ACTIVE   0x00000200L

Definition at line 317 of file m5apiw32.h.

#define CONFIG_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 313 of file m5apiw32.h.

#define CONFIG_SYNC_MOTION   0x08000000L

Definition at line 330 of file m5apiw32.h.

#define CONFIGID_MOD_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 91 of file m5apiw32.h.

#define CONFIGID_MOD_ALLOW_FULL_CUR   0x00080000L

Definition at line 111 of file m5apiw32.h.

#define CONFIGID_MOD_BRAKE_AT_POWERON   0x00000010L

Definition at line 93 of file m5apiw32.h.

#define CONFIGID_MOD_BRAKE_PRESENT   0x00000008L

Definition at line 92 of file m5apiw32.h.

#define CONFIGID_MOD_CAN_RS232_COMM   0x40000000L

Definition at line 120 of file m5apiw32.h.

#define CONFIGID_MOD_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 96 of file m5apiw32.h.

#define CONFIGID_MOD_DISABLE_ACK   0x04000000L

Definition at line 117 of file m5apiw32.h.

#define CONFIGID_MOD_DISABLE_ON_HALT   0x00800000L

Definition at line 114 of file m5apiw32.h.

#define CONFIGID_MOD_ENCODER_FEEDBACK   0x00000001L

Definition at line 89 of file m5apiw32.h.

#define CONFIGID_MOD_LINEAR   0x00020000L

Definition at line 109 of file m5apiw32.h.

#define CONFIGID_MOD_LINEAR_SCREW   0x00200000L

Definition at line 113 of file m5apiw32.h.

#define CONFIGID_MOD_M3_COMPATIBLE   0x00100000L

Definition at line 112 of file m5apiw32.h.

#define CONFIGID_MOD_OPENBRAKE_ON_SW2   0x00040000L

Definition at line 110 of file m5apiw32.h.

#define CONFIGID_MOD_PROFI_RS485_COMM   0x80000000L

Definition at line 121 of file m5apiw32.h.

#define CONFIGID_MOD_RESOLVER_FEEDBACK   0x00000002L

Definition at line 90 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_ENABLED   0x00000800L

Definition at line 101 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_EQ_POSLIMIT   0x00002000L

Definition at line 103 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_LOW_ACTIVE   0x00001000L

Definition at line 102 of file m5apiw32.h.

#define CONFIGID_MOD_SW1_USE_EXTERNAL   0x00002000L

Definition at line 104 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_ENABLED   0x00004000L

Definition at line 105 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_EQ_POSLIMIT   0x00010000L

Definition at line 107 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_LOW_ACTIVE   0x00008000L

Definition at line 106 of file m5apiw32.h.

#define CONFIGID_MOD_SW2_USE_EXTERNAL   0x00010000L

Definition at line 108 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 95 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_ENABLED   0x00000100L

Definition at line 97 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_EQ_POSLIMIT   0x00000400L

Definition at line 99 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_LOW_ACTIVE   0x00000200L

Definition at line 98 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_USE_EXTERNAL   0x00000400L

Definition at line 100 of file m5apiw32.h.

#define CONFIGID_MOD_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 94 of file m5apiw32.h.

#define CONFIGID_MOD_SYNC_MOTION   0x08000000L

Definition at line 118 of file m5apiw32.h.

#define CONFIGID_MOD_SYNC_TRANSMIT   0x10000000L

Definition at line 119 of file m5apiw32.h.

#define CONFIGID_MOD_WATCHDOG_ENABLE   0x01000000L

Definition at line 115 of file m5apiw32.h.

#define CONFIGID_MOD_ZERO_MOVE_AFTER_HOK   0x02000000L

Definition at line 116 of file m5apiw32.h.

#define DIOID_MOD_INBIT0   0x00000001L

Definition at line 161 of file m5apiw32.h.

#define DIOID_MOD_INBIT1   0x00000002L

Definition at line 162 of file m5apiw32.h.

#define DIOID_MOD_INBIT2   0x00000004L

Definition at line 163 of file m5apiw32.h.

#define DIOID_MOD_INBIT3   0x00000008L

Definition at line 164 of file m5apiw32.h.

#define DIOID_MOD_INSW1   0x00000200L

Definition at line 172 of file m5apiw32.h.

#define DIOID_MOD_INSW2   0x00000400L

Definition at line 173 of file m5apiw32.h.

#define DIOID_MOD_INSWR   0x00000100L

Definition at line 171 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT0   0x00000010L

Definition at line 166 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT1   0x00000020L

Definition at line 167 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT2   0x00000040L

Definition at line 168 of file m5apiw32.h.

#define DIOID_MOD_OUTBIT3   0x00000080L

Definition at line 169 of file m5apiw32.h.

#define DLR_FTSGetData   PCube_getDataDLR_FTS

Definition at line 408 of file m5apiw32.h.

#define DLR_FTSInit   PCube_initDLR_FTS

Definition at line 407 of file m5apiw32.h.

#define ERRID_DEV   (-200L)

Definition at line 205 of file m5apiw32.h.

#define ERRID_DEV_BADINITSTRING   (ERRID_DEV - 4)

Definition at line 209 of file m5apiw32.h.

#define ERRID_DEV_EMSINITERROR   (ERRID_DEV - 22)

Definition at line 227 of file m5apiw32.h.

#define ERRID_DEV_EMSMAXNUMBER   (ERRID_DEV - 21)

Definition at line 226 of file m5apiw32.h.

#define ERRID_DEV_EMSNOTINITIALIZED   (ERRID_DEV - 20)

Definition at line 225 of file m5apiw32.h.

#define ERRID_DEV_EXITERROR   (ERRID_DEV - 14)

Definition at line 219 of file m5apiw32.h.

#define ERRID_DEV_FUNCTIONNOTAVAILABLE   (ERRID_DEV - 1)

Definition at line 206 of file m5apiw32.h.

#define ERRID_DEV_INITERROR   (ERRID_DEV - 5)

Definition at line 210 of file m5apiw32.h.

#define ERRID_DEV_ISINITIALIZED   (ERRID_DEV - 18)

Definition at line 223 of file m5apiw32.h.

#define ERRID_DEV_MODULEERROR   (ERRID_DEV - 28)

Definition at line 233 of file m5apiw32.h.

#define ERRID_DEV_NODEVICENAME   (ERRID_DEV - 3)

Definition at line 208 of file m5apiw32.h.

#define ERRID_DEV_NOINITSTRING   (ERRID_DEV - 2)

Definition at line 207 of file m5apiw32.h.

#define ERRID_DEV_NOLIBRARY   (ERRID_DEV - 17)

Definition at line 222 of file m5apiw32.h.

#define ERRID_DEV_NOMODULES   (ERRID_DEV - 15)

Definition at line 220 of file m5apiw32.h.

#define ERRID_DEV_NOTINITIALIZED   (ERRID_DEV - 6)

Definition at line 211 of file m5apiw32.h.

#define ERRID_DEV_OPENINIFILE   (ERRID_DEV - 30)

Definition at line 235 of file m5apiw32.h.

#define ERRID_DEV_READERROR   (ERRID_DEV - 8)

Definition at line 213 of file m5apiw32.h.

#define ERRID_DEV_READTIMEOUT   (ERRID_DEV - 10)

Definition at line 215 of file m5apiw32.h.

#define ERRID_DEV_WAITTIMEOUT   (ERRID_DEV - 29)

Definition at line 234 of file m5apiw32.h.

#define ERRID_DEV_WRITEERROR   (ERRID_DEV - 7)

Definition at line 212 of file m5apiw32.h.

#define ERRID_DEV_WRITETIMEOUT   (ERRID_DEV - 9)

Definition at line 214 of file m5apiw32.h.

#define ERRID_DEV_WRONGCOMMANDID   (ERRID_DEV - 12)

Definition at line 217 of file m5apiw32.h.

#define ERRID_DEV_WRONGDEVICEID   (ERRID_DEV - 16)

Definition at line 221 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSCHANNELID   (ERRID_DEV - 24)

Definition at line 229 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSMODULEID   (ERRID_DEV - 19)

Definition at line 224 of file m5apiw32.h.

#define ERRID_DEV_WRONGEMSTYPE   (ERRID_DEV - 23)

Definition at line 228 of file m5apiw32.h.

#define ERRID_DEV_WRONGMESSAGEID   (ERRID_DEV - 11)

Definition at line 216 of file m5apiw32.h.

#define ERRID_DEV_WRONGMODULEID   (ERRID_DEV - 27)

Definition at line 232 of file m5apiw32.h.

#define ERRID_DEV_WRONGMP55MODULEID   (ERRID_DEV - 25)

Definition at line 230 of file m5apiw32.h.

#define ERRID_DEV_WRONGPARAMETERID   (ERRID_DEV - 13)

Definition at line 218 of file m5apiw32.h.

#define ERRID_DEV_WRONGSCHUNKMODULEID   (ERRID_DEV - 26)

Definition at line 231 of file m5apiw32.h.

#define LINEAR_DRIVE   TYPEID_MOD_LINEAR

Definition at line 292 of file m5apiw32.h.

#define M5APIW32_H

Definition at line 23 of file m5apiw32.h.

#define M5DLL_API

Definition at line 43 of file m5apiw32.h.

#define M5DLLVERSION   0x5060

Definition at line 27 of file m5apiw32.h.

#define MAX_MODULES   31

Definition at line 28 of file m5apiw32.h.

#define P3502_CONFIG_ALLOW_FULL_CUR   0x00080000L

Definition at line 349 of file m5apiw32.h.

#define P3502_CONFIG_BRAKE_AT_POWERON   0x00000010L

Definition at line 335 of file m5apiw32.h.

#define P3502_CONFIG_BRAKE_PRESENT   0x00000008L

Definition at line 334 of file m5apiw32.h.

#define P3502_CONFIG_CHANGE_SWR_TO_LIMIT   0x00000080L

Definition at line 338 of file m5apiw32.h.

#define P3502_CONFIG_DISABLE_ACK   0x04000000L

Definition at line 355 of file m5apiw32.h.

#define P3502_CONFIG_DISABLE_ON_HALT   0x00800000L

Definition at line 352 of file m5apiw32.h.

#define P3502_CONFIG_LINEAR_DRIVE   0x00020000L

Definition at line 348 of file m5apiw32.h.

#define P3502_CONFIG_LINEAR_SCREW   0x00200000L

Definition at line 351 of file m5apiw32.h.

#define P3502_CONFIG_M3_COMPATIBLE   0x00100000L

Definition at line 350 of file m5apiw32.h.

#define P3502_CONFIG_SW1_ENABLED   0x00000800L

Definition at line 342 of file m5apiw32.h.

#define P3502_CONFIG_SW1_LOW_ACTIVE   0x00001000L

Definition at line 343 of file m5apiw32.h.

#define P3502_CONFIG_SW1_USE_EXTERNAL   0x00002000L

Definition at line 344 of file m5apiw32.h.

#define P3502_CONFIG_SW2_ENABLED   0x00004000L

Definition at line 345 of file m5apiw32.h.

#define P3502_CONFIG_SW2_LOW_ACTIVE   0x00008000L

Definition at line 346 of file m5apiw32.h.

#define P3502_CONFIG_SW2_USE_EXTERNAL   0x00010000L

Definition at line 347 of file m5apiw32.h.

#define P3502_CONFIG_SWR_AT_FALLING_EDGE   0x00000040L

Definition at line 337 of file m5apiw32.h.

#define P3502_CONFIG_SWR_ENABLED   0x00000100L

Definition at line 339 of file m5apiw32.h.

#define P3502_CONFIG_SWR_LOW_ACTIVE   0x00000200L

Definition at line 340 of file m5apiw32.h.

#define P3502_CONFIG_SWR_USE_EXTERNAL   0x00000400L

Definition at line 341 of file m5apiw32.h.

#define P3502_CONFIG_SWR_WITH_ENCODERZERO   0x00000020L

Definition at line 336 of file m5apiw32.h.

#define P3502_CONFIG_WATCHDOG_ENABLE   0x01000000L

Definition at line 353 of file m5apiw32.h.

#define P3502_CONFIG_ZERO_MOVE_AFTER_HOK   0x02000000L

Definition at line 354 of file m5apiw32.h.

#define P3502_SETUP_3IN_ENCODER_IN   0x00000010L

Definition at line 367 of file m5apiw32.h.

#define P3502_SETUP_3IN_ENCODER_OUT   0x00000020L

Definition at line 368 of file m5apiw32.h.

#define P3502_SETUP_4IN_4OUT   0x00000008L

Definition at line 366 of file m5apiw32.h.

#define P3502_SETUP_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 364 of file m5apiw32.h.

#define P3502_SETUP_CAN   0x00000200L

Definition at line 373 of file m5apiw32.h.

#define P3502_SETUP_ENCODER_FEEDBACK   0x00000001L

Definition at line 362 of file m5apiw32.h.

#define P3502_SETUP_ERROR_TO_OUT0   0x00020000L

Definition at line 385 of file m5apiw32.h.

#define P3502_SETUP_INVERT_COUNTER   0x00040000L

Definition at line 387 of file m5apiw32.h.

#define P3502_SETUP_INVERT_MOTORDIR   0x00004000L

Definition at line 380 of file m5apiw32.h.

#define P3502_SETUP_PROFIBUS   0x00000400L

Definition at line 374 of file m5apiw32.h.

#define P3502_SETUP_RESOLVER_FEEDBACK   0x00000002L

Definition at line 363 of file m5apiw32.h.

#define P3502_SETUP_RS232   0x00000040L

Definition at line 370 of file m5apiw32.h.

#define P3502_SETUP_RS485FD   0x00000100L

Definition at line 372 of file m5apiw32.h.

#define P3502_SETUP_RS485HD   0x00000080L

Definition at line 371 of file m5apiw32.h.

#define P3502_SETUP_USE_CANOPEN   0x00002000L

Definition at line 378 of file m5apiw32.h.

#define P3502_SETUP_USE_M3ID   0x00000800L

Definition at line 376 of file m5apiw32.h.

#define P3502_SETUP_USE_M4ID   0x00001000L

Definition at line 377 of file m5apiw32.h.

#define P3502_SETUP_USE_SW2_AS_BRAKE   0x00010000L

Definition at line 383 of file m5apiw32.h.

#define P3502_SETUP_USE_SW2_AS_ENABLE   0x00008000L

Definition at line 382 of file m5apiw32.h.

#define PCube_ConfigFromFile   PCube_configFromFile

Definition at line 410 of file m5apiw32.h.

#define PCube_getActPos   PCube_getPos

Definition at line 400 of file m5apiw32.h.

#define PCube_getActPosInc   PCube_getPosInc

Definition at line 402 of file m5apiw32.h.

#define PCube_getActVel   PCube_getVel

Definition at line 401 of file m5apiw32.h.

#define PCube_getCubeState   PCube_getModuleState

Definition at line 393 of file m5apiw32.h.

#define PCube_getDefBurncount   PCube_getDefBurnCount

Definition at line 396 of file m5apiw32.h.

#define PCube_getDefCubeVersion   PCube_getModuleVersion

Definition at line 394 of file m5apiw32.h.

#define PCube_getDefDioSetup   PCube_getDefDioData

Definition at line 399 of file m5apiw32.h.

#define PCube_getDefPulsesPerTurn   PCube_getDefIncPerTurn

Definition at line 398 of file m5apiw32.h.

#define PCube_getDefSerialNo   PCube_getModuleSerialNo

Definition at line 397 of file m5apiw32.h.

#define PCube_getInitString   PCube_getDeviceInitString

Definition at line 411 of file m5apiw32.h.

#define PCube_getModulesIdMap   PCube_getModuleIdMap

Definition at line 395 of file m5apiw32.h.

#define PCube_getName   PCube_getDeviceName

Definition at line 412 of file m5apiw32.h.

#define PCube_getRevision   PCube_getDeviceRevision

Definition at line 413 of file m5apiw32.h.

#define PCube_getStatusInternal   PCube_getStateInternal

Definition at line 409 of file m5apiw32.h.

#define PCube_moveCurrent   PCube_moveCur

Definition at line 404 of file m5apiw32.h.

#define PCube_moveCurrentExtended   PCube_moveCurExtended

Definition at line 406 of file m5apiw32.h.

#define PCube_moveCurrentInc   PCube_moveCurInc

Definition at line 405 of file m5apiw32.h.

#define PCube_setTargetAcc   PCube_setRampAcc

Definition at line 415 of file m5apiw32.h.

#define PCube_setTargetVel   PCube_setRampVel

Definition at line 414 of file m5apiw32.h.

#define PCube_syncModule   PCube_homeModule

Definition at line 403 of file m5apiw32.h.

#define ROTARY_DRIVE   TYPEID_MOD_ROTARY

Definition at line 291 of file m5apiw32.h.

#define SETUPID_MOD_3IN_ENCODER_IN   0x00000010L

Definition at line 132 of file m5apiw32.h.

#define SETUPID_MOD_3IN_ENCODER_OUT   0x00000020L

Definition at line 133 of file m5apiw32.h.

#define SETUPID_MOD_4IN_4OUT   0x00000008L

Definition at line 131 of file m5apiw32.h.

#define SETUPID_MOD_ABSOLUTE_FEEDBACK   0x00000004L

Definition at line 129 of file m5apiw32.h.

#define SETUPID_MOD_CAN   0x00000200L

Definition at line 136 of file m5apiw32.h.

#define SETUPID_MOD_ENCODER_FEEDBACK   0x00000001L

Definition at line 127 of file m5apiw32.h.

#define SETUPID_MOD_ERROR_TO_OUT0   0x00020000L

Definition at line 148 of file m5apiw32.h.

#define SETUPID_MOD_INVERT_MOTORDIR   0x00004000L

Definition at line 143 of file m5apiw32.h.

#define SETUPID_MOD_IO_GRIPPER_CONTROL   0x00080000L

Definition at line 150 of file m5apiw32.h.

#define SETUPID_MOD_PROFIBUS   0x00000400L

Definition at line 137 of file m5apiw32.h.

#define SETUPID_MOD_RESOLVER_FEEDBACK   0x00000002L

Definition at line 128 of file m5apiw32.h.

#define SETUPID_MOD_RS232   0x00000040L

Definition at line 135 of file m5apiw32.h.

#define SETUPID_MOD_USE_CANOPEN   0x00002000L

Definition at line 141 of file m5apiw32.h.

#define SETUPID_MOD_USE_M3ID   0x00000800L

Definition at line 139 of file m5apiw32.h.

#define SETUPID_MOD_USE_M4ID   0x00001000L

Definition at line 140 of file m5apiw32.h.

#define SETUPID_MOD_USE_SW2_AS_BRAKE   0x00010000L

Definition at line 146 of file m5apiw32.h.

#define SETUPID_MOD_USE_SW2_AS_ENABLE   0x00008000L

Definition at line 145 of file m5apiw32.h.

#define STATE_BEYOND_HARD   0x02000000L

Definition at line 285 of file m5apiw32.h.

#define STATE_BEYOND_SOFT   0x04000000L

Definition at line 286 of file m5apiw32.h.

#define STATE_BRAKEACTIVE   0x00000200L

Definition at line 269 of file m5apiw32.h.

#define STATE_COMM_ERROR   0x00000020L

Definition at line 265 of file m5apiw32.h.

#define STATE_CPU_OVERLOAD   0x01000000L

Definition at line 284 of file m5apiw32.h.

#define STATE_CURLIMIT   0x00000400L

Definition at line 270 of file m5apiw32.h.

#define STATE_ERROR   0x00000001L

Definition at line 260 of file m5apiw32.h.

#define STATE_FULLBUFFER   0x00020000L

Definition at line 277 of file m5apiw32.h.

#define STATE_HALTED   0x00000004L

Definition at line 262 of file m5apiw32.h.

#define STATE_HOME_OK   0x00000002L

Definition at line 261 of file m5apiw32.h.

#define STATE_INPROGRESS   0x00010000L

Definition at line 276 of file m5apiw32.h.

#define STATE_MOTION   0x00000800L

Definition at line 271 of file m5apiw32.h.

#define STATE_POW_FET_TEMP   0x00080000L

Definition at line 279 of file m5apiw32.h.

#define STATE_POW_HALLERR   0x00400000L

Definition at line 282 of file m5apiw32.h.

#define STATE_POW_INTEGRALERR   0x00800000L

Definition at line 283 of file m5apiw32.h.

#define STATE_POW_SHORTCUR   0x00200000L

Definition at line 281 of file m5apiw32.h.

#define STATE_POW_VOLT_ERR   0x00040000L

Definition at line 278 of file m5apiw32.h.

#define STATE_POW_WDG_TEMP   0x00100000L

Definition at line 280 of file m5apiw32.h.

#define STATE_POWERFAULT   0x00000008L

Definition at line 263 of file m5apiw32.h.

#define STATE_RAMP_ACC   0x00001000L

Definition at line 272 of file m5apiw32.h.

#define STATE_RAMP_DEC   0x00004000L

Definition at line 274 of file m5apiw32.h.

#define STATE_RAMP_END   0x00008000L

Definition at line 275 of file m5apiw32.h.

#define STATE_RAMP_STEADY   0x00002000L

Definition at line 273 of file m5apiw32.h.

#define STATE_SW1   0x00000080L

Definition at line 267 of file m5apiw32.h.

#define STATE_SW2   0x00000100L

Definition at line 268 of file m5apiw32.h.

#define STATE_SWR   0x00000040L

Definition at line 266 of file m5apiw32.h.

#define STATE_TOW_ERROR   0x00000010L

Definition at line 264 of file m5apiw32.h.

#define STATEID_MOD_BEYOND_HARD   0x02000000L

Definition at line 82 of file m5apiw32.h.

#define STATEID_MOD_BEYOND_SOFT   0x04000000L

Definition at line 83 of file m5apiw32.h.

#define STATEID_MOD_BRAKEACTIVE   0x00000200L

Definition at line 66 of file m5apiw32.h.

#define STATEID_MOD_COMM_ERROR   0x00000020L

Definition at line 62 of file m5apiw32.h.

#define STATEID_MOD_CPU_OVERLOAD   0x01000000L

Definition at line 81 of file m5apiw32.h.

#define STATEID_MOD_CURLIMIT   0x00000400L

Definition at line 67 of file m5apiw32.h.

#define STATEID_MOD_ERROR   0x00000001L

Definition at line 57 of file m5apiw32.h.

#define STATEID_MOD_FULLBUFFER   0x00020000L

Definition at line 74 of file m5apiw32.h.

#define STATEID_MOD_HALT   0x00000004L

Definition at line 59 of file m5apiw32.h.

#define STATEID_MOD_HOME   0x00000002L

Definition at line 58 of file m5apiw32.h.

#define STATEID_MOD_INPROGRESS   0x00010000L

Definition at line 73 of file m5apiw32.h.

#define STATEID_MOD_LOGIC_VOLT   0x08000000L

Definition at line 84 of file m5apiw32.h.

#define STATEID_MOD_MOTION   0x00000800L

Definition at line 68 of file m5apiw32.h.

#define STATEID_MOD_POW_FET_TEMP   0x00080000L

Definition at line 76 of file m5apiw32.h.

#define STATEID_MOD_POW_HALLERR   0x00400000L

Definition at line 79 of file m5apiw32.h.

#define STATEID_MOD_POW_INTEGRALERR   0x00800000L

Definition at line 80 of file m5apiw32.h.

#define STATEID_MOD_POW_SHORTCUR   0x00200000L

Definition at line 78 of file m5apiw32.h.

#define STATEID_MOD_POW_VOLT_ERR   0x00040000L

Definition at line 75 of file m5apiw32.h.

#define STATEID_MOD_POW_WDG_TEMP   0x00100000L

Definition at line 77 of file m5apiw32.h.

#define STATEID_MOD_POWERFAULT   0x00000008L

Definition at line 60 of file m5apiw32.h.

#define STATEID_MOD_RAMP_ACC   0x00001000L

Definition at line 69 of file m5apiw32.h.

#define STATEID_MOD_RAMP_DEC   0x00004000L

Definition at line 71 of file m5apiw32.h.

#define STATEID_MOD_RAMP_END   0x00008000L

Definition at line 72 of file m5apiw32.h.

#define STATEID_MOD_RAMP_STEADY   0x00002000L

Definition at line 70 of file m5apiw32.h.

#define STATEID_MOD_SW1   0x00000080L

Definition at line 64 of file m5apiw32.h.

#define STATEID_MOD_SW2   0x00000100L

Definition at line 65 of file m5apiw32.h.

#define STATEID_MOD_SWR   0x00000040L

Definition at line 63 of file m5apiw32.h.

#define STATEID_MOD_TOW_ERROR   0x00000010L

Definition at line 61 of file m5apiw32.h.

#define TW_ANA10V_IN   TYPEID_EMS_ANA10V_IN

Definition at line 300 of file m5apiw32.h.

#define TW_ANA10V_OUT   TYPEID_EMS_ANA10V_OUT

Definition at line 299 of file m5apiw32.h.

#define TW_ANA25MA_IN   TYPEID_EMS_ANA25MA_IN

Definition at line 302 of file m5apiw32.h.

#define TW_ANA25MA_OUT   TYPEID_EMS_ANA25MA_OUT

Definition at line 301 of file m5apiw32.h.

#define TW_DIG24V_IN   TYPEID_EMS_DIG24V_IN

Definition at line 298 of file m5apiw32.h.

#define TW_DIG24V_OUT   TYPEID_EMS_DIG24V_OUT

Definition at line 297 of file m5apiw32.h.

#define TYPEID_EMS_ANA10V_IN   13

Definition at line 181 of file m5apiw32.h.

#define TYPEID_EMS_ANA10V_OUT   12

Definition at line 180 of file m5apiw32.h.

#define TYPEID_EMS_ANA25MA_IN   15

Definition at line 183 of file m5apiw32.h.

#define TYPEID_EMS_ANA25MA_OUT   14

Definition at line 182 of file m5apiw32.h.

#define TYPEID_EMS_DIG24V_IN   11

Definition at line 179 of file m5apiw32.h.

#define TYPEID_EMS_DIG24V_OUT   10

Definition at line 178 of file m5apiw32.h.

#define TYPEID_MOD_LINEAR   0xf0

Definition at line 156 of file m5apiw32.h.

#define TYPEID_MOD_ROTARY   0x0f

Definition at line 155 of file m5apiw32.h.

#define WINAPI

Definition at line 42 of file m5apiw32.h.

Function Documentation

M5DLL_API int WINAPI PCube_closeDevice ( int  iDeviceId)

Definition at line 427 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_closeDevices ( void  )

Definition at line 446 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_configFromFile ( const char *  acFileName)

Definition at line 144 of file m5apiw32.cpp.

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

Definition at line 2032 of file m5apiw32.cpp.

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

Definition at line 928 of file m5apiw32.cpp.

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

Definition at line 940 of file m5apiw32.cpp.

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

Definition at line 2289 of file m5apiw32.cpp.

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

Definition at line 868 of file m5apiw32.cpp.

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

Definition at line 988 of file m5apiw32.cpp.

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

Definition at line 1144 of file m5apiw32.cpp.

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

Definition at line 2889 of file m5apiw32.cpp.

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

Definition at line 952 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 2068 of file m5apiw32.cpp.

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

Definition at line 2157 of file m5apiw32.cpp.

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

Definition at line 2130 of file m5apiw32.cpp.

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

Definition at line 2181 of file m5apiw32.cpp.

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

Definition at line 2229 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 2087 of file m5apiw32.cpp.

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

Definition at line 736 of file m5apiw32.cpp.

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

Definition at line 640 of file m5apiw32.cpp.

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

Definition at line 700 of file m5apiw32.cpp.

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

Definition at line 652 of file m5apiw32.cpp.

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

Definition at line 748 of file m5apiw32.cpp.

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

Definition at line 2385 of file m5apiw32.cpp.

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

Definition at line 616 of file m5apiw32.cpp.

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

Definition at line 2205 of file m5apiw32.cpp.

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

Definition at line 688 of file m5apiw32.cpp.

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

Definition at line 760 of file m5apiw32.cpp.

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

Definition at line 724 of file m5apiw32.cpp.

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

Definition at line 664 of file m5apiw32.cpp.

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

Definition at line 772 of file m5apiw32.cpp.

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

Definition at line 784 of file m5apiw32.cpp.

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

Definition at line 712 of file m5apiw32.cpp.

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

Definition at line 676 of file m5apiw32.cpp.

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

Definition at line 832 of file m5apiw32.cpp.

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

Definition at line 844 of file m5apiw32.cpp.

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

Definition at line 856 of file m5apiw32.cpp.

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

Definition at line 808 of file m5apiw32.cpp.

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

Definition at line 820 of file m5apiw32.cpp.

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

Definition at line 796 of file m5apiw32.cpp.

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

Definition at line 2397 of file m5apiw32.cpp.

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

Definition at line 628 of file m5apiw32.cpp.

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

Definition at line 1060 of file m5apiw32.cpp.

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

Definition at line 1204 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDeviceCount ( void  )

Definition at line 518 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDeviceIdMap ( int *  aiIdMap)

Definition at line 528 of file m5apiw32.cpp.

M5DLL_API const char* WINAPI PCube_getDeviceInitString ( int  iDeviceId)

Definition at line 483 of file m5apiw32.cpp.

M5DLL_API const char* WINAPI PCube_getDeviceName ( int  iDeviceId)

Definition at line 472 of file m5apiw32.cpp.

M5DLL_API const char* WINAPI PCube_getDeviceRevision ( int  iDeviceId)

Definition at line 461 of file m5apiw32.cpp.

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

Definition at line 916 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getDllVersion ( void  )

Definition at line 124 of file m5apiw32.cpp.

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

Definition at line 2721 of file m5apiw32.cpp.

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

Definition at line 880 of file m5apiw32.cpp.

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

Definition at line 892 of file m5apiw32.cpp.

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

Definition at line 1240 of file m5apiw32.cpp.

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

Definition at line 1252 of file m5apiw32.cpp.

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

Definition at line 904 of file m5apiw32.cpp.

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

Definition at line 1096 of file m5apiw32.cpp.

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

Definition at line 2877 of file m5apiw32.cpp.

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

Definition at line 2325 of file m5apiw32.cpp.

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

Definition at line 2301 of file m5apiw32.cpp.

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

Definition at line 2673 of file m5apiw32.cpp.

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

Definition at line 2577 of file m5apiw32.cpp.

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

Definition at line 2661 of file m5apiw32.cpp.

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

Definition at line 1036 of file m5apiw32.cpp.

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

Definition at line 1192 of file m5apiw32.cpp.

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

Definition at line 1048 of file m5apiw32.cpp.

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

Definition at line 1072 of file m5apiw32.cpp.

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

Definition at line 1216 of file m5apiw32.cpp.

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

Definition at line 2649 of file m5apiw32.cpp.

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

Definition at line 2313 of file m5apiw32.cpp.

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

Definition at line 2601 of file m5apiw32.cpp.

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

Definition at line 2625 of file m5apiw32.cpp.

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

Definition at line 1012 of file m5apiw32.cpp.

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

Definition at line 1168 of file m5apiw32.cpp.

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

Definition at line 2901 of file m5apiw32.cpp.

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

Definition at line 1024 of file m5apiw32.cpp.

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

Definition at line 1180 of file m5apiw32.cpp.

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

Definition at line 2589 of file m5apiw32.cpp.

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

Definition at line 2613 of file m5apiw32.cpp.

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

Definition at line 1000 of file m5apiw32.cpp.

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

Definition at line 1156 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_getModuleCount ( int  iDeviceId)

Definition at line 541 of file m5apiw32.cpp.

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

Definition at line 551 of file m5apiw32.cpp.

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

Definition at line 604 of file m5apiw32.cpp.

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

Definition at line 568 of file m5apiw32.cpp.

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

Definition at line 580 of file m5apiw32.cpp.

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

Definition at line 592 of file m5apiw32.cpp.

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

Definition at line 2541 of file m5apiw32.cpp.

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

Definition at line 2697 of file m5apiw32.cpp.

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

Definition at line 2553 of file m5apiw32.cpp.

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

Definition at line 2685 of file m5apiw32.cpp.

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

Definition at line 2709 of file m5apiw32.cpp.

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

Definition at line 2637 of file m5apiw32.cpp.

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

Definition at line 964 of file m5apiw32.cpp.

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

Definition at line 1108 of file m5apiw32.cpp.

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

Definition at line 1120 of file m5apiw32.cpp.

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

Definition at line 2277 of file m5apiw32.cpp.

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

Definition at line 2241 of file m5apiw32.cpp.

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

Definition at line 2253 of file m5apiw32.cpp.

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

Definition at line 2265 of file m5apiw32.cpp.

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

Definition at line 1084 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 1228 of file m5apiw32.cpp.

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

Definition at line 2044 of file m5apiw32.cpp.

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

Definition at line 1264 of file m5apiw32.cpp.

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

Definition at line 2565 of file m5apiw32.cpp.

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

Definition at line 976 of file m5apiw32.cpp.

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

Definition at line 1132 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_haltAll ( int  iDeviceId)

Definition at line 1840 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_haltModule ( int  iDeviceId,
int  iModuleId 
)

Definition at line 1600 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_homeAll ( int  iDeviceId)

Definition at line 1816 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_homeModule ( int  iDeviceId,
int  iModuleId 
)

Definition at line 1588 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_initDLR_FTS ( int  iDeviceId)

Definition at line 2056 of file m5apiw32.cpp.

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

Definition at line 2118 of file m5apiw32.cpp.

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

Definition at line 1672 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 1792 of file m5apiw32.cpp.

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

Definition at line 1732 of file m5apiw32.cpp.

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

Definition at line 1636 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 1756 of file m5apiw32.cpp.

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

Definition at line 1696 of file m5apiw32.cpp.

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

Definition at line 1648 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 1768 of file m5apiw32.cpp.

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

Definition at line 1708 of file m5apiw32.cpp.

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

Definition at line 1684 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 1804 of file m5apiw32.cpp.

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

Definition at line 1744 of file m5apiw32.cpp.

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

Definition at line 1660 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 1780 of file m5apiw32.cpp.

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

Definition at line 1720 of file m5apiw32.cpp.

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

Definition at line 366 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_recalcPIDParams ( int  iDeviceId,
int  iModuleId 
)

Definition at line 1624 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_resetAll ( int  iDeviceId)

Definition at line 1828 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_resetModule ( int  iDeviceId,
int  iModuleId 
)

Definition at line 1612 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_saveParameters ( int  iDeviceId,
int  iModuleId 
)

Definition at line 2373 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_savePosAll ( int  iDeviceId)

Definition at line 1888 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_serveWatchdogAll ( int  iDeviceId)

Definition at line 1852 of file m5apiw32.cpp.

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

Definition at line 1324 of file m5apiw32.cpp.

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

Definition at line 1864 of file m5apiw32.cpp.

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

Definition at line 1336 of file m5apiw32.cpp.

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

Definition at line 1276 of file m5apiw32.cpp.

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

Definition at line 2925 of file m5apiw32.cpp.

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

Definition at line 1348 of file m5apiw32.cpp.

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

Definition at line 2169 of file m5apiw32.cpp.

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

Definition at line 2144 of file m5apiw32.cpp.

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

Definition at line 2493 of file m5apiw32.cpp.

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

Definition at line 2481 of file m5apiw32.cpp.

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

Definition at line 2505 of file m5apiw32.cpp.

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

Definition at line 2433 of file m5apiw32.cpp.

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

Definition at line 2409 of file m5apiw32.cpp.

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

Definition at line 2445 of file m5apiw32.cpp.

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

Definition at line 2469 of file m5apiw32.cpp.

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

Definition at line 2421 of file m5apiw32.cpp.

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

Definition at line 2517 of file m5apiw32.cpp.

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

Definition at line 2529 of file m5apiw32.cpp.

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

Definition at line 505 of file m5apiw32.cpp.

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

Definition at line 494 of file m5apiw32.cpp.

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

Definition at line 1312 of file m5apiw32.cpp.

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

Definition at line 129 of file m5apiw32.cpp.

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

Definition at line 2865 of file m5apiw32.cpp.

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

Definition at line 1288 of file m5apiw32.cpp.

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

Definition at line 1300 of file m5apiw32.cpp.

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

Definition at line 1492 of file m5apiw32.cpp.

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

Definition at line 1504 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_setInitMP55_IO_fast ( int  iDeviceId,
int  iModuleId 
)

Definition at line 2217 of file m5apiw32.cpp.

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

Definition at line 2913 of file m5apiw32.cpp.

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

Definition at line 2361 of file m5apiw32.cpp.

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

Definition at line 2337 of file m5apiw32.cpp.

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

Definition at line 2817 of file m5apiw32.cpp.

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

Definition at line 2805 of file m5apiw32.cpp.

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

Definition at line 1396 of file m5apiw32.cpp.

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

Definition at line 1468 of file m5apiw32.cpp.

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

Definition at line 1408 of file m5apiw32.cpp.

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

Definition at line 1420 of file m5apiw32.cpp.

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

Definition at line 1480 of file m5apiw32.cpp.

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

Definition at line 2793 of file m5apiw32.cpp.

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

Definition at line 2349 of file m5apiw32.cpp.

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

Definition at line 2745 of file m5apiw32.cpp.

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

Definition at line 2769 of file m5apiw32.cpp.

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

Definition at line 1372 of file m5apiw32.cpp.

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

Definition at line 1444 of file m5apiw32.cpp.

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

Definition at line 1384 of file m5apiw32.cpp.

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

Definition at line 1456 of file m5apiw32.cpp.

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

Definition at line 2733 of file m5apiw32.cpp.

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

Definition at line 2757 of file m5apiw32.cpp.

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

Definition at line 1360 of file m5apiw32.cpp.

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

Definition at line 1432 of file m5apiw32.cpp.

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

Definition at line 2457 of file m5apiw32.cpp.

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

Definition at line 2841 of file m5apiw32.cpp.

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

Definition at line 2829 of file m5apiw32.cpp.

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

Definition at line 2853 of file m5apiw32.cpp.

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

Definition at line 2781 of file m5apiw32.cpp.

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

Definition at line 2106 of file m5apiw32.cpp.

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

Definition at line 1540 of file m5apiw32.cpp.

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

Definition at line 1552 of file m5apiw32.cpp.

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

Definition at line 1516 of file m5apiw32.cpp.

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

Definition at line 1528 of file m5apiw32.cpp.

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

Definition at line 1564 of file m5apiw32.cpp.

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

Definition at line 2193 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_startMotionAll ( int  iDeviceId)

Definition at line 1876 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_updateModuleIdMap ( int  iDeviceId)

Definition at line 1576 of file m5apiw32.cpp.

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

Definition at line 1900 of file m5apiw32.cpp.

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

Definition at line 1960 of file m5apiw32.cpp.

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

Definition at line 1912 of file m5apiw32.cpp.

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

Definition at line 1972 of file m5apiw32.cpp.

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

Definition at line 1936 of file m5apiw32.cpp.

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

Definition at line 1924 of file m5apiw32.cpp.

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

Definition at line 1984 of file m5apiw32.cpp.

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

Definition at line 1948 of file m5apiw32.cpp.

M5DLL_API int WINAPI PCube_waitForStartMotionAll ( int  iDeviceId)

Definition at line 1996 of file m5apiw32.cpp.

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

Definition at line 2020 of file m5apiw32.cpp.

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

Definition at line 2008 of file m5apiw32.cpp.

Variable Documentation

M5DLL_API int g_iM5Debug

Definition at line 34 of file m5apiw32.cpp.

M5DLL_API int g_iM5DebugFile

Definition at line 33 of file m5apiw32.cpp.

M5DLL_API int g_iM5DebugLevel

Definition at line 32 of file m5apiw32.cpp.



schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Mon Nov 25 2019 03:48:19