I'd love to piggy back on this, since I have a similar journey.
I tried the MS300 driver in the current linuxcnc-ethercat/linuxcnc-ethercat package.
I initialized the VFD using a single ethercat-conf.xml line:
Code:
<slave idx="9" type="DeMS300" name="spindle"/>
This gets me a slave that is OP and all the pins the driver support within linuxcnc. I followed documentation to connect the pins within hal. Also in reference to:
github.com/steup-engineering/sbs625-cnc-dk-schlemper
. I have also tried the init commands but I have to admit: I don't understand how they work.
What I get puzzles me:
- I have sent S1000 followed by M3, this gives me 1000 rpm and 16.667 rps.
- VFD shows on front display 333.33: Given that it is a 4 pole spindle 33.33 would be correct, but it is an order of magnitude off.
- The VFD will not start. LCEC pins for the MS300 as exposed by the specific driver stat-volt-enabled, stat-switched. stat-op-enabled remain low even though *.enable is high.
I have set up the MS300 via USB interface beforehand and have validated that the spindle works. I would dare say that I trust the spindle related parameters to be correct.
ethercat pdos and ethercat slaves -v appear to be to be in good working order. PDOs shows the expected SMs and all registers one would need.
At this point I am lost.