Hello Guest it is April 11, 2021, 03:56:32 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.


Topics - whistule

Pages: 1
1
General Mach Discussion / G82 Mach3 Lathe issue
« on: July 11, 2016, 10:03:14 AM »
Having some trouble getting the G82 peck drilling cycle to work on mach3 lathe.  I have been through all the info/posts on here and everywhere but still it doesn't work (much to my frustration!!).  I have G83 working fine on the machine, but with the G82 code below it seems like it just jumps over the G82 line.    What's missing!?  Thanks


G20 G40 G18 G90 G80 G54

G28
T404                ;16mm spot drill
S200 F20
M3 M8
G00 X0 Z1
G82 X0 Y0 R1 Z-20 P1000 L1 F10 G98
G80
G28
M30

2
General Mach Discussion / Passing variables into a macro
« on: March 26, 2016, 08:30:35 AM »
Hi All,

I am looking for a little advice on how best to go about inserting a variable into a macro.  This is a peck drilling application with rapid feed as created by Mick Grant  [ Melee ]  and posted on this forum in 2009 [ http://www.machsupport.com/forum/index.php/topic,15205.0.html ] .  The code I'm looking to execute is below but I can't get the variable [in this case #4] to pass through to the macro.  It seems the solution may have something to do with getvar(), but I haven't been able to find any simple examples of this in operation - so I can't work out which which code to add and where.  A copy of the m830 Macro is attached.  If I replace the #4 with -10 on N50 then the program and macro runs excellently - credit to Mick Grant - so i do know its the insertion of a variable like #4 that's throwing a spanner in the works.      Any help or pointers most appreciated.       

#4=-10

%
N10   G20 G18 G80 G90 G94
N11   G28
N12   T202
N20   G0 X0 Z10
N30   M03 S600
N40   G90
N50   ;M830 X0 Y0 Z#4 R2 Q2.5 W0.5 P5 D3 F100 I0 J0 L1
N60   M830 P50
N70   G80
N80   G90
N90   G0 X0 Z10
N100   M5
N120   M30
%





3
General Mach Discussion / G73 program help!
« on: November 26, 2013, 07:11:36 AM »
Well, I've been trying to get a G73 program to work on Mach3Turn for a couple of days - I think I'm not far off having read every post about G73 on machsupport!  Anyway, I thought I'd post the code in case anyone can spot anything obvious straight off the bat.

Here's the code:
 
G18 G20 G40 G80 G90
S3000 F65
M3 M8
T2
G0 X0 Z1
G73 X0.0 Y0.0 Z-10 R1 F65
M2 M9
M30

I have also attached a screenshot of the turn options.   All other boring and turning ops seem to be working fine.  G83 is also working fine.  G73 isn't doing anything i.e. the tool isn't moving anywhere with any of the variations of the code I've tried.    Anyone got any ideas?  Any help is of course very much appreciated. 

Pages: 1