Hello Guest it is December 16, 2019, 03:45:40 AM

Author Topic: Free G76 Macro Helping program for Mach3 Turn  (Read 27916 times)

0 Members and 1 Guest are viewing this topic.

Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #10 on: January 04, 2016, 08:25:48 AM »
Be nice if it was also for imperial units. Some just don't use Metric.

RICH

other than that, what do you think of it Rich ?

Going to Lebanon ?

Russ
Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #11 on: January 04, 2016, 08:52:10 AM »
The diameter and pitch input is accordingly to the Thread in Millimeters or Inch. Do you mean the Input for the Length and the Output for the diameters and tolerances? That is doable, because it's just everything divided  /25.4 and shown in a format "0.####"  But to avoid confusion, I'd put the selection on the settings page because then the output would be accordingly. It would be also better to put a "G20" or "G21" in the GCode output to make it destinguable.

Offline RICH

*
  • *
  •  7,382 7,382
    • View Profile
Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #12 on: January 04, 2016, 06:20:06 PM »
Russ,
I didn't test it, and looks like a winner.
If Stephan adds the metric or imperial into the settings page  that would be great.
I would want any input and output to be in imperial units if that is was I set the program to.
I did something similar in my screen set for basic calc's when using the Threading Wizard.

Yep we will be at the show and will give a yell before then.

stephanbrunker,
Think I answered your questions. Good going but keep going...... :)

RICH

Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #13 on: January 04, 2016, 07:38:51 PM »
The imperial option shouldn't be a problem. It should be doable in a few days to convert all User Input and Output from mm to inches according to a setting. I'll report if it's ready.
Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #14 on: January 15, 2016, 06:14:08 AM »
The relase of version 0.20 is delayed a bit because I discovered major differences between threading with an parallel port and an ESS. With the first, you need a bigger run-up, but you can change the core of the M1076 macro, with the last, the feed run-up is much smaller, but you cannot change the core of the macro. At the moment, I'm asking for solutions at warp9 ...

Offline Tweakie.CNC

*
  • *
  •  8,027 8,027
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #15 on: January 15, 2016, 07:19:09 AM »
Have you now settled on using Mach3 version R3. 043.062 for both Parallel Port and ESS operation. ??

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #16 on: January 15, 2016, 08:06:09 AM »
ATM, I'm trying both versions of Mach3. But as far as i can tell, there is no difference regarding threading.
Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #17 on: January 24, 2016, 11:34:00 AM »
It took me a while longer, but now version 0.20 is online. You can now work in either millimeters or inches and of course output in both formats. I also figured out how the M1076 macro in every last detail works and improved it. I added a second macro which is called from inside to make runtime displays of the cut depth and set the S-word to true rpm and some minor improvements. I was asked on another place what my program can do what the existing solutions couldn't, and I can answer that like this: You get an improved set of macros for G76, G77 and G78. Then you can generate the code for a very wide range of threads in seconds and you can simulate the number of cuts. For the thread generation you basically only need the Thread type, the pitch and nominal diameter. Everything else like the depth of the cut and the tolerances is calculated for you. As far as I know, this is not provided by any other free solution for Mach3. And if you want to check your thread there is also a tool to calculate the flank diameter if you measure it with three wires.

Offline RICH

*
  • *
  •  7,382 7,382
    • View Profile
Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #18 on: January 24, 2016, 01:02:37 PM »
Stephan,

I am sure the extra time was worthwhile. Thanks for sharing your work.
I'll check it out and give you feedback.
I'll be using  Mach3 version R3. 043.062 since that is the basis for my screen set.

BTW, It's nice to have someone do some lathe work.

RICH
Re: Free G76 Macro Helping program for Mach3 Turn
« Reply #19 on: January 25, 2016, 04:41:42 AM »
If you are using your own screenset, the threading diag DROs have changed a little bit:
SetUserDRO 1240, StartX       
SetUserDRO 1241, EndX         
SetUserDRO 1242, StartZ         
SetUserDRO 1243, EndZ           
SetUserDRO 1244, Pitch         
SetUserDRO 1245, Taper           
SetUserDRO 1247, Number of passes total
SetUserDRO 1249, Total_Depth
and set while threading is running:
SetUserDRO 1246, actual passnum
SetUserDRO 1248, acutal cutdepth