![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Can someone please help me figure out what is going on with my Gcode, when i run a simulation under bobcad it looks perfect, when i import the code into Mach3 it looks mental. (the not blue part) I'm thinking it has to be my post processor. ![]() GCODE: % O1(LID) G17 G90 G40 G80 G54 G00 Z1. X4.5158 Y2.5119 G01 Z-1.4286 F100. G02 X2.5158 Y4.5119 I0. J2. F600. G41 G01 Y48.5119 G02 X4.5158 Y50.5119 I2. J0. G01 X36.5158 G02 X38.5158 Y48.5119 I0. J-2. G01 Y4.5119 G02 X36.5158 Y2.5119 I-2. J0. G01 X4.5158 G40 Z-2.8571 F100. G02 X2.5158 Y4.5119 I0. J2. F600. G41 G01 Y48.5119 G02 X4.5158 Y50.5119 I2. J0. G01 X36.5158 G02 X38.5158 Y48.5119 I0. J-2. G01 Y4.5119 G02 X36.5158 Y2.5119 I-2. J0. G01 X4.5158 G40 Z-4.2857 F100. G02 X2.5158 Y4.5119 I0. J2. F600. G41 G01 Y48.5119 G02 X4.5158 Y50.5119 I2. J0. G01 X36.5158 G02 X38.5158 Y48.5119 I0. J-2. G01 Y4.5119 G02 X36.5158 Y2.5119 I-2. J0. G01 X4.5158 G40 Z-5.7143 F100. G02 X2.5158 Y4.5119 I0. J2. F600. G41 G01 Y48.5119 G02 X4.5158 Y50.5119 I2. J0. G01 X36.5158 G02 X38.5158 Y48.5119 I0. J-2. G01 Y4.5119 G02 X36.5158 Y2.5119 I-2. J0. G01 X4.5158 G40 Z-7.1429 F100. G02 X2.5158 Y4.5119 I0. J2. F600. G41 G01 Y48.5119 G02 X4.5158 Y50.5119 I2. J0. G01 X36.5158 G02 X38.5158 Y48.5119 I0. J-2. G01 Y4.5119 G02 X36.5158 Y2.5119 I-2. J0. G01 X4.5158 G40 Z-8.5714 F100. G02 X2.5158 Y4.5119 I0. J2. F600. G41 G01 Y48.5119 G02 X4.5158 Y50.5119 I2. J0. G01 X36.5158 G02 X38.5158 Y48.5119 I0. J-2. G01 Y4.5119 G02 X36.5158 Y2.5119 I-2. J0. G01 X4.5158 G40 Z-10. F100. G02 X2.5158 Y4.5119 I0. J2. F600. G41 G01 Y48.5119 G02 X4.5158 Y50.5119 I2. J0. G01 X36.5158 G02 X38.5158 Y48.5119 I0. J-2. G01 Y4.5119 G02 X36.5158 Y2.5119 I-2. J0. G01 X4.5158 G40 G00 Z1. Please help. Last edited by jrslick22; 03-08-2010 at 10:20 PM. Reason: img linking |
|
#2
| |||
| |||
| My version of Mach (v3.042.029) actually renders the toolpath a little differently. I'm just seeing the blue and white and not the extra purple arcs. NCPlot does not show the odd white and purple arcs at all. (BTW, NCPlot is a nice program to have installed, just to do a sanity check on your code when these things happen.) If you single step through the code in Mach, it looks perfect. The correct movements are highlighted and I don't see any funny business. The odd stuff looks like it might should on the last straight (G01) line movement before the next downward Z movement. Those G01 moves have a G40 (cutter compensation off) at the end. I don't use cutter comp, so I don't know what Mach expects. I see G41 (cutter comp on) but I don't see any values indicating how much to offset for the cutter diameter. If you comment out the G40 codes (just use ;G40) then Mach renders everything ok. My guess it you are using a bad post processor or something is funny with the way Mach is setup to handle cutter comp. What happens if you try and run the code? No cutting, just set a safe Z height and run the code. Steve |
|
#4
| |||
| |||
machine is at the workshop so i can try cutting at safe Z. but i can say that the mach on the mill also shows the funny business. Ideas |
|
#5
| |||
| |||
| Post your .bbcd file and I'll try and take a look at it tomorrow. Like I said, I don't use cutter comp, but dertsap says you can't use G41 on an arc and I believe him. Change your lead in and see if that improves anything. Also, are you sure you're using the Mach3-Router.MillPst post processor? I don't remember what the installation process was, but it should be visible in your CAM tree. Steve |
| Sponsored Links |
|
#6
| ||||
| ||||
| 1 problem that I've noticed with bobcad is that when g 41 or g42 is used it will program to the center of the tool , so you will need to add the d comp into your tool offsets manually or you can add a g10 to your code so that the program will put the compensation in there for you , other than that you will have undersized parts .
__________________ A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org |
|
#8
| ||||
| ||||
| mach is fine , i put the code into my mach and had the same reaction , removed the g41 and all is good the problem is the d comp on an arc
__________________ A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org |
|
#10
| |||
| |||
| The reason i suggested it was the post.p was because my mill has and does run perfectly. Mach in my opinion is a great product, the PC its running has also been problem free and versatile. will DSP or Syntec play Movies or MP3's while its running a job? Of course finding the solution to this problem may change all this. |
| Sponsored Links |
|
#11
| |||
| |||
| I found this post http://www.machsupport.com/forum/ind...ic,3820.0.html and have recreated the code using it, so far i have not produced the junk. I would have thought that a decent post for Bobcad and Mach3 would have been really easy to find, the artsoft website only had an old Mach1 post. Do peapol make there own? what are you other Mach+bobcad guys using. I use to have a perfect one by Sorin on my old machine but lost it when the HD failed. i have since been on Sorins website to DL the same one but can only seem to find posts for everything except Mach. |
|
#12
| |||
| |||
| Hi there, One thing is the I J commands are incremental in your code, but your machine in in absolute, you could try adding a g91.1 for incremental IJ to the file right after the g90. then its correct every time you run the file, but if you also do stuff in IJ absolute add a g90.1 to the other files... Second the white lines are something to do with cutter compensation. It is showing a weird curve because the CC is turned off for the z move then back on again. Third, I did a couple of experiments with the CC and found that unless I specified the tool# on the g41 line the CC did not make an offset. So G41 P1 Would be cutter comp. keep left, using the diameter(radius?) of tool #1 in the tool table. Last the cutter comp needs some sort of lead in to get the tool in the correct position for cutting. the easiest might be just to start above your work and do an extra thickness cut in "AIR" but on more complex parts that might become an issue. If your software will do it, I suggest you let the CAM do the cutter compensation for the tool and not the controller. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- Can Bobcad be coaxed into making gcode for a 4 axis hot wire machine? | seanreit | BobCad-Cam | 14 | 06-03-2010 03:56 AM |
| Conditional gcode execution in Mach3 | bobeson | Tormach PCNC | 5 | 12-13-2009 08:39 PM |
| Condition gcode execution is possible in Mach3 | bobeson | G-Code Programing | 2 | 12-05-2009 01:20 PM |
| Radius problems when generating gcode from bobcad for mach3... ? | scyan | BobCad-Cam | 7 | 12-14-2006 12:33 PM |
| Shoptask CNC Lathe and Mach3: Gcode delima | KaptainKarst | Shopmaster/Shoptask | 20 | 08-05-2006 05:55 PM |