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 > Mastercam > Post Processors for MC



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-09-2010, 08:44 PM
 
Join Date: Oct 2007
Location: usa
Posts: 93
bullseye is on a distinguished road
Mastercam post needed for router..hust control

I am helping out a friend that just built a Router with an old Hust controller....

Problem is this old Controller does not use a Z value instead it uses a G11 P + or - value.....everything else from a Fanuc post works fine as we have been changing the Z values to P, Just getting to be a pain

I have Mastercam 9 and have tried every post I can find with no Luck

I have no idea how to change a Post but if someone could help that would be Great......Thanks in Advance
Reply With Quote

  #2   Ban this user!
Old 02-09-2010, 09:46 PM
 
Join Date: Oct 2007
Location: usa
Posts: 93
bullseye is on a distinguished road

here is a sample program

%
O0001
N10 G90 G54 G17 G40
N15 T1 M6
N20 S50 M03 D1
N25 G11 P-05
N30 G00 X0.1462 Y0.6243
N35 G11 P05
N40 G03 X0.3962 Y0.8743 R0.25 F20.
N45 G01 Y1.7576
N50 G02 X0.5212 Y1.8826 R0.125
N55 G01 X0.5739
N60 G02 X0.697 Y1.7792 R0.125
N65 G03 X0.714 Y1.692 R2.368
N70 X0.7314 Y1.6182 R1.8411
N75 X0.752 Y1.5461 R1.3854
N80 X0.7747 Y1.4822 R0.9852
N85 X0.7967 Y1.4323 R0.6867
N90 X0.8101 Y1.4068 R0.4613
N95 X0.8651 Y1.3309 R0.4264
N100 X0.9029 Y1.2936 R0.4889
N105 X0.9465 Y1.2586 R0.5583
N110 X0.9811 Y1.2354 R0.6677
N115 X1.0453 Y1.1994 R0.7146
N120 X1.1889 Y1.1484 R0.6456
N125 X1.266 Y1.1355 R0.6805
N130 X1.3671 Y1.1314 R0.7582
N135 X1.4328 Y1.1363 R0.6698
N140 X1.508 Y1.1518 R0.4895
N145 X1.5686 Y1.1751 R0.3752
N150 X1.6364 Y1.2198 R0.318
N155 X1.6408 Y1.2237 R0.3296
N160 X1.6827 Y1.2678 R0.3693
N165 X1.7127 Y1.3135 R0.2807
N170 X1.7357 Y1.3785 R0.2429
N175 X1.7409 Y1.4312 R0.2682
N180 Y1.4376 R0.2682
N185 X1.7333 Y1.4924 R0.2446
N190 X1.721 Y1.5303 R0.3226
N195 X1.6814 Y1.6039 R0.3499
N200 X1.6588 Y1.6329 R0.3832
N205 X1.6206 Y1.6726 R0.4891
N210 X1.5733 Y1.7124 R0.6305
N215 X1.5622 Y1.7205 R0.3684
N220 X1.5361 Y1.7382 R0.9423
N225 X1.4783 Y1.7749 R2.3367
N230 X1.3778 Y1.8352 R5.8836
N235 X1.2318 Y1.9194 R12.0459
N240 G01 X1.1708 Y1.9541
N245 G02 X1.0767 Y2.0082 R9.563
N250 X0.9583 Y2.0788 R7.0403
N255 X0.8575 Y2.142 R4.6152
N260 X0.7771 Y2.1959 R2.9095
N265 X0.7255 Y2.2329 R1.8895
N270 X0.6774 Y2.2706 R1.2634
N275 X0.59 Y2.3513 R1.0373
N280 X0.5164 Y2.438 R0.8901
N285 X0.4576 Y2.5295 R0.7977
N290 X0.3912 Y2.699 R0.7
N295 X0.3751 Y2.7875 R0.7186
N300 X0.3697 Y2.8794 R0.7852
N305 X0.3726 Y2.9459 R0.7852
N310 X0.3805 Y3.0087 R0.7719
N315 X0.4351 Y3.1868 R0.7149
N320 X0.4922 Y3.2893 R0.7313
N325 X0.5697 Y3.3881 R0.8192
N330 X0.6422 Y3.4589 R0.9302
N335 X0.6993 Y3.5047 R0.8515
N340 X0.9086 Y3.617 R0.8431
N345 X1.0519 Y3.6567 R0.9183
N350 X1.1559 Y3.6712 R1.0391
N355 X1.2625 Y3.6756 R1.1604
N360 X1.3687 Y3.6697 R1.044
N365 X1.4813 Y3.6521 R1.1514
N370 X1.6113 Y3.618 R1.3146
N375 X1.7534 Y3.5651 R1.5471
N380 G03 X1.7914 Y3.5496 R1.1241
N385 X1.8248 Y3.5378 R0.6221
N390 X1.8478 Y3.5315 R0.2512
N395 X1.8491 Y3.5313 R0.0639
N400 X1.8529 Y3.5417 R0.1427
N405 X1.8623 Y3.5768 R0.3586
N410 G02 X1.9845 Y3.6756 R0.125
N415 G01 X2.0373
N420 G02 X2.1623 Y3.5506 R0.125
N425 G01 Y2.6673
N430 G02 X2.0373 Y2.5423 R0.125
N435 G01 X1.9845
N440 G02 X1.8606 Y2.6509 R0.125
N445 G03 X1.8482 Y2.73 R1.7104
N450 X1.8341 Y2.7983 R1.403
N455 X1.816 Y2.8666 R1.1321
N460 X1.7946 Y2.9293 R0.888
N465 X1.7725 Y2.9808 R0.699
N470 X1.7481 Y3.0263 R0.5521
N475 X1.679 Y3.1167 R0.5029
N480 X1.6232 Y3.1668 R0.5151
N485 X1.5644 Y3.2069 R0.5781
N490 X1.4994 Y3.2409 R0.6781
N495 X1.4421 Y3.2636 R0.6226
N500 X1.3867 Y3.2794 R0.5731
N505 X1.2507 Y3.2937 R0.555
N510 X1.1946 Y3.2893 R0.4695
N515 X1.1311 Y3.2746 R0.3698
N520 X1.0277 Y3.2173 R0.3119
N525 X0.9793 Y3.1686 R0.379
N530 X0.9494 Y3.1248 R0.2781
N535 X0.9229 Y3.0213 R0.2151
N540 X0.9239 Y3.0004 R0.2151
N545 X0.9384 Y2.9435 R0.1951
N550 X0.9491 Y2.9219 R0.2023
N555 X0.9703 Y2.8904 R0.255
N560 X0.9975 Y2.8598 R0.3515
N565 X1.0297 Y2.8298 R0.6049
N570 X1.0716 Y2.7954 R0.9881
N575 X1.1247 Y2.7562 R1.4885
N580 X1.2028 Y2.7035 R2.2351
N585 X1.2949 Y2.6463 R3.3757
N590 X1.3922 Y2.5895 R4.6828
N595 X1.4994 Y2.5301 R6.1964
N600 G02 X1.6999 Y2.4183 R9.3121
N605 X1.8101 Y2.3533 R5.5039
N610 X1.8953 Y2.3001 R3.5424
N615 X1.967 Y2.2517 R2.0765
N620 X2.0153 Y2.2158 R1.1699
N625 X2.1068 Y2.1333 R0.9082
N630 X2.1792 Y2.0477 R0.8375
N635 X2.2828 Y1.8595 R0.8134
N640 X2.3326 Y1.6275 R0.7486
N645 X2.3337 Y1.5853 R0.8079
N650 X2.3224 Y1.4511 R0.8079
N655 X2.2656 Y1.2653 R0.7489
N660 X2.2047 Y1.1561 R0.7678
N665 X2.1235 Y1.0529 R0.8627
N670 X2.0481 Y0.9791 R0.9803
N675 X1.9 Y0.8738 R0.8861
N680 X1.783 Y0.8184 R0.8915
N685 X1.6879 Y0.7872 R0.9533
N690 X1.5947 Y0.7665 R1.0256
N695 X1.4987 Y0.754 R1.1289
N700 X1.4048 Y0.7495 R1.2646
N705 X1.2769 Y0.7533 R1.5294
N710 X1.1545 Y0.768 R1.3137
N715 X1.1169 Y0.7755 R0.5994
N720 X1.0652 Y0.7886 R1.4545
N725 X1.0035 Y0.8062 R3.0451
N730 X0.9178 Y0.8323 R5.3477
N735 G01 X0.8778 Y0.8449
N740 G03 X0.8141 Y0.8643 R3.7489
N745 X0.7463 Y0.883 R1.9284
N750 X0.7063 Y0.8919 R0.6973
N755 X0.7046 Y0.8923 R0.2122
N760 X0.6976 Y0.8562 R0.3834
N765 G02 X0.5739 Y0.7493 R0.125
N770 G01 X0.5212
N775 G02 X0.3962 Y0.8743 R0.125
N780 G03 X0.1462 Y1.1243 R0.25
N785 G11 P-05
N790 M5
N795 G91 G28 X0 Y0
N800 G90
N805 G11 P-05
N810 M30
%
Reply With Quote

  #3   Ban this user!
Old 02-10-2010, 07:32 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?

Copy the post and work on the original

find in the post this area
Code:
# --------------------------------------------------------------------------
# Toolchange / NC output Variable Formats
# --------------------------------------------------------------------------
fmt  T  4   t           #Tool Number
fmt  T  4   first_tool  #First Tool Used 
fmt  T  4   next_tool   #Next Tool Used  
fmt  D  4   tloffno     #Diameter Offset Number
fmt  H  4   tlngno      #Length Offset Number
fmt  G  4   g_wcs       #WCS G address
fmt  P  4   p_wcs       #WCS P address
fmt  S  4   speed       #Spindle Speed
fmt  M  4   gear        #Gear range
# --------------------------------------------------------------------------
fmt  N  4   n           #Sequence number
fmt  X  2   xabs        #X position output
fmt  Y  2   yabs        #Y position output
fmt  Z  2   zabs        #Z position output
fmt  X  3   xinc        #X position output
fmt  Y  3   yinc        #Y position output
fmt  Z  3   zinc        #Z position output
fmt  A  11  cabs        #C axis position
fmt  A  14  cinc        #C axis position
fmt  A  4   indx_out    #Index position

change the Z in the red areas to G11P
fmt G11P 2 zabs #Z position output
fmt G11P 3 zinc #Z position output

This should effectively replace any Z's in the program to G11P
( I don't think a space in the G11 P will work )
Reply With Quote

  #4   Ban this user!
Old 02-10-2010, 09:51 PM
 
Join Date: Oct 2007
Location: usa
Posts: 93
bullseye is on a distinguished road

I can't open a post....what do you need to open one
Reply With Quote

  #5   Ban this user!
Old 02-10-2010, 10:09 PM
 
Join Date: Nov 2003
Location: canada P.Q.
Age: 59
Posts: 84
valmet58 is on a distinguished road
post

just use notepad
__________________
Andy
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-10-2010, 10:50 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?

or the CIMCO editor that comes with Mastercam
Reply With Quote

  #7   Ban this user!
Old 02-11-2010, 02:11 AM
 
Join Date: Oct 2007
Location: usa
Posts: 93
bullseye is on a distinguished road

edited

Last edited by bullseye; 02-11-2010 at 07:46 PM.
Reply With Quote

  #8   Ban this user!
Old 02-11-2010, 03:33 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?

You have opened the TXT file, not the actual PST file. This sets the names in the buttons fields of the dialog boxes, you play with this file when advanced customizing your Mastercam ( this is window dressing, not used at all for getting NC code )

There should be another file with the same filename but a .PST extension. This is your post and is extremely touchy, edit only a small section and test--- Do NOT edit a large part in one go, It is very hard to find a missing comma so take it easy
Reply With Quote

  #9   Ban this user!
Old 02-11-2010, 07:01 PM
 
Join Date: Oct 2007
Location: usa
Posts: 93
bullseye is on a distinguished road

I can not open the pst file......can I upload the post and have you mod it for me
Reply With Quote

  #10   Ban this user!
Old 02-11-2010, 07:05 PM
 
Join Date: Oct 2007
Location: usa
Posts: 93
bullseye is on a distinguished road

nevermind...it won't upload

the mpfan post works on everything else but the P
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-11-2010, 07:15 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?
??

No show

You cannot attach a .PST file ?

You have to put it into a compressed or ZIP folder before attaching ( use the paper clip icon and "Browse" for that folder, then "Upload" to your message )
Reply With Quote

  #12   Ban this user!
Old 02-11-2010, 07:22 PM
 
Join Date: Oct 2007
Location: usa
Posts: 93
bullseye is on a distinguished road

ok...here ya go...Thanks alot
Attached Files
File Type: zip MPFAN.zip‎ (15.4 KB, 28 views)
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
HUST CNC control systems Jonne Product Announcements & Manufacturer News 9 11-01-2011 08:37 AM
HAAS TM1 / mastercam post needed buckrod CNCzone Club House 0 02-02-2010 03:30 PM
Needed Mastercam X Post for TNC 145 Joe_Leen Post Processor Files 5 10-31-2008 02:54 PM
Need Help!- puma 240 mastercam x post needed outcastproducts Daewoo/Doosan 5 03-29-2008 10:40 AM
MasterCam X Fanuc 10M Post needed jonesr Post Processor Files 0 04-10-2007 09:12 PM




All times are GMT -5. The time now is 04:05 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