MS300 EtherCAT not going into OP state with CMM-02 (rev 131328)

More
2 years 4 months ago #302741 by zmrdko
So can you control the VFD now completely over EtherCAT?
Because my point of view is, that dems300 component is missing hal pin for running the spindle.

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #303148 by GuiHue
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.
The following user(s) said Thank You: zmrdko

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #303162 by GuiHue
Having spent some time this morning looking at the ms300 driver within linuxcnc-ethercat/linuxcnc-ethercat and also while reviewing documentation.

Looking a my screenshot from last night, I realize, that the drive does not pass into Ready to Switch on State. That however appears to be less of an EtherCAT Issue than a drive isseu, right?

Any ideas?
The following user(s) said Thank You: zmrdko

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #304247 by byunchov
Hello!
I'd also like to enter the discussion on getting MS300's CMM-02 module from PROP to OP. I did a bit of digging through the forum and tried a bunch of steps that seem to lead nowhere. I tried the steps in  silden's post  - no result. Tried a bunch of different initCmds - same dead end.
I tried to use EC Configurator but wasn't able to get it running as it asked me for registration key.
I have updated my EC master from the new repositories. When I run dmesg I see the skipped datagram and a bunch of errors regarding the PDO mapping of the original SII image. The hardware revision of the board is v2.01 ( at least that's what the sticker says).
I'd really appreciate any advice. If there is need to post any files, please let me know.

Best regards!

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #304320 by byunchov
Hello,
I'd like to say that I've managed to figure what the problem was. The devil is really hidden in the details. The product ID in the DeMS300 was set to the older CMM-EC01 module. I figured it while I was tinkering with the generic Cia402 slave. I just changed the PID in the lcec_ms300.h and recompiled the LCEC. No initCmds were needed.

Best regards!
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.258 seconds
Powered by Kunena Forum