Hello Guest it is April 25, 2024, 04:32:28 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - terryset

Pages: 1
1
General Mach Discussion / Re: mach 3 spindle rpm display
« on: October 22, 2013, 07:16:10 AM »
thanks to all; I tried an old version and backlash was broken there. It seemed to me that rpm was likely to work, and fairly important.  But I do have the hardware DRO unit; I guess I'll go with that. 

2
General Mach Discussion / Re: mach 3 spindle rpm display
« on: October 21, 2013, 02:15:13 PM »
thanks, I could maybe use tape to make one larger; any idea where to get older (than 2013 on the ftp site) versions of Mach?

3
General Mach Discussion / Re: mach 3 spindle rpm display
« on: October 21, 2013, 11:47:21 AM »
24000?  air spindle? Sherline spindle is 2800 or 1400 rpm max.... It looks like my best bet is to try older versions of Mach....

4
General Mach Discussion / Re: mach 3 spindle rpm display
« on: October 20, 2013, 03:00:04 PM »
ok, thanks, I have multi sector, fairly small wheel(Sherline) using parallel port. I also have masked the wheel so that it has only one sector. It seems that it should work at low rpm, no?  What do you think about raising the pulse engine rate from 25,000? I have a desktop 3GHz Pentium with 2Ghz of ram.

The rpm signal is only about .1 kilohertz or so; should be a piece of cake for Windows and Mach, I would think.

Since I do see the index line flipping on the diagnostic screen when moving the spindle by hand, it would seem that something in wrong in Mach or my Mach config...Any idea what the debounce should be?  My debounce parameter asks for a number, which the gui shows to be multiplied times 40 microseconds.  I am thinking 2-4ms debounce times should be about right. There is signal cleanup hardware in the Homann speed control, I think. 

Mach does know the spindle is on; Mach is controlling the Homann PWM spindle controller very well.

You may be on the right track, the rpm does work up to about 10 rpm. Mach is only doing the PWM spindle speed at this point, axes are not moving, no G code program running.

5
General Mach Discussion / Re: mach 3 spindle rpm display
« on: October 20, 2013, 12:30:29 PM »
thanks, I'm not sure, but it appears that only setting the index input pin is required for proper rpm display; however, that is not working on my install/config. If I want the multi-sector sensor for the hardware Wettroth DRO, looks like I would need two sensors and two sensor disk patterns, also.

TerryS

6
General Mach Discussion / Re: mach 3 spindle rpm display
« on: October 20, 2013, 09:42:49 AM »

ok, program files is not in the path; also, the icon .exe doesn't point at an xml file of the same base name(I thought it did) therefore my current xml file is this one:

Hard for me to read, many fields are effectively misnamed by the code? Hopefully one does not have to resort to editing the xml files.....but, maybe that's the way, start with sherline_mill_inch, configure with the gui, then edit xml to achieve PWM spindle speed control and spindle index rpm display? Or else what to do(only) in the gui to get PWM and rpm display?

TerryS

7
General Mach Discussion / Re: mach 3 spindle rpm display
« on: October 19, 2013, 10:29:10 PM »
Hmm - I start mach with the desktop icon named tasmill.  So I assume this is the correct xml file, at ...Program_Files\Mach.
I have enabled a port/pin for index.  I have gone through the spindle setup page.  The original xml was sherline_mill_inch, I believe. Sherline_mill_inch does look different, tasmill seems to be formatted poorly, not sure why.

Maybe I need to start over with sherline_mill_inch, try adding spindle outputs and inputs again? Lots of reconfiguration/repetition/tries may have hosed the xml file?

Terrys

8
General Mach Discussion / Re: mach 3 spindle rpm display
« on: October 19, 2013, 06:50:02 PM »
thanks, yes on M3, index debounce has been set at 100, 75, 50, 25...

xml attached; newbie so it might be something you wouldn't normally expect.

TerryS

9
General Mach Discussion / mach 3 spindle rpm display
« on: October 19, 2013, 03:43:05 PM »
Hello all - I have Demo R3.043.066, Sherline mill setup, Sherline/Wettroth DRO and six-sector sensor, Homann DC-04 speed control (pulse width modulation) and spindle rpm sensor interface, CNC4PC breakout boards, Win7.

Power to the hardware DRO spindle sensor is from the Homann boards.

Spindle rpm sensor wiggles the input in mach with manual motion. After trying index and "multi" inputs, many ways, I cannot get any rpm display in Mach.  Varied the debounce, active high/low, pullup/pulldown resistors, everything I could think of. I tried masking the multi sector spindle disk to one sector.

I don't see how Mach knows if the index is single or multi per revolution.

I'm a newbie, probably it is me.

TerryS

Pages: 1