Hello Guest it is March 28, 2024, 05:05:30 PM

Author Topic: Mach3 and latest ESS Driver - threading now works!  (Read 9219 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #30 on: August 10, 2019, 10:07:47 PM »
Hi Roger there are several M1076 macros floating around. It was modified several times officially and many times unofficially.

I asked Art one time IF mach3 could do encoder threading and teh answer was SURE it is possible but he was not going to put teh time into it for teh few people that were using it for turn.

Yes teh old dos based controllers could do rigid tapping and threading they had a real time kernal (;-) Many Comercial controllers used DOS a lot longer that most people realize. Why do you think they drip feed them ?? Limited DOS memory.

OHHHHHH  the old days, (;-) TP

(;-) TP

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #31 on: August 10, 2019, 11:03:24 PM »
Hi TP

Yeah I know. My CNC originally had a DOS controller - I think it was at lest two large S100 PCBs (or something like that). There was a slight maintenance problem with them though (like who?), not to mention difficulties in buying new DOS machines.

I remember all right - I started programming about 1969, and hacking processors in the TTL days.

Fwiiw, I believe one can still buy suitable motherboards as so many industrial systems still use them, with a couple of serial ports and a couple of LPT ports too! But being a specialised market, the prices are going up, and the graphics ... are terrible. On the other hand, you could put a real time OS on them.

Cheers
Roger

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #32 on: August 11, 2019, 08:49:14 AM »
not really happy with the m1076.m1s program version I have: 9/Apr/2015.

The one I use is way early that that one and have no problems with it.

I use G32 output for threading. That allows me to backplot thread passes should there
be a need to look into a possible problem, and  frankly never seemed, to be the Gcode.
Have the ability to mount a microsope on the carriage to monitor actual chip formation / cutting
of the material. Why you may see that a particlular thread pass is not removing the proper
amount of material could be due to a number of reasons. It is a complex process
greatly influenced by lot factors.

As far a updating the write up...............
Threading ( internal to Mach3 ), after it was fixed,  has not changed to my knowledge.
One can check the Mach3 revison history and will find nothing officaly recorded since 4/3/2012.
The last write update was 2/3/2012 - Rev 3 and have no intent on updating it.
A book can be written to cover just threading so one must start and stop somewhere.

As you noted external motion controllers like the ESS have improved, and it took "years" to have
lathe stuff addressed, thus I will leave it to them to anounce and explain the advances. That goes for
lathe CAM programs  also. Lathe has been and probably will remain an orphan child!

Maybe we should refer to this thread in  Member's Doc's and let the thread discusion be a source
of information. Going off topic can serve a purpose in a thread sometimes.

RICH
« Last Edit: August 11, 2019, 08:51:13 AM by RICH »

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #33 on: August 11, 2019, 05:34:00 PM »
Hi Rich

Lathe has been and probably will remain an orphan child!
It shouldn't be that. I use it and rely on it a fair bit. With the new threading capability, it is an excellent tool.

Maybe we should refer to this thread in  Member's Doc's
Good point.
I am not suggesting any changes to the general discussion of threading which you wrote. It is in fact way more detailed than I need. And probably more demanding than many small lathes can handle, as you note.

What I am suggesting is an addition to cover the ESS and the 'gearing' it now has for Mach3. Perhaps it should be a separate document instead? Member's Docs indeed.

Cheers
Roger

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #34 on: August 14, 2019, 05:05:22 PM »
Roger,
Current thoughts are to do an Appendix to the Threading on the Lathe Manual.
Getting some thoughts together on just what it should include.
 
RICH

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #35 on: August 14, 2019, 05:35:44 PM »
Hi Rich

I would be delighted to help.
I have been an Editor for 20+ years - another skill.

Cheers
Roger

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #36 on: August 15, 2019, 06:22:53 AM »
Roger,
Appreciate the offer and will take you up on it. Maybe Greg can also join in on the effort.
The intent of the update will be to cover a 9 year span of time in a way that is strictly focused on lathe threading using
Mach3 and 4  as the software along with currently available external controllers and breakout boards and other
related threading aids so that a Mach  user has additional basics.

Hopefully the above statement reduces required effort to get it done, and will say, that  the appendix will not be a
book nor a replacement for lack of  vendor information on use of their product.

RICH

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #37 on: August 15, 2019, 07:18:51 AM »
> so that a Mach  user has additional basics
That seems about right to me.
Rope in Greg, and Andy as well if possible.

Cheers
Roger

Offline Katoh

*
  •  287 287
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #38 on: May 01, 2020, 10:55:11 AM »
Hi Friends
I am a long time sufferer of the non threading lathe controlled by the ESS, I just came across this tonight and am interested if this actually works?
For those that do not know my set-up I’m Have a modified lathe running steppers in x and z driving the cross slide ect with ballscrews. the big difference is the spindle is driven by a 2.2kw AC servo with a geared belt 1/.75 reduction to spindle.
Controlled by ESS through a Homman Bob everything works as it should and very well except for threading!!!!!!
I don’t know what it is but I just get multiple start points, first 10 passes could be spot on then it could  turn to @%$^.
Just reading this thread tonight quickly might give a little hope, I have looked at the Warp9 site and there doesn’t seem to be much discussion there, or documentation, I’m using the version from when Andy said threading has been fixed for mach3 users!
What do I need to do to make this work?
Cheers
Katoh
Cheers
Katoh

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Mach3 and latest ESS Driver - threading now works!
« Reply #39 on: May 01, 2020, 05:55:27 PM »
Yes, it DOES work.
I have a 512 line encoder on the lathe. At first I thought to use all 512 lines for the feedback, but this was not good. It turns out there was too much noise on the individual pulses, due to the small number of clock pulses between each line.  So Andy told me to use 16 lines for the pre-scaler and 32 'lines' for the feedback, or vice versa. That removed most of the noise from between pulses by averaging over a longer period, but 32 updates per rev was so much better than just 1 update, and threading now works very well.

The PID control does not work and you should not bother with it. Mach3 just does not have the bandwidth to do it properly.

Cheers
Roger