Hi, On Thu, Oct 16, 2008 at 08:41:01AM +0200, Michael Mangeng (V8tech) wrote: > The question is whether the EtherCAT-Master is using the Station-Alias > Field internally to e.g. recognize slaves or anything else. If it does > not use it, i will use it in my software. > > Problem is the following: > E.g. Running ethercat-bus as building control bus with 10 slaves. > Now someone disconnects slave ID=3. Slave 4 is now 3, Slave 5 is now 4 > and so on. The building has to remain fully functionally (except of the > disconnected slave of course). > > I want to write a unique identifier into the station alias field of > every registered slave so its not important at which position the slave is. > > => If the ethercat-master overrwrites the station alias field without my > knowledge, i have to find another solution.
you can use the alias file exactly in the way you describe. Have a look at 'ethercat alias --help' and the documentation of the ecrt_master_slave_config() method. -- Best regards, Florian Pose http://etherlab.org _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
