Hello Guest it is October 19, 2019, 09:00:56 AM

Author Topic: Spindle runs in Parallel mode OK but not in ESS ?  (Read 11539 times)

0 Members and 1 Guest are viewing this topic.

Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #30 on: March 28, 2013, 05:09:48 AM »
Thats correct, settings in Mach are ignored. I am wodering why I do not see that you have them set in the xml, could be just I have an older plugin but I still think thats unlikely.
Do they stick for you? ie if you set them and restart Mach then go back into the plugin config are they still set?
Hood

Yes, they are still set in the plugin

Regards
Rob

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #31 on: March 28, 2013, 05:56:01 AM »
Ah ok I misunderstood, can you attach your xml again and I ill see what it looks like this time.
Hood
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #32 on: March 28, 2013, 06:28:25 AM »
OK, here it is again, Ihave had to rename it as the Forum says there a file of the same name currently exists and wouldn`t let me upload ??

Regards
Rob
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #33 on: March 28, 2013, 12:39:47 PM »
Hi Hood

Sorry for the delay, got a bit busy  ;D

See image attached of the ESS Plugin Config Dialog, as you can see the settings are "stuck"  ;D

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #34 on: March 28, 2013, 02:49:00 PM »
Been a bit busy today but did get a chance to load it on the lathe that has the ESS on it and indeed the spindle options were set so looks like they only load if an ESS is present rather than just chosen when starting.
 What are you using to control the spindle? I presume your drive is analogue input so you will be using a controller that converts step signals to a voltage. Reason I ask is the numbers in motor tuning seem a bit strange but that is most likely just because of the way the  controller needs set up.

Hood
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #35 on: March 28, 2013, 03:48:02 PM »
Been a bit busy today but did get a chance to load it on the lathe that has the ESS on it and indeed the spindle options were set so looks like they only load if an ESS is present rather than just chosen when starting.
 What are you using to control the spindle? I presume your drive is analogue input so you will be using a controller that converts step signals to a voltage. Reason I ask is the numbers in motor tuning seem a bit strange but that is most likely just because of the way the  controller needs set up.

Hood

Spindle drive is Analog 0~10Volt input which is derived from a step/direction to Analog converter from CNC Doctor :-

http://www.cncdoctor.co.uk/b1-vsc-v1_64.html

The board works fine and many different spindle option settings will have the board outputting correctly, the numbers in the XML I posted are just what I was asked to try by Greg, they didn`t make any difference to what I already had, if you have any other numbers to try I will give them a shot  ;D

The machine is set for 4000rpm Max on the Pulleys in Mach, inputting 2000rpm via G code, MDI or simply typing it into the speed dialog in Mach will produce 5 Volts from the board, similarly 3000rpm input will produce 7.5 Volts, any speed input does produce the correct voltage at the output of the converter, the DC Drive unit has been fine tuned to give the correct actual rpm at the spindle relative to the 0~10 Volts input to the drive.

It all works fine except for the dropping out into "E Stop Condition" above 2200rpm ;D  ;D

Regards
Rob

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #36 on: March 28, 2013, 04:14:11 PM »
Ok if the spindle speed is as requested then thats fine. I always did things a different way to the way Greg said but I think the end results were the same. Talking about this has jogged my memory ::)
Step/Dir spindle control from the SS and ESS has never been perfect and Greg always said he would have a look but sadly never did as obviously there were other things that affected more people that he worked on instead. Anyway what that brought to mind was I had similar issues in some plugins and went back to 10a plugin. What would happen is the spindle would be running fine but if there was a heavy load on it all of a sudden it would E-Stop, so kind of sounds like it may be a similar thing to your problem. Maybe try the 10a plugin and see if it helps.
Hood
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #37 on: March 28, 2013, 04:47:43 PM »
Ok if the spindle speed is as requested then thats fine. I always did things a different way to the way Greg said but I think the end results were the same. Talking about this has jogged my memory ::)
Step/Dir spindle control from the SS and ESS has never been perfect and Greg always said he would have a look but sadly never did as obviously there were other things that affected more people that he worked on instead. Anyway what that brought to mind was I had similar issues in some plugins and went back to 10a plugin. What would happen is the spindle would be running fine but if there was a heavy load on it all of a sudden it would E-Stop, so kind of sounds like it may be a similar thing to your problem. Maybe try the 10a plugin and see if it helps.
Hood

Hi Hood

Hmmm, what you say would make sense of what is happening, and FYI I did try the 10a plugin and that didn`t help, there are a couple more plugins between the 10a and the one I am using, maybe I`ll try those as well   ;D

Based on your thoughts it may be that the higher the spindle runs the more it would sort of emulate a higher load, I`ve only been cutting light on Aluminium castings with small 3mm end mills so very low loads being generated  ;D

If it can`t be fixed then I`ll have to look at using a different motion card for the Mill, I have a small Lathe that would be fine at those rpms so the ESS might be OK for that if I were to look at doing a Mach3 conversion on it, I do have a Galil motion card and I/O unit that I bought for a different project so may go along that road when I have done the current workload  ;D  ;D

All very interesting stuff for sure, steep learining curve though  ;D ;D ;D

You got any reccommendations for motion cards ? ? ?

Regards
Rob

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #38 on: March 28, 2013, 05:12:14 PM »
Well its maybe not the same issue, especially if 10A still has it happen but who knows. I also get the pulses stop every now and then just for an instant, that has been going on for a long time and is also present with the USB SS and the other issue is if using spindle override and its sitting steady at a speed all of a sudden I will hear a loud clunk and then it will be ok, again what that is, is the pulses being dropped for a split second.

I have used the CSMIO/IP-S and the CSMIO/IP-A on the last two retrofits I have done and I am really liking them, especially the A, it is however analogue only so unless your axes have analogue capable servo drives then its not an option but the S or even the smaller brother the M both output Step/dir signals.

Wouldnt give up on the ESS yet though, might be worth waiting  to see if Greg can come up with anything
Hood
Re: Spindle runs in Parallel mode OK but not in ESS ?
« Reply #39 on: March 29, 2013, 03:36:05 AM »
Well its maybe not the same issue, especially if 10A still has it happen but who knows. I also get the pulses stop every now and then just for an instant, that has been going on for a long time and is also present with the USB SS and the other issue is if using spindle override and its sitting steady at a speed all of a sudden I will hear a loud clunk and then it will be ok, again what that is, is the pulses being dropped for a split second.

I have used the CSMIO/IP-S and the CSMIO/IP-A on the last two retrofits I have done and I am really liking them, especially the A, it is however analogue only so unless your axes have analogue capable servo drives then its not an option but the S or even the smaller brother the M both output Step/dir signals.

Wouldnt give up on the ESS yet though, might be worth waiting  to see if Greg can come up with anything
Hood

Hi Hood

Not about to give up on the ESS by a long way  ;D ,  I do like the card and apart from this spindle issue and not seeing any tool info when running a program (Probably another setting I haven`t done) it runs well and was initially quite easy to set up  ;D

Looked at the units you mentioned and they look OK, the small "M" one does appear to be the handiest for the small stepper motor driven machines I have, might try one sometime if/when finances permit, thanks for the info.

Regards
Rob