Hello Guest it is April 16, 2024, 04:30:08 AM

Author Topic: Index pulse in Lathe  (Read 13037 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Index pulse in Lathe
« Reply #20 on: April 20, 2011, 05:22:00 PM »
It was basically the way Art was calculating things and I think spindles speeding up slighly threw things, most common with VFD controlled spindles. The latest driver can now account for spindle speed up, think 125%, so that should be more than adequate for most.

The problem has always been when a few reported threading issues Art would work with them and a fix would be found, problem was because of the small user base it was not widely tested so it was thought it was cured but in reality it had just been tuned to the testers machines.


Hood
Re: Index pulse in Lathe
« Reply #21 on: April 20, 2011, 05:52:47 PM »
Rich,

Attached  XML.

Jorge

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Index pulse in Lathe
« Reply #22 on: April 20, 2011, 05:57:28 PM »
Hood,
Ok good to know since i haven't been following the Yahoo group and didn't notice anything here. Back when ever, you needed to set the speed manualy even if you had a VFD.
Thanks,
RICH

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Index pulse in Lathe
« Reply #23 on: April 20, 2011, 06:31:47 PM »
Jorge,
First can you set the spindle speed manualy?
Tick the box for Spindle Speed Averaging.
You never replied back telling me what kind of index you had. Is it a single pulse per rev or multi? You only want to have a single index.
How close is the PPS during the driver test to the selected khz setting?

Mach looks at the pulse and determines the true RPM, the more stable the better. Lets assume that it is exactly the same for now.
If the DRO is fluctuating  by say  one rpm or so that should be ok.
So if the rpm is stable and the same, then when the index is sensed, the G95 mode is allowed / the G32 coded line is implmented . Mach provides for a Z axis move such that the controlled cutter point will hit the same exact start point of the thread. That is true for your posted code as you have the Z sitting at the same location waiting for the index and doing the same move.

So do another scribe test with the rpm set manualy and see what happens.
RICH


RICH


 
Re: Index pulse in Lathe
« Reply #24 on: April 20, 2011, 07:27:58 PM »
Hi Rich,

I think I can set the spindle speed manually.  By this I guess you mean directly from the VFD without commanding it from Mach.  I will try that.

Ticked Spindle Speed Averaging, same behaviour.

Ticked Spindle speed feedback.  Spindle variation less than 2 RPM, but no improvement in threading.

I have single pulse.  It is the index pulse from a heindenhain encoder, that goes through a break out board (otherwise it would be too fast for mach).

Attached PPS test result

Installed latest Dev version and behaves the same.

Clue:  Tried a 10 sec delay (G4) before each G32 and the offset between threads diminshed.  >:(

Will try manual control of the spindle and see what happens.

Jorge
Re: Index pulse in Lathe
« Reply #25 on: April 20, 2011, 08:59:38 PM »
Sorry, I got the wrong driver test photo in my last post.

BTW I am using Windows 7

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Index pulse in Lathe
« Reply #26 on: April 20, 2011, 10:11:15 PM »
Quote
Tried a 10 sec delay (G4) before each G32 and the offset between threads diminshed.


Hmm ........ that would be similar to using a high index debounce ( how manny times the index signal must be seen before accepted ) in configuration.
Some work with a setting of 0, I use 10, and think yours was set at 100.

By manualy setting the rpm ......and should the scribing turn out good.... then you eliminate the index as a possibility and the problem lies in control / reading of the VFD rpm. By scribing you are eliminating any cutting forces which could alter the rpm. Just trying to pinpoint the problem.

BTW, XP Pro here.....see no reason for W7........guess i am getting old and cheap!  ;)
RICH
Re: Index pulse in Lathe
« Reply #27 on: April 23, 2011, 04:14:07 PM »
Instead of the encoder tried a slotted disk with a hall effect sensor.  Problem got solved at least to the naked eye.  Problem could have been related to the signal stretching circuitry of the BB board or to the encoder itself, or any other unknown cause, not sure.

Tried V42.033 and worked fine.  Then installed V43.022 (latest lockdown) and unusual jerking in the Z axis started (just in threading movement). Installed back V42.033 and jerking continued.  Installed latest dev. version and all went back to normal.  Cannot explain what happened...........

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Index pulse in Lathe
« Reply #28 on: April 23, 2011, 08:05:09 PM »
Re: Index pulse in Lathe
« Reply #29 on: August 22, 2011, 02:40:13 AM »
Hi, can Mach3 make threading conical? If i define G76 Xend Zend conical could make this but i now no have implemented my turn and can`t probe this.

regard
Renato