CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAM Software > Dolphin CADCAM


Dolphin CADCAM Discuss Dolphin CAD/CAM software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-16-2008, 01:36 PM
 
Join Date: Nov 2007
Location: us
Posts: 19
antelnation is on a distinguished road
Problem Converting Machining Contours to G-Code

Hi everyone,
So I can finally draw my parts in DFX file format. I can import them into DCAD and I can create the machining contours (I am just making a series of 0.14 inch holes in a rectangular piece of aluminum.... I am building a tooling plate).
I run the machining simulation in DCAD and it looks good. That is to say, the simulation does what I want my mill to do.
Next, I go to "post process" to create my g-code. I am using Mach3 to run my little Taig mill so I chose "LM1-MACH3.ppr" and I left the "file extension" as "pun". Following that, I load that g-code file into Mach3.
This is where the problem is: Mach3 can not read the g-code. Mach3 says:"Unknown word Starting with rline1".
So, how do I generate G-code that Mach3 can understand? Thanks-Josh
Reply With Quote

  #2  
Old 05-16-2008, 03:43 PM
*Registered*
 
Join Date: Jan 2006
Location: Seattle
Age: 52
Posts: 883
Mike Stevenson is on a distinguished road

Can you post your code so I can understand?
Reply With Quote

  #3   Ban this user!
Old 05-16-2008, 04:10 PM
 
Join Date: Dec 2003
Location: Nottingham, England
Posts: 235
John S. is on a distinguished road

Josh,
There is a Syntax error in the post file.
Try this one attached and you will have to have arcs selexted as Absolute in General Config in Mach 3.

Let us know how you go on.

John S.
Attached Files
File Type: zip L1M_MACH3.zip‎ (3.7 KB, 78 views)
Reply With Quote

  #4   Ban this user!
Old 05-16-2008, 04:46 PM
 
Join Date: Nov 2007
Location: us
Posts: 19
antelnation is on a distinguished road
The g-code generated by DCAD

Here is the g-code or should I say N-code that DCAD generated.-Josh





%
( Produced :- 14:42:24 Friday, May 16, 2008 )
( CNC File :- V1 )
( Post Processor :- L1M_MACH3 )
( Part Number ID :- )
N6G00G20G17G90G40G49G80
N7G49
N8T1M06 ( End Mill )
N9G00G43Z5.0H1
N10S1000M03
N11X0.0Y0.0
N12X12.0Y5.5
N13X12.0Y5.5Z0.1
N14G01X12.0Y5.5Z-0.5
N15G03X11.9913Y5.5088I11.9913J5.5
N16X11.9825Y5.5I11.9913J5.5
N17X12.0Y5.4825I12.0J5.5
N18X12.0175Y5.5I12.0J5.5
N19X12.0Y5.5175I12.0J5.5
N20X11.9825Y5.5I12.0J5.5
N21X11.9913Y5.4913I11.9913J5.5
N22X12.0Y5.5I11.9913J5.5
N23G01X12.0Y5.5Z0.1
N24G00X12.0Y5.5Z5.0
N25S1000
N26X12.0Y6.25
N27X12.0Y6.25Z0.1
N28G01X12.0Y6.25Z-0.5
N29G03X11.9913Y6.2588I11.9913J6.25
N30X11.9825Y6.25I11.9913J6.25
N31X12.0Y6.2325I12.0J6.25
N32X12.0175Y6.25I12.0J6.25
N33X12.0Y6.2675I12.0J6.25
N34X11.9825Y6.25I12.0J6.25
N35X11.9913Y6.2413I11.9913J6.25
N36X12.0Y6.25I11.9913J6.25
N37G01X12.0Y6.25Z0.1
N38G00X12.0Y6.25Z5.0
N39S1000
N40X12.0Y7.0
N41X12.0Y7.0Z0.1
N42G01X12.0Y7.0Z-0.5
N43G03X11.9913Y7.0088I11.9913J7.0
N44X11.9825Y7.0I11.9913J7.0
N45X12.0Y6.9825I12.0J7.0
N46X12.0175Y7.0I12.0J7.0
N47X12.0Y7.0175I12.0J7.0
N48X11.9825Y7.0I12.0J7.0
N49X11.9913Y6.9913I11.9913J7.0
N50X12.0Y7.0I11.9913J7.0
N51G01X12.0Y7.0Z0.1
N52G00X12.0Y7.0Z5.0
N53S1000
N54X12.0Y7.75
N55X12.0Y7.75Z0.1
N56G01X12.0Y7.75Z-0.5
N57G03X11.9913Y7.7588I11.9913J7.75
N58X11.9825Y7.75I11.9913J7.75
N59X12.0Y7.7325I12.0J7.75
N60X12.0175Y7.75I12.0J7.75
N61X12.0Y7.7675I12.0J7.75
N62X11.9825Y7.75I12.0J7.75
N63X11.9913Y7.7413I11.9913J7.75
N64X12.0Y7.75I11.9913J7.75
N65G01X12.0Y7.75Z0.1
N66G00X12.0Y7.75Z5.0
N67S1000
N68X12.0Y8.5
N69X12.0Y8.5Z0.1
N70G01X12.0Y8.5Z-0.5
N71G03X11.9913Y8.5088I11.9913J8.5
N72X11.9825Y8.5I11.9913J8.5
N73X12.0Y8.4825I12.0J8.5
N74X12.0175Y8.5I12.0J8.5
N75X12.0Y8.5175I12.0J8.5
N76X11.9825Y8.5I12.0J8.5
N77X11.9913Y8.4913I11.9913J8.5
N78X12.0Y8.5I11.9913J8.5
N79G01X12.0Y8.5Z0.1
N80G00X12.0Y8.5Z5.0
N81M09
N82M30
%
Reply With Quote

  #5   Ban this user!
Old 05-16-2008, 05:08 PM
Dolphin USA's Avatar  
Join Date: May 2007
Location: USA
Posts: 265
Dolphin USA is on a distinguished road

Just out of curiousity... is there a reason that you are using the Level 1 Mach post? Are you doing everything inside Partmaster CAD, i.e. not using Partmaster CAM at all?
__________________
Dolphin CAD/CAM Support

Download a free trial at
http://www.dolphincadcamusa.com
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-16-2008, 05:29 PM
 
Join Date: Nov 2007
Location: us
Posts: 19
antelnation is on a distinguished road

Well, the simple answer is that there was a video tutorial on how to do this in DCAD. I could try to do it in CAM but I see no reason why it would generate a better g-code.
Reply With Quote

  #7   Ban this user!
Old 05-16-2008, 09:29 PM
 
Join Date: Nov 2007
Location: us
Posts: 19
antelnation is on a distinguished road
I tried my drawing in Partmaster CAM and ????

I get a weird result. The post processor simulation that runs in Partmaster Cam looks perfect. The end mill does exactly what it is supposed to do.... it makes 0.16 inch holes that are 0.5 inches in depth.
However, when I load the g-code into Mach3, the code that is loaded does not reflect what was simulated in Partmaster Cam. Does anyone know what I am doing wrong.
I attached the .cnc and the .pun file that I made in Partmaster. Thanks.
Attached Files
File Type: zip tool plate.zip‎ (2.4 KB, 45 views)
Reply With Quote

  #8  
Old 05-16-2008, 09:41 PM
*Registered*
 
Join Date: Jan 2006
Location: Seattle
Age: 52
Posts: 883
Mike Stevenson is on a distinguished road

I do. In MACH3 under Config ----> General Config please note the IJ Mode in the second column on the page. It should be set to INC not ABS.
Reply With Quote

  #9   Ban this user!
Old 05-16-2008, 09:47 PM
Dolphin USA's Avatar  
Join Date: May 2007
Location: USA
Posts: 265
Dolphin USA is on a distinguished road

Mike, you were about 11 seconds to fast for me. About to say the same thing!
__________________
Dolphin CAD/CAM Support

Download a free trial at
http://www.dolphincadcamusa.com
Reply With Quote

  #10  
Old 05-16-2008, 10:04 PM
*Registered*
 
Join Date: Jan 2006
Location: Seattle
Age: 52
Posts: 883
Mike Stevenson is on a distinguished road

Why MACH3 comes with this important IJ parameter set to ABS as the default is beyond me.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-16-2008, 10:09 PM
 
Join Date: Nov 2007
Location: us
Posts: 19
antelnation is on a distinguished road

Well, it was set to INC. So, I switched it to ABS and now it is working. Weird.
Thank you. Thank you. Thank you.
Reply With Quote

  #12  
Old 05-16-2008, 10:25 PM
*Registered*
 
Join Date: Jan 2006
Location: Seattle
Age: 52
Posts: 883
Mike Stevenson is on a distinguished road

Yes it was happy for me to see my K2CNC working the first time too. When I first loaded my G-code into the MACH3 software with the setting reversed my part looked like the many rings of Saturn in the plot window.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting biesse code sidskilly CNC Machining Centers 1 05-19-2008 01:43 PM
Converting a inch g code program to metric joseavina76 G-Code Programing 3 12-19-2007 09:26 PM
Problem converting image to DXF. MagooT General CAM Discussion 6 12-14-2007 01:37 PM
have converting problem afri Mastercam 12 05-21-2007 07:37 AM
need help with converting corel to g code pfcary1 Commercial CNC Wood Routers 3 01-07-2007 07:09 AM




All times are GMT -5. The time now is 12:54 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361