<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Optional and station alias</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/69b87b325e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/69b87b325e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/69b87b325e/</id><updated>2020-02-27T18:46:11.991000Z</updated><subtitle>Recent posts to Optional and station alias</subtitle><entry><title>Optional and station alias</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/69b87b325e/?limit=25#3a7d" rel="alternate"/><published>2020-02-27T18:46:11.991000Z</published><updated>2020-02-27T18:46:11.991000Z</updated><author><name>Kim</name><uri>https://forge.codesys.com/u/kim/</uri></author><id>https://forge.codesys.com49b15d89553ea581f2dd7bc1acaefc82c417d90c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Experimenting some with this in RTE 3.5.7.10.&lt;/p&gt;
&lt;p&gt;I've gotten it to work but only using the "Write eeprom" feature to store a station alias.&lt;br/&gt;
However, to unlock its true potential I would like to be able to use the local id selector on my slave unit instead.&lt;/p&gt;
&lt;p&gt;Now, what I can't get around my head is how the Codesys EtherCAT_Master decides whether to use the local switches or the information stored in eeprom.&lt;br/&gt;
Right now Codesys only seem to use the station alias from the eeprom information.&lt;/p&gt;
&lt;p&gt;The manufacturer of our servo drive states they follow the "ETG.1020 EtherCAT Protocol Enhancements" to how this has been implemented in the drive.&lt;/p&gt;
&lt;p&gt;Edited below:&lt;br/&gt;
Just checked the ETG.1020 and it states that a complex slave with both microcontroller and local id selector can be asked by the master to reveal its local id using a handshake routine in the AL registers.&lt;br/&gt;
Master is supposed to request id by setting 0x0120.5, slave loads id into 0x0134 and sets 0x0130.5 when done.&lt;/p&gt;
&lt;p&gt;Is the Codesys master supporting this or is it restricted to using the id found at 0x0012 which is loaded from the EEPROM?&lt;/p&gt;
&lt;p&gt;Long question made short:&lt;br/&gt;
Is the Codesys EtherCAT Master supporting local id selectors or not?&lt;/p&gt;
&lt;p&gt;Can you shed some light on this topic?&lt;br/&gt;
Thank you!&lt;/p&gt;
&lt;p&gt;Kim Hansen&lt;br/&gt;
Beijer Electronics Automation AB&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>