Hello Guest it is November 30, 2020, 09:10:39 AM

Author Topic: RPM not under 38  (Read 6006 times)

0 Members and 1 Guest are viewing this topic.

Offline jaja

*
  •  68 68
    • View Profile
RPM not under 38
« on: August 22, 2010, 02:44:11 PM »
Situation: disk with one reflecting part and an opto sensor.
It gives a nice stable RPM DRO.
But when I let the machine rotate under 38 RPM, the S-true DRO shows wrong numbers in a random way (like 1546 rpm).

Does someone know how to solve this problem and make it possible to measure under 38 rpm????

gr jaja

Offline RICH

*
  • *
  •  7,415 7,415
    • View Profile
Re: RPM not under 38
« Reply #1 on: August 22, 2010, 04:02:15 PM »
jaja,
That was fixed in version 3.042.032, .033 or so. You are required to turn the spindle on with a M3/4 and that also tells Mach to start looking for
the index so low rpm's would show. Did you try a different / lower Index Debounce setting?

RICH

Offline jaja

*
  •  68 68
    • View Profile
Re: RPM not under 38
« Reply #2 on: August 22, 2010, 04:32:04 PM »
Rich,
Thanks for your fast reply.
Just went to the lathe and tried your ideas.
Changing the width of the reflecting surface and changing the debounce interval and index debounce did not make any difference.
The lowest S-TRUE I can get is 37. Lower is not possible.
What more could I try???

gr jaja

Offline RICH

*
  • *
  •  7,415 7,415
    • View Profile
Re: RPM not under 38
« Reply #3 on: August 22, 2010, 06:05:31 PM »
You may try unchecking spindle speed averaging  and see what happens. I always have that on and may not make any difference
anyway if not threading. I just tried turning the spindle by hand and my DRO was reading  down to 3 rpm ( kind of hard to get constant turning by hand).

My index debounce is set at 10, can go lower but works fine there for me.
Don't know what else to suggest.

RICH

Offline jaja

*
  •  68 68
    • View Profile
Re: RPM not under 38
« Reply #4 on: August 23, 2010, 05:28:28 PM »
Rich,
I tried all you suggestions but no results.
Changed the kernel from 100kHz to 25000Hz,,, no result.
The input signal from the optosensor is nice and straight, so it seems to me that it is something in mach that's working not good.
Still the lowest RPM i get is 37. Higher is no problem at all.
If I go lower Ill get much higher numbers, who are by the way stable.
So it changes from 37 to something like182 or something like that.
I'm running out of ideas, do you have some left?

gr jaja

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: RPM not under 38
« Reply #5 on: August 23, 2010, 05:44:39 PM »
As a test to see if Mach is screwing things up go to Ports and Pins, Inputs and choose to emulate the spindle and then choose a keyboard key, maybe 5 as I dont think that will be used for anything else.
You will need to disable your spindle drive if you can then press the spindle button in Mach. Next press the 5 key (or whatever you used) once every 10 seconds, the RPM should read 6.

Hood

Offline RICH

*
  • *
  •  7,415 7,415
    • View Profile
Re: RPM not under 38
« Reply #6 on: August 23, 2010, 05:52:27 PM »
Not realy jaja.

Maybe somone else will chime in here.

RICH

Offline jaja

*
  •  68 68
    • View Profile
Re: RPM not under 38
« Reply #7 on: August 23, 2010, 05:54:32 PM »
Hood,
I'll get the idea, but in ports and pins, input signals,, which signal stands for the spindle? Do you mean the "index"?
gr jaja

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: RPM not under 38
« Reply #8 on: August 23, 2010, 05:57:21 PM »
Yes sorry, emulate the Index.
Hood

Offline jaja

*
  •  68 68
    • View Profile
Re: RPM not under 38
« Reply #9 on: August 29, 2010, 03:01:11 PM »
Hallo Hood,
First I tried you idea and emulated the index input. But no result.
Later, with some help, I found out that the "spindle pulley configuration" probably messed things up. Changed some things, and now for the first time, mach tries to match the S- true with the demanded speed. Great, never got this far!
The minimum measured RPM is now under 38 RPM. Was this also caused by the pulley settings?

There are still a lot of things that must be configured.
Right now I'm trying to figure out how the P I D is optimised.
And how must the spindle pulley's be configured in the best way. Pulley number four is the standard pulley?? And what are the numbers that must be entered there? The minimum and maximum spindle speed?
Are the ratio's of the other pulley's to be measured very exactly, or is it not stringent?
Thanks for your help, without it I would never got this far
gr jaja