Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpiCore)  1.26.2
mlpiEthercatLib.h File Reference
Include dependency graph for mlpiEthercatLib.h:

Go to the source code of this file.

Macros

#define MLPI_ETHERCAT_MAX_ESC_PORTS   ( 4 )
 
#define MLPI_ETHERCAT_MAX_SLAVE_NAME_LEN   ( 128 )
 
#define MLPI_ETHERCAT_MAX_VENDOR_DATA_STRING_LEN   ( 128 )
 
#define MLPI_ETHERCAT_MAX_PROCESS_DATA_SECTIONS   ( 4 )
 

Typedefs

typedef struct MlpiEthercatIdentityInfo MlpiEthercatIdentityInfo
 
typedef struct MlpiEthercatMailboxInfo MlpiEthercatMailboxInfo
 
typedef struct MlpiEthercatMemoryInfo MlpiEthercatMemoryInfo
 
typedef struct MlpiEthercatSlaveOnlineInfo MlpiEthercatSlaveOnlineInfo
 
typedef struct MlpiEthercatSlaveConfigInfo MlpiEthercatSlaveConfigInfo
 
typedef struct MlpiEthercatSoeElementFlags MlpiEthercatSoeElementFlags
 
typedef struct MlpiEthercatVendorData MlpiEthercatVendorData
 
typedef struct MlpiEthercatVendorInfo MlpiEthercatVendorInfo
 
typedef struct MlpiEthercatSlaveStatistics MlpiEthercatSlaveStatistics
 
typedef struct MlpiEthercatSlaveBusScanInfo MlpiEthercatSlaveBusScanInfo
 

Enumerations

Functions

MLPIRESULT mlpiEthercatGetTopologyStatus (const MLPIHANDLE connection, const ULONG interfaceNumber, MlpiEthercatTopologyStatus *topologyStatus, ULONG *numChanges)
 
MLPIRESULT mlpiEthercatGetConfigFiles (const MLPIHANDLE connection, const ULONG interfaceNumber, const WCHAR16 *iniPathFileName, const WCHAR16 *eniPathFileName)
 
MLPIRESULT mlpiEthercatSetConfigFiles (const MLPIHANDLE connection, const ULONG interfaceNumber, const WCHAR16 *iniPathFileName, const WCHAR16 *eniPathFileName)
 
MLPIRESULT mlpiEthercatControl (const MLPIHANDLE connection, const ULONG interfaceNumber, const ULONG command, UCHAR *dataIn, const ULONG dataSizeIn, UCHAR *dataOut, const ULONG dataSizeOut, ULONG *dataSizeOutRet)
 
MLPIRESULT mlpiEthercatGetMasterState (const MLPIHANDLE connection, const ULONG interfaceNumber, MlpiEthercatState *state)
 
MLPIRESULT mlpiEthercatSetMasterState (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatState state)
 
MLPIRESULT mlpiEthercatGetMasterStatus (const MLPIHANDLE connection, const ULONG interfaceNumber, ULONG *status)
 
MLPIRESULT mlpiEthercatGetNumConfiguredSlaves (const MLPIHANDLE connection, const ULONG interfaceNumber, ULONG *numSlaves)
 
MLPIRESULT mlpiEthercatGetNumConnectedSlaves (const MLPIHANDLE connection, const ULONG interfaceNumber, ULONG *numSlaves)
 
MLPIRESULT mlpiEthercatGetSlaveState (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, USHORT *currentState, USHORT *requestedState)
 
MLPIRESULT mlpiEthercatSetSlaveState (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const MlpiEthercatState slaveState)
 
MLPIRESULT mlpiEthercatGetSlaveStatus (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, ULONG *status)
 
MLPIRESULT mlpiEthercatGetSlaveOnlineInfo (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, MlpiEthercatSlaveOnlineInfo *slaveOnlineInfo)
 
MLPIRESULT mlpiEthercatGetSlaveConfigInfo (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, MlpiEthercatSlaveConfigInfo *slaveConfigInfo)
 
MLPIRESULT mlpiEthercatGetSlavePortState (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, USHORT *portState)
 
MLPIRESULT mlpiEthercatReadSlaveRegister (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT registerOffset, UCHAR *data, const ULONG dataSize, ULONG *dataSizeRet)
 
MLPIRESULT mlpiEthercatWriteSlaveRegister (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT registerOffset, UCHAR *data, const ULONG dataSize)
 
MLPIRESULT mlpiEthercatResetSlaveController (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address)
 
MLPIRESULT mlpiEthercatReadSlaveEeprom (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT eepromOffset, USHORT *data, const ULONG numElements, ULONG *numElementsRet)
 
MLPIRESULT mlpiEthercatWriteSlaveEeprom (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT eepromOffset, USHORT *data, const ULONG numElements)
 
MLPIRESULT mlpiEthercatReloadSlaveEeprom (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address)
 
MLPIRESULT mlpiEthercatAssignSlaveEeprom (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const BOOL8 slavePdiAccessEnable, const BOOL8 forceAssign)
 
MLPIRESULT mlpiEthercatCheckSlaveEeprom (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, BOOL8 *slavePdiAccessActive)
 
MLPIRESULT mlpiEthercatReadSlaveIdentification (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT ado, USHORT *value)
 
MLPIRESULT mlpiEthercatGetSlaveStatistics (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, MlpiEthercatSlaveStatistics *slaveStatistics)
 
MLPIRESULT mlpiEthercatResetSlaveStatistics (const MLPIHANDLE connection, const ULONG interfaceNumber)
 
MLPIRESULT mlpiEthercatSetSlaveStatisticsPeriod (const MLPIHANDLE connection, const ULONG interfaceNumber, const ULONG periodMs)
 
MLPIRESULT mlpiEthercatGetSlaveStatisticsPeriod (const MLPIHANDLE connection, const ULONG interfaceNumber, ULONG *periodMs)
 
MLPIRESULT mlpiEthercatCoeGetOdList (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const MlpiEthercatOdListType listType, USHORT *indicies, const ULONG numElements, ULONG *numElementsRet)
 
MLPIRESULT mlpiEthercatCoeGetObjectDescription (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT objectIndex, UCHAR *data, const ULONG dataSize, ULONG *dataSizeRet)
 
MLPIRESULT mlpiEthercatCoeGetEntryDescription (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT objectIndex, const UCHAR subIndex, const UCHAR valueInfo, UCHAR *data, const ULONG dataSize, ULONG *dataSizeRet)
 
MLPIRESULT mlpiEthercatCoeSdoUpload (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT objectIndex, const UCHAR subIndex, const ULONG flags, UCHAR *data, const ULONG dataSize, ULONG *dataSizeRet)
 
MLPIRESULT mlpiEthercatCoeSdoDownload (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const USHORT objectIndex, const UCHAR subIndex, const ULONG flags, UCHAR *data, const ULONG dataSize)
 
MLPIRESULT mlpiEthercatSoeRead (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const UCHAR driveNumber, MlpiEthercatSoeElementFlags *elementFlags, const USHORT idn, UCHAR *data, const ULONG dataSize, ULONG *dataSizeRet)
 
MLPIRESULT mlpiEthercatSoeWrite (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatAddressType addressType, const USHORT address, const UCHAR driveNumber, MlpiEthercatSoeElementFlags *elementFlags, const USHORT idn, UCHAR *data, const ULONG dataSize)
 
MLPIRESULT mlpiEthercatGetVendorInfo (const MLPIHANDLE connection, const ULONG vendorId, MlpiEthercatVendorInfo *vendorInfo)
 
MLPIRESULT mlpiEthercatGenerateEsi (const MLPIHANDLE connection, const WCHAR16 *eepromPathFileName, const WCHAR16 *esiPathFileName, const ULONG flags)
 
MLPIRESULT mlpiEthercatStartBusScan (const MLPIHANDLE connection, const ULONG interfaceNumber, const ULONG flags)
 
MLPIRESULT mlpiEthercatGetBusScanStatus (const MLPIHANDLE connection, const ULONG interfaceNumber, MLPIRESULT *status, ULONG *slaveCount)
 
MLPIRESULT mlpiEthercatGetBusScanSlaveInfo (const MLPIHANDLE connection, const ULONG interfaceNumber, const USHORT autoIncAddr, MlpiEthercatSlaveBusScanInfo *slaveBusScanInfo, const ULONG numElements, ULONG *numElementsRet)
 
MLPIRESULT mlpiEthercatGetProcessData (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatProcessDataType pdType, const ULONG offset, UCHAR *data, const ULONG dataSize, ULONG *dataSizeRet)
 
MLPIRESULT mlpiEthercatSetProcessData (const MLPIHANDLE connection, const ULONG interfaceNumber, const MlpiEthercatProcessDataType pdType, const ULONG offset, UCHAR *data, const ULONG dataSize)
 
MLPIRESULT mlpiEthercatGetProcessDataSize (const MLPIHANDLE connection, const ULONG interfaceNumber, ULONG *numOutputBytes, ULONG *numInputBytes)
 

Detailed Description

Author
DC-IA/EAO5 (ME)
Version
1.26.2
Date
2017

Definition in file mlpiEthercatLib.h.