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 05-16-2009, 07:26 AM
 
Join Date: Feb 2008
Location: usa
Posts: 14
t.lewis is on a distinguished road
Mastercam & Haas TL-2

Mastercam X3MU1. Haas TL-2 with turret and tailstock.New 1 1/2 months ago. Still trying to get a fully working post for my TL-2 Hass lathe. Have contacted my reseller about issues I am having and they keep telling me they are working on it. I still can not thread using canned cycle (unless I edit the NC file) but it will do it in boxed. I am unable to select Home possition, the post always sends turret to machine home to change tools and that does not work well when you need the tailstock. I have been able to edit the NC file to insert my selected home position but it is a pain when you have to do that every time. Thanks for all the responces.
Reply With Quote

  #2   Ban this user!
Old 05-17-2009, 12:12 AM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?

We do try to help whereever possible,
*****Remember COPY YOUR POST before doing any alterations****
and TEST it very often. ( finding that a comma or a $ is missing is hard when major changes have occured ).
if the altered post stuffs up, it is easier to restore the last good post.

What basic post has been adapted to your HAAS ?
Paste in the top 10 lines


also show us what you need altered ( eg from this to be this )

Code:
This is what is posting
Code:
I want this
We will try to suggest the best way to guide you to altering your post
Reply With Quote

  #3   Ban this user!
Old 05-17-2009, 06:29 AM
 
Join Date: Feb 2008
Location: usa
Posts: 14
t.lewis is on a distinguished road

Here is a copy of what works and what does not,
First working post. (edited by me to sent turret to selected home)

G29X5.12Z0.M05 ( first edit point )
T0100
M01
(TOOL - 2 OFFSET - 2)
(OD FINISH RIGHT - TRIANGLE INSERT - TNMG332FF)
G0T0202
G97S500M03
G0G54X.5752Z0.
G50S500
G96S5000
G1X.3752F.0025
Z-.5669
X.4375
G3X.5Z-.5981R.0313
G1Z-1.8154
X.5359
G3X.5984Z-1.8466R.0313
G1Z-3.7391
G2X.8613Z-3.9304R.2049
G3X.8884Z-3.9406R.0313
G1X.9871Z-4.0047
G3X1.Z-4.0237R.0313
G1Z-6.4803
X1.625
X1.7664Z-6.4096
G29X5.12Z0.M05 ( second edit point )
T0200
M30

original post

G28U0.W0.M05 ( section that sends turret to machine home )
T0100
M01
(TOOL - 2 OFFSET - 2)
(OD FINISH RIGHT - TRIANGLE INSERT - TNMG332FF)
G0T0202
G97S500M03
G0G54X.5752Z0.
G50S500
G96S5000
G1X.3752F.0025
Z-.5669
X.4375
G3X.5Z-.5981R.0313
G1Z-1.8154
X.5359
G3X.5984Z-1.8466R.0313
G1Z-3.7391
G2X.8613Z-3.9304R.2049
G3X.8884Z-3.9406R.0313
G1X.9871Z-4.0047
G3X1.Z-4.0237R.0313
G1Z-6.4803
X1.625
X1.7664Z-6.4096
G28U0.W0.M05 ( this section sends to machine home )
T0200
M30

Thanks

Last edited by t.lewis; 05-17-2009 at 06:34 AM. Reason: Additional inf. Original post was for a 2 axis slant bed i was told
Reply With Quote

  #4   Ban this user!
Old 05-17-2009, 08:02 AM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?

Lets see if I can instruct some post reading / writing basics

pbld=block skip, n$=sequence number, e$=end of line
note, the comma is critical.

look in your post for this area
the pheader is obvious
next, "lsof0" =lathe start of file 0, it has a branch to "lsof", followed by "ltlchg".
Can you follow this general structure ?
Code:
pheader         #Start of file                         
      "%", e$
      *progno, e$
      pbld, n$, *smetric, e$      
      "(PROGRAM NAME - ", progname, ")", e$
      "(DATE=DD-MM-YY - ", date, " TIME=HH:MM - ", time, ")", e$
        
lsof0           #Start of file for tool zero, lathe                        
      lsof

lsof            #Start of file for non-zero tool number, lathe
      sav_cc_1013 = cc_1013                                   #eap 1/17/03
      ltlchg

ltlchg          #Toolchange, lathe                                        
      toolchng = one 
      gcode = zero
      copy_x = vequ(x)
      pcc_capture   #Capture LCC ends, stop output RLCC
      c_rcc_setup   #Save original in sav_xa and shif

now your changes relate to toolchanging befor and after running an operation with the same tool

find in your program the part that would output the G28
it would look like this
Code:
    pbld, n$, *sg28ref, "U0.", "W0.", e$
now insert some sort of indicator and post
Code:
    pbld, n$, *sg28ref, "U0.", "W0.", "...#1...", e$
The other is in the retract or endoftool section, use same method to find and then alter to suit

BTW -- these alterations will apply to every operation you post, every tool you use external and internal, I suggest using different codes in your program

ie
G28 U0. Z1. ( home in X and 1" off in Z0 )

it would also act as a check that tool has been set in Z or that the part origin has been set

Code:
      pbld, n$, *sg28ref, "U0. Z1.",e$
my suggestion
Reply With Quote

  #5   Ban this user!
Old 05-17-2009, 11:52 AM
 
Join Date: Feb 2008
Location: usa
Posts: 14
t.lewis is on a distinguished road

Superman
I have found everything you are talking about and will be able to try my Tuesday. I got a funeral Monday. Shouldn't mastercam do this for me when I pick Home Position - user defined, and select a point were i want the turret to home to before tool change.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-18-2009, 04:54 AM
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 a "user defined Home Postion"

BUT, if you notice in your post
pbld, n$, *sg28ref, "U0.", "W0.", e$
this ouputs your G28 and whatever string is in quotes "", is what is put into the NC file

if you turn on block skip and post the code, you will get
/ N1 G28 U0. W0.

Did you notice in my 1st post, how I showed how to output an indicator ?
pbld, n$, *sg28ref, "U0.", "W0.", "...#1...", e$ (in the post)
/ N1 G28 U0. W0. ...#1... ( is in your NC code )
Reply With Quote

  #7   Ban this user!
Old 05-21-2009, 05:35 AM
 
Join Date: Feb 2008
Location: usa
Posts: 14
t.lewis is on a distinguished road

Sorry for taking so long to get back to you.
I could not reproduce your indicator in my post output so I must be missing something or doing something wrong. Do the U & W represent X & Z incremental from machine home? I will keep working on it till I get it. Thanks
Reply With Quote

  #8   Ban this user!
Old 05-21-2009, 06:44 AM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?

Do a search for sg28ref , as there may be more,
***leave the 2 up in the format statement area untouched***
( also serialise the indicators ie 1,2,3 easier to see which one creates that output )

The # is the start of a comment line, so don't put the "indicator" after one of those.
ie
"--123--", e$ # comment area
-in front of the # will be run through the post and you will get --123--
-behind is only a reference for reading the post by you

more info for you
The G28/G30 output is controlled by Misc. Interger #3, and should be set to zero for G28
The * ( asterisk ) in the post forces the output to the NC code, ( restates that item )
Reply With Quote

  #9   Ban this user!
Old 06-06-2009, 06:39 AM
 
Join Date: Feb 2008
Location: usa
Posts: 14
t.lewis is on a distinguished road

I finaly got something to work. Still going to try to keep learning how the post works so i can edit it and now what i'm doing. Thanks for the help.
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
someone used mastercam for haas tl series alain aleman Post Processors for MC 2 02-16-2010 05:38 PM
MasterCam/HAAS Tl-1 G-Code Question jmanjohns Haas Lathes 2 02-02-2009 07:36 AM
Haas TL1 Mastercam x2 postproc kiwigips General CNC (Mill and Lathe) Control Software (NC) 2 11-18-2008 12:11 PM
Need Help!- Need post for mastercam 9.1 for cnc haas lathe katsbobo Post Processors for MC 0 08-23-2008 05:47 PM
Mastercam 7 portprocessor for Haas Goldeneaglemfg. Haas Mills 3 11-21-2005 03:36 PM




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