Hello Guest it is April 25, 2024, 01:40:21 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.


Topics - DroopyPawn

Pages: 1
1
G-Code, CAD, and CAM discussions / Radius to end of arc differs
« on: November 22, 2007, 04:48:19 AM »
I can run the contour section by itself with no problems. But when I try to run both parts or just the 3/8 hole part, I get the radius error. I don't understand what the error is or why I'm getting it and especially how to fix it. I could write the program so that it will work but I'm trying to use the L word to shorten the program to under 100 lines or so.


(File created using FlashCut CNC DXF Import)
(Import File:  Phillip Telford Bellcrank 03 To Cut.dxf)
(Import Date:  11/22/2007)

(Main Program)
(Call Cut 3/8" Hole Sub 14 Times)
G00 Z0.20000
G00 X1.93705 Y0.37650
G01 Z0 F5
M98 P2 L14
G0 Z0.2

(Call Contour Sub 7 Times)
G00 X0 Y0.06200
G01 Z0 F5
(M98 P2 L7)
G0 Z0.5
G0 X0 Y0
M30

o1 (Sub Cut 3/8" Hole)
(G01 G91 Z-0.02 F5)
G90
(G02 X1.93705 Y0.37650 I-0.12900 J0.00000 F20.00)
G02 X1.93705 Y0.37650 R0.375 F20.00
M99

o2 (Sub - Cut Contour)
G01 G91 Z-0.02 F5
G90
G03 X0.06200 Y0.00000 I0.06200 J0.00000 F20.00
G01 X2.17200 Y0.00000
G01 X2.17200 Y0.87800
G01 X1.41900 Y0.87800
G01 X1.41900 Y0.66404
G01 X1.29000 Y0.66401
G01 X1.29000 Y0.24904
G01 X1.28504 Y0.24900
G01 X1.28500 Y0.66400
G01 X1.03200 Y0.66400
G01 X1.03200 Y0.24904
G01 X1.02704 Y0.24900
G01 X1.02701 Y0.66400
G01 X0.77400 Y0.66400
G01 X0.77400 Y0.24904
G01 X0.76904 Y0.24900
G01 X0.76900 Y0.66400
G01 X0.51600 Y0.66400
G01 X0.51600 Y0.24904
G01 X0.51104 Y0.24900
G01 X0.51101 Y0.66400
G01 X0.25800 Y0.66400
G01 X0.25800 Y0.24904
G01 X0.25304 Y0.24900
G01 X0.25301 Y0.66400
G01 X0.06200 Y0.66400
G03 X0.00000 Y0.60200 I0.00000 J-0.06200
G01 G91 Z-0.02 F5
G90
G02 X0.06200 Y0.66400 I0.06200 J0.00000 F20.00
G01 X0.25301 Y0.66400
G01 X0.25304 Y0.24900
G01 X0.25800 Y0.24904
G01 X0.25800 Y0.66400
G01 X0.51101 Y0.66400
G01 X0.51104 Y0.24900
G01 X0.51600 Y0.24904
G01 X0.51600 Y0.66400
G01 X0.76900 Y0.66400
G01 X0.76904 Y0.24900
G01 X0.77400 Y0.24904
G01 X0.77400 Y0.66400
G01 X1.02701 Y0.66400
G01 X1.02704 Y0.24900
G01 X1.03200 Y0.24904
G01 X1.03200 Y0.66400
G01 X1.28500 Y0.66400
G01 X1.28504 Y0.24900
G01 X1.29000 Y0.24904
G01 X1.29000 Y0.66401
G01 X1.41900 Y0.66404
G01 X1.41900 Y0.87800
G01 X2.17200 Y0.87800
G01 X2.17200 Y0.00000
G01 X0.06200 Y0.00000
G02 X0.00000 Y0.06200 I0.00000 J0.06200
M99

2
G-Code, CAD, and CAM discussions / This Code Skips Lines
« on: November 21, 2007, 01:16:15 AM »
I'm not sure why this code is skipping depth passes after the stops at the beginning. I'm trying to run the same contour code over and over and incrementing the depth by 0.02" each pass. For whatever reason, it goes from -0.02, to 0.06 to 0.10, to 0.14. It's skipping 4, 8, 12 etc. Did I do something wrong or is this a limitation of the demo?

3
General Mach Discussion / Run From Here
« on: November 20, 2007, 07:19:19 PM »
How exactly does the Run From Here button work in ToolPath view? I've tried it a couple of times but couldn't get the results I was expecting.

4
Tangent Corner / Tram My Taig - Cheap
« on: October 31, 2007, 06:02:52 PM »
Can anyone here suggest a cheap way to tram  my Taig 2019? I don't want to go spend a bunch of money on tramming equipment.

5
General Mach Discussion / Go To Coordinates
« on: October 29, 2007, 12:12:19 AM »
Is there a way in Mach3 to go to specific coordinates? Not from G-Code but somewhere that I can enter coordinates and my machine will move to that spot. I'm not talking about the jog buttons. Needs to be accurate.

6
G-Code, CAD, and CAM discussions / Subroutines
« on: October 23, 2007, 01:32:35 PM »
I've been a computer programmer for many years so I'm familiar with different constructs in programming languages.

Suppose I have a piece to cut and I need to operations on it. I need to cut a rectangular slot in the middle and then contour the outside of the shape. FlashCut (free demo) will write the code for me to do that but if I specify that a path be cut several times (say in 0.1" increments) it will write the entire code for that path several times.

What's the structure for using a subroutine for this? Like this...

z-0.1
call x-y-movement subroutine
z-0.2
call x-y-movement subroutine
z-0.3
call x-y-movement subroutine

etc

end program

7
G-Code, CAD, and CAM discussions / Tap a hole
« on: October 22, 2007, 11:44:44 PM »
I need to make a hole and tap it 10-32. What size hole should I drill before tapping? What diameter? I don't have an automatic tapper but if I did, is there a specific G-Code to use for the tapping?

8
G-Code, CAD, and CAM discussions / Help Me Delete Unwanted Code.
« on: October 22, 2007, 07:26:58 PM »
Greetings to you all. I'm pretty new at all this computer numerics stuff. I have a good grasp on the x-y-z system but the offset stuff is still a bit confusing to me. I drew up a part in my CAD software and a friend who uses GibbsCam at his shop created some G-code for me to make my parts. But it doesn't run right in Mach3. He asked me what post processor should be used and I had no idea but Fanuc looked familiar so we went with that. It took him about 2 minutes to load the dxf, create a tool path and post it to G-code but he's a busy guy an I don't want to bother him with my tiny tasks if possible. So basically, my question is this... what do I need to remove from the code below to have just the basic x-y-z movements? I've tried deleting the stuff that I though was causing problems but then the program just blows up. I don't want any tool diameter compensation, tool height compensation, or the table (fixture,jig) compensation. Can someone help me simplify this code? Thanks, gs

Code: [Select]
%
O1( SIERRA BELLCRANK.NCF )
( FORMAT: FANUC 0M [R&S] M565.81.2.PST )
( 10/22/07 AT  6:20 PM )
( OUTPUT IN ABSOLUTE INCHES )
( PARTS PROGRAMMED: 1 )
( FIRST TOOL NOT IN SPINDLE )
N1G17G80G40
N2T1M6
( OPERATION 1: CONTOUR )
( DXF LAYER '0' )
( TOOL 1: .125 FINISH ENDMILL )
N3G54
N4S5200M3
N5G90G0X2.446Y-.3625
N6G43Z0.H0
N7M8
N8Z.5
N9G1Z.25F5.
N10G41Y-.3125F4.D51
N11G3X2.196Y-.0625I-.25
N12G1X0.
N13G2X-.0625Y0.J.0625
N14G1Y.9
N15G2X0.Y.9625I.0625
N16G1X.147
N17G2X.2095Y.9003J-.0625
N18G1X.2109Y.5701
N19Y.2525
N20X.4025
N21Y.9
N22G2X.465Y.9625I.0625
N23G1X.59
N24G2X.6525Y.9J-.0625
N25G1Y.625
N26G3X.7151Y.5625I.0625
N27G1X.7202
N28G2X.7825Y.5I-.0002J-.0625
N29G1Y.315
N30G3X.9075I.0625
N31G1Y.6
N32G2X.97Y.6625I.0625
N33G1X1.095
N34G2X1.1575Y.6J-.0625
N35G1Y.315
N36G3X1.2825I.0625
N37G1Y.6
N38G2X1.345Y.6625I.0625
N39G1X1.47
N40G2X1.5325Y.6J-.0625
N41G1Y.315
N42G3X1.6575I.0625
N43G1Y.6
N44G2X1.72Y.6625I.0625
N45G1X1.845
N46G2X1.9075Y.6J-.0625
N47G1Y.315
N48G3X2.0325I.0625
N49G1Y.6
N50G2X2.095Y.6625I.0625
N51G1X2.25
N52G2X2.3125Y.6J-.0625
N53G1Y0.
N54G2X2.25Y-.0625I-.0625
N55G1X2.196
N56X2.1335
N57G3X1.8835Y-.3125J-.25
N58G1Y-.3625
N59G0G40Z.5
N60M9
N61G91G28Z0.
N62M5
N63G00 X0 Y0
N64M30
%
( FILE LENGTH: 1276 CHARACTERS )
( FILE LENGTH: 10.92 FEET )
( FILE LENGTH: 3.40 METERS )

Pages: 1