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 > MadCAM


MadCAM Discuss MadCAM software here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-06-2006, 12:01 AM
 
Join Date: Mar 2006
Location: US
Posts: 19
Stile2 is on a distinguished road
Trouble with Post for Prototrak

Everytime I generate a post for use on a Prototrak the Z's are all positive. The ProtoTrak wants to use the top of the part as Z0.0000 and into the part as negative Zs.

How can I change the post to look at the top of the part as the Z0.0000 and into the material as negative Z?

this is from a post that works (from another CAM)
%
O0000
N1 G0G17G40G49G80G90
N2 M6T2
N3 G0G54X-0.0501Y-0.3984
N4 G43Z2.H2
N5 G00 X-0.0501 Y-0.3984 Z2. (Z2.0 is tool change position)
N6 Z0.1167 (Safe distance from the part)
N7 G01 Z-0.0833 F150.0 (Milling the part)
N8 X0.1507 Y-0.4014 F300.0

Here is from your post processor
%
OTest Block
N1 G21
N2 G40 G54 G80 G90
N3 M06 T1
N4 S4000 F300 M03
N5 G43 H1
F20000
N6 G01 X-0.219 Y4.253
N7 Z6.454 (the ProtoTrak barely has this amount of movement in Z)
N8 G01 Z6.000 F300
N9 Y0.000 Z5.250 F300




Thanks

Keith
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-06-2006, 10:10 AM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road
Keith,

I am not Joakim but I'm willing to help it possible. First off do you position your parts in Rhino where your machine needs them, with the top of the part being at z0.00? Have you checked your starting position windows for the three different axis when you postprocess the code? If you are not doing this, try those and see if it makes a difference. You can also go to your madcam folder and open the post processor to see if the ++++ moves are in the post.

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-06-2006, 10:38 AM
 
Join Date: Mar 2006
Location: US
Posts: 19
Stile2 is on a distinguished road
I have managed to "trick" MadCam into posting correctly, but the other CADCAM programs that I have seen and used, you don't have to trick it.

For example, OneCNC, when you go to post, asks where the top of the part should be. It would be nice if MadCam did the same.

I have already changed the Post Processor to work in Inches, and got rid of several extra things in the processor. I have to say the language in which the post processors are written are the most understandable I have seen.

Keith
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 07-06-2006, 11:20 AM
*Registered*
 
Join Date: Mar 2006
Location: Boston
Posts: 1,628
lakeside is on a distinguished road
I ran Bobcad with a prototrak dpm mx3 controller ran great no issue other than upload load time baud rate is slow
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-06-2006, 11:36 AM
 
Join Date: Mar 2006
Location: US
Posts: 19
Stile2 is on a distinguished road
Here is the beginning of my post after I moved the part below the x-y plane, so that the top of the part is at Z 0.0000. The first G00 move is to Z 2.0000 X 0.0000 Y 0.0000 for a tool change.

Let me know what you guys think. Does it look like your posts?
Onegative2
N1 G20
N2 G40 G54 G80 G90
G00 Z2.0000 (In position for a tool change)
G00 X0.0000Y0.0000
N3 M06 T1
S2000 F10
F100
N4 G00 X-1.2164 Y-1.4990
N5 Z0.1250 (Rapid move to safe distance from the part)
N6 G01 Z0.0000 F10
N7 X-1.5000 Z-0.0500 F10 (Mill into the part)
N8 X1.5000
N9 X1.5068 Y-1.4979

Thanks
Keith
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 07-06-2006, 11:44 AM
*Registered*
 
Join Date: Mar 2006
Location: Boston
Posts: 1,628
lakeside is on a distinguished road
attached you will find an excel worksheet sent to me by southwestern ind. maker of prototrak The sheet list all G-codes for prototrak
Attached Files
File Type: xls gcodes 3x mill.xls‎ (18.5 KB, 186 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 07-06-2006, 11:46 AM
*Registered*
 
Join Date: Mar 2006
Location: Boston
Posts: 1,628
lakeside is on a distinguished road
you will need a .(period) after your F10 (F10.) if not feed will be F1.0
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-06-2006, 11:56 AM
 
Join Date: Mar 2006
Location: US
Posts: 19
Stile2 is on a distinguished road
Thanks for the G-Code list, it is a little more detailed than the book I got with the Prototrak retrofit.

Keith
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-06-2006, 04:15 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road
Keith just remember that Onecnc is a lot more $$ and many people writing the code (I'm assuming here). Joakim is a self employed mold and die maker that also writes code for Madcam. I know for a fact that lots of changes are coming in Madcam and have been in email contact with Joakim on a regular basis.

I have a very unique setup for a machine and use Mach2 for a controller. I explained my need to him and he did me a post that works just like I want it to. Email him directly, but be prepared to wait a couple of days. I sometimes have to but realize his situation and am prepared to wait.

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 07-06-2006, 04:41 PM
 
Join Date: Mar 2006
Location: US
Posts: 19
Stile2 is on a distinguished road
Please understand I am very happy with MadCam. I think it works great and is easy to use. I just have this one issue. What I really want to know is how to rewrite the post processor in order to make it do what I want. I am a teacher and if I learn this I can teach my students.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-06-2006, 06:17 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road
Keith have you opened the particular postprocessor? Now I know very little about programming and therefore the reason I did not write my own post.

Here is the post:

//MadCAM_POST_2003-12-10
*VERSION*
1.0_031210
*FILE_NAME*
Prototrak
*FILE_EXTENSION*
dnc
*FILE_DEST*
c:\postfiles\
*FILTER*
0.001
*OUTPUT_WIDTH*
4
*OUTPUT_DECIMALS*
3
*SCALE_X*
1
*SCALE_Y*
1
*SCALE_Z*
1
*AXIS_1_CHAR*
X
*AXIS_2_CHAR*
Y
*AXIS_3_CHAR*
Z
*CUTTER_REFERENCE*
TIP
*RAPID*
F20000
N"lnbr" G01 "x" "y" "z"
*END_SECTION*
*RAPID_APPROACH*
N"lnbr" "x" "y" "z"
*END_SECTION*
*RAPID_RETRACT*
N"lnbr" G00 "x" "y" "z"
*END_SECTION*
*APPROACH*
N"lnbr" G01 "x" "y" "z" F"feedz"
*END_SECTION*
*FIRST_CUT*
N"lnbr" "x" "y" "z" F"feed"
*END_SECTION*
*CUT*
N"lnbr" "x" "y" "z"
*END_SECTION*
*TOOL_CHANGE*
N"lnbr" M06 T"toolnr"
N"lnbr" S"speed" F"feed" M03
N"lnbr" G43 H"toolnr"
*END_SECTION*
*TOOL_STOP*
N"lnbr" M09
*END_SECTION*
*PROGRAM_START*
%
O"pgmnr"
N"lnbr" G21
N"lnbr" G40 G54 G80 G90
*END_SECTION*
*PROGRAM_END*
N"lnbr" G80 M09
N"lnbr" M30
%
*END_SECTION*
*LINE_START_NUMBER*
1

Maybe someone can give you some help as to how to modify it. I would also try several of the different post on the same part to see how they output code. If you find anything that looks like what you want go to the Madcam folder and open that post along with the one for your machine. The differences will be evident pretty quick......I think.

My best reccomendation though, is to contact Joakim directly and tell him your problem and what you are wanting to do with the post......teach.

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 07-06-2006, 07:34 PM
JOM JOM is offline
 
Join Date: Feb 2006
Location: Sweden
Posts: 60
JOM is on a distinguished road
Hello Keith,

If you want to cut the model with z=0 at the top of the part, it’s just like Mike said, place the model in Rhino with z=0 at the top of the part. It is also very easy to move the model together with toolpaths in Rhino before posting. Please let me know if you would like to change something in the Prototrak postprocessor and I will customize it for you.

Joakim
Tweet this Post!Share on Facebook
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





All times are GMT -5. The time now is 10:51 PM.





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