I noticed that node-soem could not correctly populate the slaves[0].name field via getSlaves (as well as configaddr, etc.). It seems that your call to getSlaves was referencing ec_slave[i] from 0 to ec_slavecount-1, I have changed this to go from 1 to ec_slavecount and put each slave in slaves[i-1]. I have not tested this on multiple slaves but it works fine for a single slave. I will test on multiple slaves when my next slave device arrives.
I noticed that node-soem could not correctly populate the slaves[0].name field via getSlaves (as well as configaddr, etc.). It seems that your call to getSlaves was referencing ec_slave[i] from 0 to ec_slavecount-1, I have changed this to go from 1 to ec_slavecount and put each slave in slaves[i-1]. I have not tested this on multiple slaves but it works fine for a single slave. I will test on multiple slaves when my next slave device arrives.