Re: [etherlab-users] Can we access the slave by physical addressing from the master?

2016-04-15 Thread Richard Hacker
Hi Paul, The way to do this is to use aliases. Every slave can store an alias (which is a number) in EEPROM. To set the alias of a slave, use # ethercat alias -p10 100 This will set the alias of slave 10 to 100. The master can address a slave at an absolute position or relative to an aliassed

Re: [etherlab-users] Can we access the slave by physical addressing from the master?

2016-04-15 Thread Dr.-Ing. Wilhelm Hagemeister
Hi Paul, The "Secondary slave address" is used for this purpose. The slaves address is programmed with "ethercat alias". For usage in your application code see ecrt.h. Regards Wilhelm. Am 15.04.2016 um 15:38 schrieb Paul Mulligan: Hi, If I want to access a slave on the Ethercat bus, we use

[etherlab-users] Can we access the slave by physical addressing from the master?

2016-04-15 Thread Paul Mulligan
Hi, If I want to access a slave on the Ethercat bus, we use the position of the slave on the bus to access it with ecrt_master_slave_config(). If we then put a new slave on the bus before this slave for example, this means that the position number of the first slave will change and we need to re