Ecat Class

Function

C++

static ECAPIFUNC ErrorToString(int errCode, char *pString, unsigned int size)

Python

def ErrorToString(errCode)

Returns

Type

string

Value

error string

Remarks

Function

C++

static ECAPIFUNC ErrorToString(int errCode, wchar_t *pString, unsigned int size)

Python

Returns

Type

Value

Remarks

Function

C++

static ECAPIFUNC ApiLogToString(unsigned char *pLogData, unsigned int logDataSize, char *pString, unsigned int size)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

static ECAPIFUNC ApiLogToString(unsigned char *pLogData, unsigned int logDataSize, wchar_t *pString, unsigned int size)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

static ECAPIFUNC GetLibVersion(int *pMajorVersion, int *pMinorVersion, int *pRevisionVersion, int *pFixVersion)

Python

def GetLibVersion()

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - MajorVersion

  • 2 : int - MinorVersion

  • 3 : int - RevisionVersion

  • 4 : int - FixVersion

Remarks

Function

C++

bool IsDeviceValid()

Python

def IsDeviceValid()

Returns

Type

bool

Value

Whether the device is alive

Remarks

Function

C++

ECAPIFUNC GetVersion(int *pMajorVersion, int *pMinorVersion, int *pRevisionVersion, int *pFixVersion)

Python

def GetVersion()

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - MajorVersion

  • 2 : int - MinorVersion

  • 3 : int - RevisionVersion

  • 4 : int - FixVersion

Remarks

Function

C++

ECAPIFUNC ScanNetwork()

Python

def ScanNetwork()

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC ChangeSlaveState(int slaveId, EcStateMachine::T state, int* errorCode)

Python

def ChangeSlaveState(slaveId, state)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - AL status code

Remarks

Function

C++

ECAPIFUNC StartHotconnect()

Python

def StartHotconnect()

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC ResetRefClockInfo()

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC ResetTransmitStatisticsInfo()

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetMasterInfo(EcMasterInfo* master)

Python

def GetMasterInfo()

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : EcMasterInfo - current master information

Remarks

Function

C++

ECAPIFUNC SetEniFilePath(int slaveId, char* path, unsigned char oneshot = 1)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetEniFilePath(int slaveId, wchar_t* path, unsigned char oneshot = 1)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterWrite(int slaveId, int regAddr, int len, unsigned char* data)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterRead(int slaveId, int regAddr, int len, unsigned char* buff)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterWrite(int slaveId, int regAddr, int len, unsigned char* data, EcRegisterWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterRead(int slaveId, int regAddr, int len, EcRegisterReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterBroadcastWrite(int regAddr, int len, unsigned char* data, unsigned short* wkc)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterBroadcastRead(int regAddr, int len, unsigned char* buff, unsigned short* wkc)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterBroadcastWrite(int regAddr, int len, unsigned char* data, EcRegisterBroadcastWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterBroadcastRead(int regAddr, int len, EcRegisterBroadcastReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoDownload(int slaveId, int index, int subindex, int sdoDataSize, unsigned char* sdoData, unsigned int* errCode, unsigned int waitTime = 0)

Python

  • def SdoDownload(slaveId, index, subindex, sdoDataSize, sdoData)

  • def SdoDownload_WaitTime(slaveId, index, subindex, sdoDataSize, sdoData, waitTime)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - SDO abort code

Remarks

Function

C++

ECAPIFUNC SdoUpload(int slaveId, int index, int subindex, int sdoBuffSize, unsigned char* sdoBuff, unsigned int* actualSize, unsigned int* errCode, unsigned int waitTime = 0)

Python

  • def SdoUpload(slaveId, index, subindex, sdoBuffSize)

  • def SdoUpload_WaitTime(slaveId, index, subindex, sdoBuffSize, waitTime)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - SDO data

  • 2 : int - actual uploaded SDO data size

  • 3 : int - SDO abort code

Remarks

Function

C++

ECAPIFUNC SdoDownload(int slaveId, int index, int subindex, int sdoDataSize, unsigned char* sdoData, EcSdoDownloadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoUpload(int slaveId, int index, int subindex, EcSdoUploadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoDownload(int slaveId, int index, int subindex, EcSdoType::T sdoType, int sdoDataSize, unsigned char* sdoData, unsigned int* errCode, unsigned int waitTime = 0, BOOL complete = FALSE)

Python

  • def SdoDownload_SdoType(slaveId, index, subindex, sdoType, sdoDataSize, sdoData)

  • def SdoDownload_SdoType_WaitTime(slaveId, index, subindex, sdoType, sdoDataSize, sdoData, waitTime)

  • def SdoDownload_SdoType_WaitTime_Complete(slaveId, index, subindex, sdoType, sdoDataSize, sdoData, waitTime, complete)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - SDO abort code

Remarks

Function

C++

ECAPIFUNC SdoUpload(int slaveId, int index, int subindex, EcSdoType::T sdoType, int sdoBuffSize, unsigned char* sdoBuff, unsigned int* actualSize, unsigned int* errCode, unsigned int waitTime = 0, BOOL complete = FALSE)

Python

  • def SdoUpload_SdoType(slaveId, index, subindex, sdoType, sdoBuffSize)

  • def SdoUpload_SdoType_WaitTime(slaveId, index, subindex, sdoType, sdoBuffSize, waitTime)

  • def SdoUpload_SdoType_WaitTime_Complete(slaveId, index, subindex, sdoType, sdoBuffSize, waitTime, complete)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - SDO data

  • 2 : int - actual uploaded SDO data size

  • 3 : int - SDO abort code

Remarks

Function

C++

ECAPIFUNC SdoDownload(int slaveId, int index, int subindex, EcSdoType::T sdoType, int sdoDataSize, unsigned char* sdoData, EcSdoDownloadCallBack callbackFunc, unsigned int waitTime, BOOL complete = FALSE)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoUpload(int slaveId, int index, int subindex, EcSdoType::T sdoType, EcSdoUploadCallBack callbackFunc, unsigned int waitTime, BOOL complete = FALSE)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetSdoInfoODList(int slaveId, EcObjectDescriptionListType::T type, EcSlaveSdoInfoObjectDescriptionList* list)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetSdoInfoEDList(int slaveId, int index, EcSlaveSdoInfoEntryDescriptionList* list)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetSdoInfoODList(int slaveId, EcObjectDescriptionListType::T type, EcSdoInfoGetODListCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetSdoInfoEDList(int slaveId, int index, EcSdoInfoGetEDListCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC TxPdoWrite(int slaveId, int index, int subindex, int pdoDataSize, unsigned char* pdoData, unsigned int mask = 0)

Python

  • def TxPdoWrite(slaveId, index, subindex, pdoDataSize, pdoData)

  • def TxPdoWrite(slaveId, index, subindex, pdoDataSize, pdoData, mask)

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC ClearTxPdoWrite(int slaveId, int index, int subindex)

Python

def ClearTxPdoWrite(slaveId, index, subindex)

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC PdoRead(int slaveId, int index, int subindex, int pdoBuffSize, unsigned char* pdoBuff, unsigned int* actualSize)

Python

def PdoRead(slaveId, index, subindex, pdoBuffSize)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - PDO data

  • 2 : int - actually read PDO size

Remarks

Function

C++

ECAPIFUNC SetOutputBit(int slaveId, int byte, int bit, unsigned char data)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetOutputByte(int slaveId, int byte, unsigned char data)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetOutputBytes(int slaveId, int byte, int size, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetOutputBits(int slaveId, int *pByte, int *pBit, unsigned char *pData, int count)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetInputBit(int slaveId, int byte, int bit, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetInputByte(int slaveId, int byte, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetInputBytes(int slaveId, int byte, int size, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetOutputBit(int slaveId, int byte, int bit, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetOutputByte(int slaveId, int byte, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetOutputBytes(int slaveId, int byte, int size, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoERead(int slaveId, wchar_t* filePath, char* fileName, unsigned int password, unsigned int* errCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoEWrite(int slaveId, wchar_t* filePath, char* fileName, unsigned int password, unsigned int* errCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoERead(int slaveId, wchar_t* filePath, char* fileName, unsigned int password, EcFoEReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoEWrite(int slaveId, wchar_t* filePath, char* fileName, unsigned int password, EcFoEWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoERead(int slaveId, char* filePath, char* fileName, unsigned int password, unsigned int* errCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoEWrite(int slaveId, char* filePath, char* fileName, unsigned int password, unsigned int* errCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoERead(int slaveId, char* filePath, char* fileName, unsigned int password, EcFoEReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoEWrite(int slaveId, char* filePath, char* fileName, unsigned int password, EcFoEWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SIIWrite(int slaveId, int siiAddr, int len, unsigned char* data, bool checkSum = false)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SIIRead(int slaveId, int siiAddr, int len, unsigned char* buff)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SIIWrite(int slaveId, int siiAddr, int len, unsigned char* data, EcSIIWriteCallBack callbackFunc, unsigned int waitTime, bool checkSum = false)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SIIRead(int slaveId, int siiAddr, int len, EcSIIReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoERead(int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int readLength, unsigned char* readAoEBuff, unsigned int* errCode, unsigned int waitTime = 0, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEWrite(int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int writeLength, unsigned char* writeAoEData, unsigned int* errCode, unsigned int waitTime = 0, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEWriteControl(int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned short aoeState, unsigned short deviceState, unsigned int writeLength, unsigned char* writeAoEData, unsigned int* errCode, unsigned int waitTime = 0, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEReadWrite(int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int readLength, unsigned char* readAoEBuff, unsigned int writeLength, unsigned char* writeAoEData, unsigned int* errCode, unsigned int waitTime = 0, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoERead(int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int readLength, EcAoEReadCallBack callbackFunc, unsigned int waitTime, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEWrite(int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int writeLength, unsigned char* writeAoEData, EcAoEWriteCallBack callbackFunc, unsigned int waitTime, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEWriteControl(int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned short aoeState, unsigned short deviceState, unsigned int writeLength, unsigned char* writeAoEData, EcAoEWriteControlCallBack callbackFunc, unsigned int waitTime, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEReadWrite(int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int readLength, unsigned int writeLength, unsigned char* writeAoEData, EcAoEReadCallBack callbackFunc, unsigned int waitTime, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SoERead(int slaveId, unsigned char driveNo, unsigned char elementFlags, unsigned short idn, unsigned int buffSize, unsigned char* readSoEBuffer, unsigned int* actualSize, unsigned int* errCode, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SoEWrite(int slaveId, unsigned char driveNo, unsigned char elementFlags, unsigned short idn, unsigned int dataSize, unsigned char* writeSoEData, unsigned int* errCode, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SoERead(int slaveId, unsigned char driveNo, unsigned char elementFlags, unsigned short idn, EcSoEReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SoEWrite(int slaveId, unsigned char driveNo, unsigned char elementFlags, unsigned short idn, unsigned int dataSize, unsigned char* writeSoEData, EcSoEWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC VoERead(int slaveId, unsigned int* vendorId, unsigned short* vendorType, unsigned int buffSize, unsigned char* readVoEBuffer, unsigned int* actualSize, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC VoEWrite(int slaveId, unsigned int vendorId, unsigned short vendorType, unsigned int dataSize, unsigned char* writeVoEData, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC VoERead(int slaveId, EcVoEReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC VoEWrite(int slaveId, unsigned int vendorId, unsigned short vendorType, unsigned int dataSize, unsigned char* writeVoEData, EcVoEWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetAxisMode(int slaveId, int axisIndex, EcOperationMode::T mode)

Python

def SetAxisMode(slaveId, axisIndex, mode)

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC StartAxisPP(int slaveId, int axisIndex, int targetPos, unsigned int profileVel, unsigned int profileAcc, unsigned int profileDec, char immediately = -1, char relative = -1)

Python

  • def StartAxisPP(slaveId, axisIndex, targetPos, profileVel, profileAcc, profileDec)

  • def StartAxisPP(slaveId, axisIndex, targetPos, profileVel, profileAcc, profileDec, immediately)

  • def StartAxisPP(slaveId, axisIndex, targetPos, profileVel, profileAcc, profileDec, immediately, relative)

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC StartAxisPV(int slaveId, int axisIndex, int targetVel, unsigned int profileAcc, unsigned int profileDec)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisPV(int slaveId, int axisIndex, int targetVel, unsigned int profileAcc, unsigned int profileDec, unsigned short maxTorque)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisTQ(int slaveId, int axisIndex, short targetTrq)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisTQ(int slaveId, int axisIndex, short targetTrq, unsigned int maxMotorSpeed)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisHM(int slaveId, int axisIndex, int method, unsigned int switchSpeed, unsigned int zeroSpeed, unsigned int hmAcc)

Python

def StartAxisHM(slaveId, axisIndex, method, switchSpeed, zeroSpeed, hmAcc)

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC StartAxisHM(int slaveId, int axisIndex, int method, unsigned int switchSpeed, unsigned int zeroSpeed, unsigned int hmAcc, int homeOffset)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC HaltAxis(int slaveId, int axisIndex)

Python

def HaltAxis(slaveId, axisIndex)

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC HaltAxisRelease(int slaveId, int axisIndex)

Python

def HaltAxisRelease(slaveId, axisIndex)

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC OpenSerialChannel(int slaveId, int chnlId, wchar_t* comName, DCB* dcb, COMMTIMEOUTS* timeout, unsigned int* error = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC OpenSerialChannel(int slaveId, int chnlId, char* comName, DCB* dcb, COMMTIMEOUTS* timeout, unsigned int* error = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC CloseSerialChannel(int slaveId, int chnlId)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC ScanNetwork(int masterId)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC ChangeSlaveState(int masterId, int slaveId, EcStateMachine::T state, int* errorCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartHotconnect(int masterId)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC ResetRefClockInfo(int masterId)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC ResetTransmitStatisticsInfo(int masterId)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetUpdatePeriod(unsigned int period)

Python

def SetUpdatePeriod(period)

Returns

Type

int

Value

error code

Remarks

Function

C++

ECAPIFUNC GetMasterInfo(int masterId, EcMasterInfo* master)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetMasterInfoList(EcMasterInfoList* masters)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetEniFilePath(int masterId, int slaveId, char* path, unsigned char oneshot = 1)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetEniFilePath(int masterId, int slaveId, wchar_t* path, unsigned char oneshot = 1)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterWrite(int masterId, int slaveId, int regAddr, int len, unsigned char* data)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterRead(int masterId, int slaveId, int regAddr, int len, unsigned char* buff)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterWrite(int masterId, int slaveId, int regAddr, int len, unsigned char* data, EcRegisterWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterRead(int masterId, int slaveId, int regAddr, int len, EcRegisterReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterBroadcastWrite(int masterId, int regAddr, int len, unsigned char* data, unsigned short* wkc)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterBroadcastRead(int masterId, int regAddr, int len, unsigned char* buff, unsigned short* wkc)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterBroadcastWrite(int masterId, int regAddr, int len, unsigned char* data, EcRegisterBroadcastWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC RegisterBroadcastRead(int masterId, int regAddr, int len, EcRegisterBroadcastReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoDownload(int masterId, int slaveId, int index, int subindex, int sdoDataSize, unsigned char* sdoData, unsigned int* errCode, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoUpload(int masterId, int slaveId, int index, int subindex, int sdoBuffSize, unsigned char* sdoBuff, unsigned int* actualSize, unsigned int* errCode, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoDownload(int masterId, int slaveId, int index, int subindex, int sdoDataSize, unsigned char* sdoData, EcSdoDownloadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoUpload(int masterId, int slaveId, int index, int subindex, EcSdoUploadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoDownload(int masterId, int slaveId, int index, int subindex, EcSdoType::T sdoType, int sdoDataSize, unsigned char* sdoData, unsigned int* errCode, unsigned int waitTime = 0, BOOL complete = FALSE)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoUpload(int masterId, int slaveId, int index, int subindex, EcSdoType::T sdoType, int sdoBuffSize, unsigned char* sdoBuff, unsigned int* actualSize, unsigned int* errCode, unsigned int waitTime = 0, BOOL complete = FALSE)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoDownload(int masterId, int slaveId, int index, int subindex, EcSdoType::T sdoType, int sdoDataSize, unsigned char* sdoData, EcSdoDownloadCallBack callbackFunc, unsigned int waitTime, BOOL complete = FALSE)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SdoUpload(int masterId, int slaveId, int index, int subindex, EcSdoType::T sdoType, EcSdoUploadCallBack callbackFunc, unsigned int waitTime, BOOL complete = FALSE)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetSdoInfoODList(int masterId, int slaveId, EcObjectDescriptionListType::T type, EcSlaveSdoInfoObjectDescriptionList* list)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetSdoInfoEDList(int masterId, int slaveId, int index, EcSlaveSdoInfoEntryDescriptionList* list)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetSdoInfoODList(int masterId, int slaveId, EcObjectDescriptionListType::T type, EcSdoInfoGetODListCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetSdoInfoEDList(int masterId, int slaveId, int index, EcSdoInfoGetEDListCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC TxPdoWrite(int masterId, int slaveId, int index, int subindex, int pdoDataSize, unsigned char* pdoData, unsigned int mask = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC ClearTxPdoWrite(int masterId, int slaveId, int index, int subindex)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC PdoRead(int masterId, int slaveId, int index, int subindex, int pdoBuffSize, unsigned char* pdoBuff, unsigned int* actualSize)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetOutputBit(int masterId, int slaveId, int byte, int bit, unsigned char data)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetOutputByte(int masterId, int slaveId, int byte, unsigned char data)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetOutputBytes(int masterId, int slaveId, int byte, int size, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetOutputBits(int masterId, int slaveId, int *pByte, int *pBit, unsigned char *pData, int count)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetInputBit(int masterId, int slaveId, int byte, int bit, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetInputByte(int masterId, int slaveId, int byte, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetInputBytes(int masterId, int slaveId, int byte, int size, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetOutputBit(int masterId, int slaveId, int byte, int bit, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetOutputByte(int masterId, int slaveId, int byte, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC GetOutputBytes(int masterId, int slaveId, int byte, int size, unsigned char *pData)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoERead(int masterId, int slaveId, wchar_t* filePath, char* fileName, unsigned int password, unsigned int* errCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoEWrite(int masterId, int slaveId, wchar_t* filePath, char* fileName, unsigned int password, unsigned int* errCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoERead(int masterId, int slaveId, wchar_t* filePath, char* fileName, unsigned int password, EcFoEReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoEWrite(int masterId, int slaveId, wchar_t* filePath, char* fileName, unsigned int password, EcFoEWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoERead(int masterId, int slaveId, char* filePath, char* fileName, unsigned int password, unsigned int* errCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoEWrite(int masterId, int slaveId, char* filePath, char* fileName, unsigned int password, unsigned int* errCode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoERead(int masterId, int slaveId, char* filePath, char* fileName, unsigned int password, EcFoEReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC FoEWrite(int masterId, int slaveId, char* filePath, char* fileName, unsigned int password, EcFoEWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SIIWrite(int masterId, int slaveId, int siiAddr, int len, unsigned char* data, bool checkSum = false)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SIIRead(int masterId, int slaveId, int siiAddr, int len, unsigned char* buff)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SIIWrite(int masterId, int slaveId, int siiAddr, int len, unsigned char* data, EcSIIWriteCallBack callbackFunc, unsigned int waitTime, bool checkSum = false)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SIIRead(int masterId, int slaveId, int siiAddr, int len, EcSIIReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoERead(int masterId, int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int readLength, unsigned char* readAoEBuff, unsigned int* errCode, unsigned int waitTime = 0, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEWrite(int masterId, int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int writeLength, unsigned char* writeAoEData, unsigned int* errCode, unsigned int waitTime = 0, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEWriteControl(int masterId, int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned short aoeState, unsigned short deviceState, unsigned int writeLength, unsigned char* writeAoEData, unsigned int* errCode, unsigned int waitTime = 0, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEReadWrite(int masterId, int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int readLength, unsigned char* readAoEBuff, unsigned int writeLength, unsigned char* writeAoEData, unsigned int* errCode, unsigned int waitTime = 0, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoERead(int masterId, int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int readLength, EcAoEReadCallBack callbackFunc, unsigned int waitTime, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEWrite(int masterId, int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int writeLength, unsigned char* writeAoEData, EcAoEWriteCallBack callbackFunc, unsigned int waitTime, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEWriteControl(int masterId, int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned short aoeState, unsigned short deviceState, unsigned int writeLength, unsigned char* writeAoEData, EcAoEWriteControlCallBack callbackFunc, unsigned int waitTime, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC AoEReadWrite(int masterId, int slaveId, unsigned char targetNetId[6], unsigned short targetPort, unsigned int indexGroup, unsigned int indexOffset, unsigned int readLength, unsigned int writeLength, unsigned char* writeAoEData, EcAoEReadCallBack callbackFunc, unsigned int waitTime, EcAoESender* sender = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SoERead(int masterId, int slaveId, unsigned char driveNo, unsigned char elementFlags, unsigned short idn, unsigned int buffSize, unsigned char* readSoEBuffer, unsigned int* actualSize, unsigned int* errCode, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SoEWrite(int masterId, int slaveId, unsigned char driveNo, unsigned char elementFlags, unsigned short idn, unsigned int dataSize, unsigned char* writeSoEData, unsigned int* errCode, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SoERead(int masterId, int slaveId, unsigned char driveNo, unsigned char elementFlags, unsigned short idn, EcSoEReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SoEWrite(int masterId, int slaveId, unsigned char driveNo, unsigned char elementFlags, unsigned short idn, unsigned int dataSize, unsigned char* writeSoEData, EcSoEWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC VoERead(int masterId, int slaveId, unsigned int* vendorId, unsigned short* vendorType, unsigned int buffSize, unsigned char* readVoEBuffer, unsigned int* actualSize, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC VoEWrite(int masterId, int slaveId, unsigned int vendorId, unsigned short vendorType, unsigned int dataSize, unsigned char* writeVoEData, unsigned int waitTime = 0)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC VoERead(int masterId, int slaveId, EcVoEReadCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC VoEWrite(int masterId, int slaveId, unsigned int vendorId, unsigned short vendorType, unsigned int dataSize, unsigned char* writeVoEData, EcVoEWriteCallBack callbackFunc, unsigned int waitTime)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC SetAxisMode(int masterId, int slaveId, int axisIndex, EcOperationMode::T mode)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisPP(int masterId, int slaveId, int axisIndex, int targetPos, unsigned int profileVel, unsigned int profileAcc, unsigned int profileDec, char immediately = -1, char relative = -1)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisPV(int masterId, int slaveId, int axisIndex, int targetVel, unsigned int profileAcc, unsigned int profileDec)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisPV(int masterId, int slaveId, int axisIndex, int targetVel, unsigned int profileAcc, unsigned int profileDec, unsigned short maxTorque)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisTQ(int masterId, int slaveId, int axisIndex, short targetTrq)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisTQ(int masterId, int slaveId, int axisIndex, short targetTrq, unsigned int maxMotorSpeed)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisHM(int masterId, int slaveId, int axisIndex, int method, unsigned int switchSpeed, unsigned int zeroSpeed, unsigned int hmAcc)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC StartAxisHM(int masterId, int slaveId, int axisIndex, int method, unsigned int switchSpeed, unsigned int zeroSpeed, unsigned int hmAcc, int homeOffset)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC HaltAxis(int masterId, int slaveId, int axisIndex)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC HaltAxisRelease(int masterId, int slaveId, int axisIndex)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC OpenSerialChannel(int masterId, int slaveId, int chnlId, wchar_t* comName, DCB* dcb, COMMTIMEOUTS* timeout, unsigned int* error = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC OpenSerialChannel(int masterId, int slaveId, int chnlId, char* comName, DCB* dcb, COMMTIMEOUTS* timeout, unsigned int* error = NULL)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.

Function

C++

ECAPIFUNC CloseSerialChannel(int masterId, int slaveId, int chnlId)

Python

Returns

Type

Value

Remarks

PythonAPI is not supported.