SNCM_ETC_Slave.SetReferences (METH)ΒΆ

METHOD SetReferences : SNCM_ECATSLAVE_ITF.ERROR

Method to set the references of an EtherCAT slave from a device configuration like slave address, master index, vendor ID
  • returns ERR_OK if all of the EtherCAT slave parameters could be set

  • returns ERR_FAILED if the slave could not be configured for e.g. due to an invalid config connector

  • returns ERR_NOIDENTITY in case of a missing slave identity param in the configuration connector - returns ERR_NOSLAVE if the slave could not be configured - returns ERR_NOVENDORID if the vendor ID could not be configured - returns ERR_NOMASTERIDX if the master index could not be configured - returns ERR_NOTINOPSTATE if the slave is not in operate state which is necessary for reading configuration parameter

InOut:

Scope

Name

Type

Comment

Input

pConnector

__XWORD

pointer to the configuration connector in the device tree

Return

SetReferences

SNCM_ECATSLAVE_ITF.ERROR