Hello Guest it is April 19, 2024, 10:09:22 AM

Author Topic: BobCAM generating unusable g code...  (Read 15259 times)

0 Members and 1 Guest are viewing this topic.

Offline CHUFF

*
  •  12 12
    • View Profile
BobCAM generating unusable g code...
« on: August 24, 2008, 02:19:29 PM »
I looked through a lot of posts but could not find an answer on this one. I'm just trying to cut a simple circle, and have drawn it up in BobCAD, then creating the gcode with BobCAM.  It all looks fine, and even simulates perfect... IN BOBCAM.

As soon as I load the gcode into Mach 3, it won't run. It gives an error saying "Cannot use two g codes that both use axis valuesLine 17"

Seriously, do I have to just learn to type g code just to run this machine?? I've had TONS of trouble with cam software. LazyCam is just a joke, and BobCAM generates bad g code.  The line it stops on reads:

N02 G00 G91 G28 Z0

I'm REALLY confused here.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: BobCAM generating unusable g code...
« Reply #1 on: August 24, 2008, 03:19:07 PM »
Don't use BobCAD, but you probably  need to edit your post or use a different one. Try removing the G28 and see if it works.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline CHUFF

*
  •  12 12
    • View Profile
Re: BobCAM generating unusable g code...
« Reply #2 on: August 24, 2008, 03:35:05 PM »
What do you mean "Don't use BobCAD"? A LOT of people in this forum recommended it for generating gcode! I just PAID FOR IT!

I'm getting a little tired of bad advice. This whole CNC adventure has been VERY frustrating. Why have so many people been able to just make it all work with ease, and I'm not able to cut out a  :'(  :'(  :'( circle!
« Last Edit: August 24, 2008, 04:14:21 PM by Chaoticone »

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: BobCAM generating unusable g code...
« Reply #3 on: August 24, 2008, 03:54:44 PM »
Ger means he doesnt use BobCAD, he is not saying not to use it ;)
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: BobCAM generating unusable g code...
« Reply #4 on: August 24, 2008, 03:58:21 PM »
Please attach your code in full.
Hood

Offline CHUFF

*
  •  12 12
    • View Profile
Re: BobCAM generating unusable g code...
« Reply #5 on: August 24, 2008, 04:20:42 PM »
This is the WHOLE code generated...

(BEGIN PREDATOR NC HEADER)

(MACH_FILE=3AXVMILL.MCH)

(MTOOL T1 S1 D.25 H5. DIAM_OFFSET 1 = .125)

(MTOOL T2 S1 D.25 H5. DIAM_OFFSET 2 = .125)

(MTOOL T3 S1 D.201 H5. DIAM_OFFSET 3 = .1005)

(MTOOL T4 S1 D.35 H5. DIAM_OFFSET 4 = .175)

(MTOOL T5 S1 D.25 H5. DIAM_OFFSET 5 = .125)

(SBOX X-.375 Y-.375 Z-1. L23.25 W23.25 H1.)

(END PREDATOR NC HEADER)



%

O100

(PROGRAM NUMBER)

(PROGRAM NAME - TIMSDISC.NC)

(POST -  FANUC 0M)

(DATE - SUN. 08/24/2008)

(TIME - 10:34AM)



N01 G90 G80 G40 G20 G17



N02 G00 G91 G28 Z0.

N03 G91 G28 X0. Y0.



(JOB 1  CONTOUR)

(TOOL #1  0.2500  ENDMILL ROUGH)



N04 T01 M06

N05 S748 M03

N06 G90 G54 X22.625 Y11.25

N07 G43 H01 Z.1 M08

N08 G01 Z-.5 F1.7968

N09 G03 X22.625 Y11.25 I-11.375 J0. F2.9947

N10 G00 Z.1

N11 M09

N12 M05

N13 G91 G28 Z0.

N14 M01



(JOB 2  TAP  RANDOM POINT PATTERN)

(TOOL #2  0.2500  CENTER DRILL)



N15 T02 M06

N16 S504 M03

N17 G90 G54 X11.25 Y11.25

N18 G43 H02 Z.1 M08

N19 G81 G98 X11.25 Y11.25 Z-.08 R.1 F1.0084

N20 G80

N21 G00 Z.1

N22 M09

N23 M05

N24 G00 G91 G28 Z0.

N25 M01



(JOB 2  TAP  RANDOM POINT PATTERN)

(TOOL #3  0.2010  DRILL)



N26 T03 M06

N27 S874 M03

N28 G90 G54 X11.25 Y11.25

N29 G43 H03 Z.1 M08

N30 G81 G98 X11.25 Y11.25 Z-.6604 R.1 F2.6225

N31 G80

N32 G00 Z.1

N33 M09

N34 M05

N35 G00 G91 G28 Z0.

N36 M01



(JOB 2  TAP  RANDOM POINT PATTERN)

(TOOL #4  0.3500  CHAMFER TOOL)



N37 T04 M06

N38 S425 M03

N39 G90 G54 X11.25 Y11.25

N40 G43 H04 Z.1 M08

N41 G81 G98 X11.25 Y11.25 Z-.058 R.1 F1.2769

N42 G80

N43 G00 Z.1

N44 M09

N45 M05

N46 G00 G91 G28 Z0.

N47 M01



(JOB 2  TAP  RANDOM POINT PATTERN)

(TOOL #5  UNC  1/4-20   SPIRAL TAP)



N48 T05 M06

N49 S595 M03

N50 G90 G54 X11.25 Y11.25

N51 G43 H05 Z.1 M08

N52 G84 G98 X11.25 Y11.25 Z-.7 R.1 P0. F.05

N53 G80

N54 G00 Z.1

N55 M09

N56 M05

N57 G00 G91 G28 Z0.

N58 G91 G28 X0. Y0.

N59 T01 M06



(END OF PROGRAM)



N60 M30

%

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: BobCAM generating unusable g code...
« Reply #6 on: August 24, 2008, 04:29:13 PM »
OK what is wrong is the G91 and G28 need to be on seperate lines. You will have to either find a post processor that is suited to Mach (could already be included with BobCAD), edit the one that you are using or as you have paid for it get BobCAD to make a suitable one for you.
Until you get sorted you can edit your code as attached.

Hood

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: BobCAM generating unusable g code...
« Reply #7 on: August 24, 2008, 04:53:49 PM »
Hi, CHUFF

I see in your BoBCad post, It's a (POST - " FANUC 0M"), There are several posts for Mach3.

I'm using ver 22 hear, What ver of BoBCad are you using.?

LazyCam should post your DXF, Theres a section hear for LC questions.  http://www.machsupport.com/forum/index.php/board,14.0.html

Post your DXF there with questions.

Chip

Offline CHUFF

*
  •  12 12
    • View Profile
Re: BobCAM generating unusable g code...
« Reply #8 on: August 24, 2008, 05:20:01 PM »
What?? 

Ok.. I found a MachMill post processor for BobCAD V.22.  I set it in the preferences, and reposted the gcode. It did the EXACT same thing.

I'm about at the end of my rope here. NOTHING does what it SAYS it will do! WHY?? I created the entire file in BobCAD, so there IS NO DXF.  Besides, LazyCAM is a useless program at present. IF it gets developed further, it may become something, but in it's present state, you can't even generate a tool path offset.

I was under the impression that BobCAM would actually DO what it says it can. I guess I was wrong.
Re: BobCAM generating unusable g code...
« Reply #9 on: August 24, 2008, 05:29:48 PM »
I sure hope it  works, bobcad ver 22, mach 3 and my machine....  I sure have had frustrations such as you are having, but the folks at bobcad, if you talk to them kindly, would help you resolve the issue, probably dont want bad press.  Call support, Tech Support: 727-489-0003, they can look at you processor on line and adj stuff in your computer to make it work.  they just did mine about 2 days ago.  Good luck and hang in there, life is two short to spend it in a fluff...;)  best to ya!