#include "schunk_libm5api/m5apiw32.h"
#include "../Device/Device.h"
#include "../Util/IOFunctions.h"
#include "../Util/Message.h"
Go to the source code of this file.
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 *fVal0, float *fVal1, float *fVal2, float *fVal3, float *fVal4, float *fVal5, 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 *pData) |
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 *fVal0, float *fVal1, float *fVal2, float *fVal3, float *fVal4, float *fVal5, 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 () |
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 *pValue) |
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 *puiState, unsigned char *pucDio, float *pfPos) |
M5DLL_API int WINAPI | PCube_getStateInternal (int iDeviceId, int iModuleId, unsigned long *pStat) |
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 *puiState, 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 *puiState, 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 *puiState, 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 *puiState, 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 ucValue) |
M5DLL_API int WINAPI | PCube_setC0 (int iDeviceId, int iModuleId, short iValue) |
M5DLL_API int WINAPI | PCube_setConfig (int iDeviceId, int iModuleId, unsigned long puiValue) |
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 | |
static std::vector< int > | g_aiDeviceRefCount |
static std::vector< CDevice * > | g_apclDevice |
M5DLL_API int | g_iM5Debug = 0 |
M5DLL_API int | g_iM5DebugFile = 0 |
M5DLL_API int | g_iM5DebugLevel = 0 |
Definition at line 427 of file m5apiw32.cpp.
Definition at line 446 of file m5apiw32.cpp.
Definition at line 144 of file m5apiw32.cpp.
Definition at line 2032 of file m5apiw32.cpp.
Definition at line 928 of file m5apiw32.cpp.
Definition at line 940 of file m5apiw32.cpp.
Definition at line 2289 of file m5apiw32.cpp.
Definition at line 868 of file m5apiw32.cpp.
Definition at line 988 of file m5apiw32.cpp.
Definition at line 1144 of file m5apiw32.cpp.
Definition at line 2889 of file m5apiw32.cpp.
Definition at line 952 of file m5apiw32.cpp.
M5DLL_API int WINAPI PCube_getDataDLR_FTS | ( | int | iDeviceId, |
float * | fVal0, | ||
float * | fVal1, | ||
float * | fVal2, | ||
float * | fVal3, | ||
float * | fVal4, | ||
float * | fVal5, | ||
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 * | pData | ||
) |
Definition at line 2130 of file m5apiw32.cpp.
Definition at line 2181 of file m5apiw32.cpp.
Definition at line 2229 of file m5apiw32.cpp.
M5DLL_API int WINAPI PCube_getDataSCHUNK_FTC | ( | int | iDeviceId, |
int | iModulId, | ||
int | iChannelTypeId, | ||
float * | fVal0, | ||
float * | fVal1, | ||
float * | fVal2, | ||
float * | fVal3, | ||
float * | fVal4, | ||
float * | fVal5, | ||
short * | piState | ||
) |
Definition at line 2087 of file m5apiw32.cpp.
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.
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.
Definition at line 616 of file m5apiw32.cpp.
Definition at line 2205 of file m5apiw32.cpp.
Definition at line 688 of file m5apiw32.cpp.
Definition at line 760 of file m5apiw32.cpp.
Definition at line 724 of file m5apiw32.cpp.
Definition at line 664 of file m5apiw32.cpp.
Definition at line 772 of file m5apiw32.cpp.
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.
Definition at line 676 of file m5apiw32.cpp.
Definition at line 832 of file m5apiw32.cpp.
Definition at line 844 of file m5apiw32.cpp.
Definition at line 856 of file m5apiw32.cpp.
Definition at line 808 of file m5apiw32.cpp.
Definition at line 820 of file m5apiw32.cpp.
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.
Definition at line 628 of file m5apiw32.cpp.
Definition at line 1060 of file m5apiw32.cpp.
Definition at line 1204 of file m5apiw32.cpp.
Definition at line 518 of file m5apiw32.cpp.
Definition at line 528 of file m5apiw32.cpp.
Definition at line 483 of file m5apiw32.cpp.
Definition at line 472 of file m5apiw32.cpp.
Definition at line 461 of file m5apiw32.cpp.
Definition at line 916 of file m5apiw32.cpp.
Definition at line 124 of file m5apiw32.cpp.
Definition at line 2721 of file m5apiw32.cpp.
Definition at line 880 of file m5apiw32.cpp.
Definition at line 892 of file m5apiw32.cpp.
Definition at line 1240 of file m5apiw32.cpp.
Definition at line 1252 of file m5apiw32.cpp.
Definition at line 904 of file m5apiw32.cpp.
Definition at line 1096 of file m5apiw32.cpp.
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.
Definition at line 2301 of file m5apiw32.cpp.
Definition at line 2673 of file m5apiw32.cpp.
Definition at line 2577 of file m5apiw32.cpp.
Definition at line 2661 of file m5apiw32.cpp.
Definition at line 1036 of file m5apiw32.cpp.
Definition at line 1192 of file m5apiw32.cpp.
Definition at line 1048 of file m5apiw32.cpp.
Definition at line 1072 of file m5apiw32.cpp.
Definition at line 1216 of file m5apiw32.cpp.
Definition at line 2649 of file m5apiw32.cpp.
Definition at line 2313 of file m5apiw32.cpp.
Definition at line 2601 of file m5apiw32.cpp.
Definition at line 2625 of file m5apiw32.cpp.
Definition at line 1012 of file m5apiw32.cpp.
Definition at line 1168 of file m5apiw32.cpp.
Definition at line 2901 of file m5apiw32.cpp.
Definition at line 1024 of file m5apiw32.cpp.
Definition at line 1180 of file m5apiw32.cpp.
Definition at line 2589 of file m5apiw32.cpp.
Definition at line 2613 of file m5apiw32.cpp.
Definition at line 1000 of file m5apiw32.cpp.
Definition at line 1156 of file m5apiw32.cpp.
Definition at line 541 of file m5apiw32.cpp.
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.
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.
Definition at line 2541 of file m5apiw32.cpp.
Definition at line 2697 of file m5apiw32.cpp.
Definition at line 2553 of file m5apiw32.cpp.
Definition at line 2685 of file m5apiw32.cpp.
Definition at line 2709 of file m5apiw32.cpp.
Definition at line 2637 of file m5apiw32.cpp.
Definition at line 964 of file m5apiw32.cpp.
Definition at line 1108 of file m5apiw32.cpp.
Definition at line 1120 of file m5apiw32.cpp.
Definition at line 2277 of file m5apiw32.cpp.
Definition at line 2241 of file m5apiw32.cpp.
Definition at line 2253 of file m5apiw32.cpp.
Definition at line 2265 of file m5apiw32.cpp.
Definition at line 1084 of file m5apiw32.cpp.
M5DLL_API int WINAPI PCube_getStateDioPos | ( | int | iDeviceId, |
int | iModuleId, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 1228 of file m5apiw32.cpp.
Definition at line 2044 of file m5apiw32.cpp.
Definition at line 1264 of file m5apiw32.cpp.
Definition at line 2565 of file m5apiw32.cpp.
Definition at line 976 of file m5apiw32.cpp.
Definition at line 1132 of file m5apiw32.cpp.
Definition at line 1840 of file m5apiw32.cpp.
Definition at line 1600 of file m5apiw32.cpp.
Definition at line 1816 of file m5apiw32.cpp.
Definition at line 1588 of file m5apiw32.cpp.
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.
Definition at line 1672 of file m5apiw32.cpp.
M5DLL_API int WINAPI PCube_moveCurExtended | ( | int | iDeviceId, |
int | iModuleId, | ||
float | fCur, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 1792 of file m5apiw32.cpp.
Definition at line 1732 of file m5apiw32.cpp.
Definition at line 1636 of file m5apiw32.cpp.
M5DLL_API int WINAPI PCube_movePosExtended | ( | int | iDeviceId, |
int | iModuleId, | ||
float | fPos, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 1756 of file m5apiw32.cpp.
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 * | puiState, | ||
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.
Definition at line 1660 of file m5apiw32.cpp.
M5DLL_API int WINAPI PCube_moveVelExtended | ( | int | iDeviceId, |
int | iModuleId, | ||
float | fCur, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 1780 of file m5apiw32.cpp.
Definition at line 1720 of file m5apiw32.cpp.
Definition at line 366 of file m5apiw32.cpp.
Definition at line 1624 of file m5apiw32.cpp.
Definition at line 1828 of file m5apiw32.cpp.
Definition at line 1612 of file m5apiw32.cpp.
Definition at line 2373 of file m5apiw32.cpp.
Definition at line 1888 of file m5apiw32.cpp.
Definition at line 1852 of file m5apiw32.cpp.
Definition at line 1324 of file m5apiw32.cpp.
Definition at line 1864 of file m5apiw32.cpp.
Definition at line 1336 of file m5apiw32.cpp.
Definition at line 1276 of file m5apiw32.cpp.
Definition at line 2925 of file m5apiw32.cpp.
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.
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.
Definition at line 2433 of file m5apiw32.cpp.
Definition at line 2409 of file m5apiw32.cpp.
Definition at line 2445 of file m5apiw32.cpp.
Definition at line 2469 of file m5apiw32.cpp.
Definition at line 2421 of file m5apiw32.cpp.
Definition at line 2517 of file m5apiw32.cpp.
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.
Definition at line 494 of file m5apiw32.cpp.
Definition at line 1312 of file m5apiw32.cpp.
Definition at line 129 of file m5apiw32.cpp.
Definition at line 2865 of file m5apiw32.cpp.
Definition at line 1288 of file m5apiw32.cpp.
Definition at line 1300 of file m5apiw32.cpp.
Definition at line 1492 of file m5apiw32.cpp.
Definition at line 1504 of file m5apiw32.cpp.
Definition at line 2217 of file m5apiw32.cpp.
Definition at line 2913 of file m5apiw32.cpp.
Definition at line 2361 of file m5apiw32.cpp.
Definition at line 2337 of file m5apiw32.cpp.
Definition at line 2817 of file m5apiw32.cpp.
Definition at line 2805 of file m5apiw32.cpp.
Definition at line 1396 of file m5apiw32.cpp.
Definition at line 1468 of file m5apiw32.cpp.
Definition at line 1408 of file m5apiw32.cpp.
Definition at line 1420 of file m5apiw32.cpp.
Definition at line 1480 of file m5apiw32.cpp.
Definition at line 2793 of file m5apiw32.cpp.
Definition at line 2349 of file m5apiw32.cpp.
Definition at line 2745 of file m5apiw32.cpp.
Definition at line 2769 of file m5apiw32.cpp.
Definition at line 1372 of file m5apiw32.cpp.
Definition at line 1444 of file m5apiw32.cpp.
Definition at line 1384 of file m5apiw32.cpp.
Definition at line 1456 of file m5apiw32.cpp.
Definition at line 2733 of file m5apiw32.cpp.
Definition at line 2757 of file m5apiw32.cpp.
Definition at line 1360 of file m5apiw32.cpp.
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.
Definition at line 2841 of file m5apiw32.cpp.
Definition at line 2829 of file m5apiw32.cpp.
Definition at line 2853 of file m5apiw32.cpp.
Definition at line 2781 of file m5apiw32.cpp.
Definition at line 2106 of file m5apiw32.cpp.
Definition at line 1540 of file m5apiw32.cpp.
Definition at line 1552 of file m5apiw32.cpp.
Definition at line 1516 of file m5apiw32.cpp.
Definition at line 1528 of file m5apiw32.cpp.
Definition at line 1564 of file m5apiw32.cpp.
Definition at line 2193 of file m5apiw32.cpp.
Definition at line 1876 of file m5apiw32.cpp.
Definition at line 1576 of file m5apiw32.cpp.
Definition at line 1900 of file m5apiw32.cpp.
Definition at line 1960 of file m5apiw32.cpp.
Definition at line 1912 of file m5apiw32.cpp.
Definition at line 1972 of file m5apiw32.cpp.
Definition at line 1936 of file m5apiw32.cpp.
Definition at line 1924 of file m5apiw32.cpp.
Definition at line 1984 of file m5apiw32.cpp.
Definition at line 1948 of file m5apiw32.cpp.
Definition at line 1996 of file m5apiw32.cpp.
Definition at line 2020 of file m5apiw32.cpp.
Definition at line 2008 of file m5apiw32.cpp.
|
static |
Definition at line 42 of file m5apiw32.cpp.
|
static |
Definition at line 41 of file m5apiw32.cpp.
M5DLL_API int g_iM5Debug = 0 |
Definition at line 34 of file m5apiw32.cpp.
M5DLL_API int g_iM5DebugFile = 0 |
Definition at line 33 of file m5apiw32.cpp.
M5DLL_API int g_iM5DebugLevel = 0 |
Definition at line 32 of file m5apiw32.cpp.