infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

Dave

+ Reply to Thread
Results 1 to 1 of 1

Thread: EtherCAT - multiple profiles?

  1. #1
    Intermediate Intermediate David King is on a distinguished road
    Join Date
    Feb 2017
    Posts
    62
    Points
    800

    EtherCAT - multiple profiles?

    Hi,

    Does anyone know, with EtherCAT, whether there is such a concept, of different profiles ?

    In other words, allowing TwinCAT3 to chose different sets of data, to read and write ?

    The DAVE example project for EtherCAT, has the Slave Stack Code (SSC) issuing a single callback, to process_app(), within main.c.

    Within process_app(), one populates the outgoing data, and receives the incoming data.

    However, is it possible to have different callbacks, dependent on the EtherCAT Slave Interface (ESI) file, for example XMC_ESC.XML, as placed within the C:\TwinCAT\3.1\Config\Io\EtherCAT\ folder, and used by TwinCAT3 ?

    In other words, is it possible to have multiple ESI files, with different filenames, of course, within that folder ? And for the user to select which ESI file they wish to use ? I accept, of course, that a TwinCAT3 restart might be needed, in order to be able to make a different ESI file selection.

    If the above is not possible, can a different ESI file be manually placed into that folder, dependent on the data the user wants ? And for the XMC4 application to serve up to TwinCAT3, the data specified by that ESI file ?

    If the XMC4 application cannot know what ESI file is in use, and only a single process_app() callback is possible, that must always serve the same outgoing data, and consume the same incoming data, then is it still possible to have multiple ESI files, manually copied into the mentioned folder, and for those ESI files to include either all the data, or just a subset ?

    In other words, for ESI files to simply omit, some of the data ?

    If so, is there any performance advantage gained, in omitting ?

    In terms of EtherCAT comms performance, XMC4 performance, or PC performance, or some combination ?

    Or, would it just be a simple case, of ignoring ?

    Even just the latter, would be of interest to us, with our project.

    I was thinking to try various things, as above. But without knowing what is *supposed* to be possible, it could be difficult to draw conclusions..

    I tried a spell of googling the above, but without uncovering anything pertinent..

    Many thanks, in advance, if anyone can enlighten me, on any of the above.

    Best regards,

    David
    Last edited by David King; Apr 20th, 2017 at 12:36 AM.

+ Reply to Thread
Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.