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 07-24-2008, 01:33 PM
bugzpulverizer's Avatar  
Join Date: Dec 2007
Location: U.S.A.
Posts: 57
bugzpulverizer is on a distinguished road
Need help editing post

Right now I have a post that I have edited a little and it has a tool list in the beginning. I've been successful in getting it to list correct tool numbers in order they are used, but would like it to print the comment for the tool that I give it in Mastercam. I would like it to go between the equal sign and the 2nd parantheses. Here is what I have:

(XXX )
(P/N
(BOGLINO - DATE
(********************)
( T03= )
( T07= )
( T11= )
( T12= )
( T10= )
( T09= )
( T14= )
( T15= )
( T16= )
( T01= )
(********************)

It is an Okuma post, from version 9. I use both 9 and x2, but when I get it right I will just update it for x2. Thanks in advance.
Reply With Quote

  #2   Ban this user!
Old 07-25-2008, 09:17 AM
bugzpulverizer's Avatar  
Join Date: Dec 2007
Location: U.S.A.
Posts: 57
bugzpulverizer is on a distinguished road

I have put asterisks in post and succeeded in getting them around where I want tool comment to go. Here is what I am getting:

(XXX )
(P/N
(BOGLINO - DATE
(********************)
( T07=* *)
( T18=* *)
( T11=* *)
( T12=* *)
( T10=* *)
( T09=* *)
( T14=* *)
( T15=* *)
( T16=* *)
( T01=* *)
(********************)

Here are the two places I put the asterisks in the post:

fmt "T" 4 tnote "=*" # Note format
fmt "DIA. OFF. - " 4 toffnote # Note format
fmt "LENGTH - " 4 tlngnote # Note format
fmt "TYPE- " 11 tldia # Note format

This is toward beginning of post, and here:

pwrtt # Write tool table, scans entire file, null tools are negative

tnote = t
toffnote = tloffno
tlngnote = tlngno
if t >= 0, "(", tnote, "*)"
if t >= 0, tcnt = tcnt + 1

Which is the last thing before the # questions at the end of the post. As post is reading the tool numbers, and putting them in order at beginning of my program, I want it to read the coinciding tool comment I enter in Mastercam, and print it in the tool list. Thanks in advance for the help.
Reply With Quote

  #3   Ban this user!
Old 07-30-2008, 07:55 PM
 
Join Date: Jul 2008
Location: USA
Posts: 5
robmints is on a distinguished road

bugz, I got nothing for you. I have a copy of mpmaster off the net that is pretty complete and has some descriptions of what some of the tags are. It's easy to find, I got it at http://www.emastercam.com/posts/mpmaster/mpmaster9.html.

But, if you would be so kind, I would love to have a copy of your mc v9 .pst & .txt for okuma. I use osp700m and osp5020 and they seem to be able to use the same code. But I am having a difficult time modifying the mpmaster and an even harder time finding a mc v9 okuma post. If you would help my email is robmints@qis.net and if you choose not to I'll understand 100% and just keep looking and working. Wish I could help with the descriptions in the call out, it would be handy and should be in there anyway, I hope you figure it out or get some real help.
Reply With Quote

  #4   Ban this user!
Old 08-03-2008, 12:19 PM
Alex_Cole's Avatar  
Join Date: Mar 2005
Location: usa
Posts: 189
Alex_Cole is on a distinguished road

I believe the code you are looking for is the strtool variable. I do not have a copy of your post so I don't know what you have in it. here is a post block that formats the tool comment.


pstrtool #Comment for tool
if strtool <> sblank,
[
strtool = ucase(strtool)
*strtool, " "
]


You need to make modify your line to look like the following.

if t >= 0, "(", tnote, pstrtool, ")"

and add the pstrtool postblock code I posted above into your post.

This should get you closer to what you want.

AC
__________________
AC
Has anyone seen my pillow?
Reply With Quote

  #5  
Old 08-05-2008, 12:31 AM
Mike Mattera's Avatar
Gold Member
 
Join Date: Mar 2006
Location: USA
Posts: 1,010
Mike Mattera is on a distinguished road

I think there's another section that you have to have for "strtool" to actually have a value (i.e. the tool name). Theres a pparameter sections that calls a 91000 parameter and loads the tools data into a list of variables. I think. I know I have it in my posts. My posts print out a tool#/offset#/Name list at the beginning.

Mike Mattera
__________________
Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
http://www.tipsforcadcam.com
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-25-2008, 11:35 AM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

Are you looking for something like this?

3/19/2003 2:52:18 PM
ABC EWA-7647 1-3/4 IN. 52100 MAKES 5 #3 T42
REV. D

T0101 BARSTOP
T0303 3/4 IN. BORING BAR CPGT-3251LF KC730
T0404 35 DEG. PROFILE TOOL VNMG-332PF 4015
T0505 3/4 IN. BORING BAR CPGM-3252 KC935
T0707 1/2 IN. GROOVE BAR NTK2L KC730
T1111 .937 INSERT DRILL
T1212 CUT-OFF T00L N151.2-250 4E 4125
*

Our DNC doesn't output anything to the machines until it sees the asterik. That is why we were able to delete the parenthesis signs from the header.

There are several places in the program where it has to be modified. Our dealer set ours up for v9. When we converted to X, they had to do it again as several of our posts were old enough not to update to X. Different guy the last time, and so I wound up having to make some modifications to get it back to where it was in v9.

Doubt I could tell you where to look to make the changes, but might be able to help if I had your post and an example of what you want it to look like...maybe!
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
Post Editing Help 2 jeffliu2 GibbsCAM 7 03-30-2008 12:34 AM
Post Editing Help! jeffliu2 GibbsCAM 4 02-25-2008 07:24 PM
Post Editing jybute GibbsCAM 2 09-16-2006 04:44 PM
Help with Editing a Post Chris Rand Post Processor Files 6 06-05-2006 03:07 PM




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