Hello Guest it is January 24, 2022, 11:54:39 AM

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 - JG

Pages: « 1 2 3 4 5 6 »
41
General Mach Discussion / Re: G82 Drilling Cycle
« on: July 14, 2020, 02:39:44 PM »
I've done quite a few simulations this afternoon and have nearly got drilling a grid of holes sorted, but one thing still alludes me.
This is the program I have now settled on :
Code: [Select]
%
O0000  (Drill Hole Grid.NC)

N10 G21 G90 
N20 G0 X200 Y100 Z0 S6000 M3
N30 G1 F100 Z-20
N40 G0 Z0

N100 G91 G82 G98 X-50  Z-20 R-10 P1 F100 L3
N110 Y-40
N120 G1 G82 X50 L3
N130 Y-40
N140 G1 G82 X-50 L3

N200 G0 Z0
N210 M5
%

The simulation works and shows that it does drill a total of 12 holes, however, the tool always returns to Z0 after drilling rather than Z-10 as I expected due to 'R-10' in line N100.

Can anyone explain why?  or, better still, tell me what 'R' ought to be to minimize the Z travel between holes.


42
General Mach Discussion / Re: G82 Drilling Cycle
« on: July 14, 2020, 05:28:21 AM »
The great benefit of 'simulation' - no material or tooling costs  :D

I've already proved my theory so there's not a deal of cost in time either!

You've also shown me that I can omit the leading zeros from codes such as M03 so thanks for that as well.

43
General Mach Discussion / Re: G82 Drilling Cycle
« on: July 14, 2020, 05:01:00 AM »
GOT IT !

The X & Y co-ordinates are [ RELATIVE ] (or incremental) not Absolute  :)

That now makes sense, Thanks.
That is not what the CNC Cookbook tutorial suggests though.

I had seen the [ G-Codes ] button in Mach3 (and used it) - I just hadn't noticed that the list was larger than the one I had downloaded  :-[

Looking again at the example you site TPS, it seems to me that it would not drill a hole at the initial position but would drill holes in a diagonal line rather than a grid.
By omitting the Y parameter I would expect 3 holes along the X axis at 4 units pitch and of course omitting the X parameter - 3 along the Y axis at 5 units pitch.
Hmmm...  I think I need to do a simulation and watch the 'Table Display' very closely.

44
General Mach Discussion / Re: G82 Drilling Cycle
« on: July 14, 2020, 04:04:38 AM »
Thanks TPS - The only code I don't understand there is G54 --  I have a list which was described as 'definitive' but it doesn't have anything between G42 and G73 so I now suspect (I suppose I always did) that it is incomplete.

I can also see that setting up the modal codes S R P & F and then specifying the X or Y co-ordinates would do exactly what I'm looking for - very straightforward - it was the fact that the CNC Cookbook also specified an [L] parameter (number of repeats) and I couldn't (can't) see how that would work without specifying a hole 'pitch'. 


This therefore begs the question of why use G82 when G81 would do the same thing ---- or would it?

45
General Mach Discussion / G82 Drilling Cycle
« on: July 13, 2020, 08:23:38 PM »
I do hope that this is the right place to beg a G-Code question - if not please advise, and maybe move to a more appropriate section.

I'm making a sacrificial table for my Denford into which I will be putting a grid of M4 threaded inserts.

This entails drilling a series of holes - all the same diameter and depth - so I've been reading the CNC Cookbook tutorial which tells me that the parameters needed for a G82 Drilling Cycle are :
  •   -  X-Y :  Co-ordinates
  •   -  Z :  Bottom of hole
  •   -  R : Retract position
  •   -  P : Dwell time
  •   -  F : Cutting Feed Rate
  •   -  L : Number of repeats
Now, I understand all of those but can't see where the distance between the holes is specified. I can see that the holes must be in a line - either on the X or Y axis and that a second/third (and so on) cycle would be needed to create a [grid] -  in my case this will be 50 x 40 (X - Y)

The holes will be less than two diameters deep so there is no reason to use G83
I've read the tutorial a number of times but cannot see any reference to the spacing --  what am I missing?

46
General Mach Discussion / Re: Screen Editor ?
« on: July 13, 2020, 10:15:27 AM »
I'll agree with that ...  I'm just reading through your web site ... when I bought my Roland MDX-20 some 10 years ago one of the first things I made was a Z height sensor. Never was very successful since the Roland is crude in its Z control compared to the Denford with a Wireless Mach3 Pendant controller I now have.
I am about to dig it out again though and have another go at it on the [new] machine.

47
General Mach Discussion / Re: Screen Editor ?
« on: July 13, 2020, 08:37:20 AM »
I'm now thinking that the learning curve of  CNC in general plus G-Code and Mach3 has just taken a steep up-turn !    It might even have introduced a new 'ladder'  :)
I write in Pascal but not VB - not that that should be a problem but there are only so many hours in a day and I will need to get my prioreties in order.  I will be looking at the screen editor properly (I've spent at least 10 minutes on it already ::) ) but I might just accept the current layout for now.
Thanks again for your input Tweakie - very heartening.



48
General Mach Discussion / Re: Screen Editor ?
« on: July 13, 2020, 08:01:54 AM »
You can download a Screen Editor / Designer from here;  https://www.machsupport.com/downloads-updates/screensets/

Tweakie.

Now that's what I call a FAST response !!   Thanks Tweeakie!

I've downloaded the "Klaus' MachScreen"  so I'll see what sort of a mess I can make of my 'test' installation on a Win 7 PC that's not connected to my CNC Router before doing anything to the working system :)


49
General Mach Discussion / Screen Editor ?
« on: July 13, 2020, 07:35:12 AM »
May be a silly question  - but I'll ask anyway :)
I see a response from 'Tweakie.CNC' to another post which mentions :
(Use the Screen Editor to add a VB button ....).
I've looked at all the options in the menus but can't see a listing for a Screen Editor  -  I have found a means by which I can modify the fonts used. If such exists, is it possible to modify (enlarge) the Table Display window ?   My screen is large and I also have a second monitor which I could expand on to as well.


50
General Mach Discussion / Re: MDI G-Code not actioned
« on: July 13, 2020, 05:59:21 AM »
Just by way of explanation ---  To my chagrin I see that I made some forum posts way back in 2007 !!  I had completely forgotten :)   well, it is 13 years ago!

My previous post is still a valid question although it was a straight copy of a post I made last week to a different forum which had >70 views but no replies!

I have now hand-written a couple of G-Code programs and am much more aware of what can be done than I was in 2007.

Pages: « 1 2 3 4 5 6 »