Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Hilscher firmwares usually take .NXD (Hilscher database) files for configuration, which are automatically downloaed during driver startup.

EtherCAT Slave Master firmwares make an exception here and are able to use Beckhoff's XML configuration file, which must be named ethercat.xml.

These XML files are not downloaded per default, so either the configuration must be manually done by the application using xChannelDownload() command and execute a CHANNEL_INIT afterwards,
or patch the driver source by adding another file type being downloaded (see following excerpt):

BeforeAfter
Code Block
languagecpp
titleUSER_LINUX.c
uint32_t USER_GetConfigurationFileCount(...)
{
...
  if(0 == strncasecmp(szExt, HIL_FILE_EXTENSION_DATABASE, 4))
...
}

int USER_GetConfigurationFile(...)
{
...
  if(0 == strncasecmp(szExt, HIL_FILE_EXTENSION_DATABASE, 4))
...
}
Code Block
languagecpp
titleUSER_LINUX.c
uint32_t USER_GetConfigurationFileCount(...)
{
...
  if( (0 == strncasecmp(szExt, HIL_FILE_EXTENSION_DATABASE, 4)) ||
      (0 == strncasecmp(szExt, ".xml", 4)) )
...
}

int USER_GetConfigurationFile(...)
{
...
  if( (0 == strncasecmp(szExt, HIL_FILE_EXTENSION_DATABASE, 4)) ||
      (0 == strncasecmp(szExt, ".xml", 4)) )
...
}
Panel
bgColor#ffffff
titleGeneral

 

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
labelsNXDRV_LINUX_FAQ_GENERAL

Panel
bgColor#ffffff
titleInstallation

 

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
labelsNXDRV_LINUX_FAQ_INSTALL

Panel
bgColor#ffffff
titleConfiguration

 

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
labelsNXDRV_LINUX_FAQ_CONFIG

Panel
bgColor#ffffff
titleApplication

 

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
labelsNXDRV_LINUX_FAQ_APP

Panel
bgColor#ffffff
titlenetX based Virtual Ethernet Interface

 

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
labelsNXDRV_LINUX_FAQ_VIRTETH