API | ITcEtherCATSlave Parameter Return value Error codes E_POINTER : pIecDeclaration is NULL . ADS_E_NOTFOUND : The library for bstrLibraryId was not found. E_NOINTERFACE : No object is available with the ITcLibraryManager2 . 5.40 ITcEtherCATSlave | ITcEtherCATSlave ITcEtherCATSlave is a pure COM interface ( IUnknown -based) for EtherCAT slaves. It provides the slave identification (vendor, product, revision, and serial numbers) and allows a single CoE variable to be resolved. Chain of inheritance ITcEtherCATSlave Interface versions 5.40.1 ITcEtherCATSlave | ITcEtherCATSlave Pure COM interface ( IUnknown -based) for EtherCAT slaves.
Provides the slave identification (vendor, product, revision, and serial numbers) and allows a single CoE variable to be resolved. Properties TE1000 150 Version: 1.7.0 Name Type Description bstrLibraryId BSTR [in] Unique library ID of the library to be resolved. bTryToLoad VARIANT BOOL _ [in, defaultvalue(-1)] Controls whether loading is attempted during lookup (VARIANT TRUE enabled). _ bUseNamespaceFor Members VARIANT BOOL _ [in, defaultvalue(-1)] Controls whether members are output with a namespace in the declaration. Name Type Description pIecDeclaration BSTR* [out, retval] IEC declaration of the library as a string. (HRESULT) HRESULT S OK if successful, otherwise an error code.
_ Version Newly introduced Index ITcEtherCATSlave Slave identification (vendor, product, revision, serial number) and CoE variable lookup. ITcEtherCATSlave Property Type get/set Description VendorId ULONG* get EtherCAT vendor ID of the slave. ProductCode ULONG* get Product code of the slave. RevisionNumber ULONG* get Revision number of the slave. SerialNumber ULONG* get Serial number of the slave.