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 > BobCad-Cam


BobCad-Cam Discuss all BobCad software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #13   Ban this user!
Old 02-26-2008, 07:08 AM
tjones's Avatar  
Join Date: Oct 2005
Location: USA
Age: 45
Posts: 851
tjones is on a distinguished road
Its in the post

It was simple to find.

Look in the Last tab (Prefixes) on the post editor.

There you see the prefix for Subprograms. Change the O to a N and you should have it.
Reply With Quote

  #14   Ban this user!
Old 02-26-2008, 07:29 AM
 
Join Date: Jun 2006
Location: USA
Posts: 39
Malish is on a distinguished road

I like the M97 command better then the M98 becasue it keeps the subprogram in the same file as the main program. It's kind of like the old GOTO commands in basic. when the controller reaches the M97 it skips ahead to the end of the program and finds the subprograms after the M30 of the main program. After it reaches the M99 in the subprogram it goes back and picks up where it left off in the mian program.

I actually got the % sign to go to the end by moving it from the End of Program section to the Program Trailer section. This places it at the end no matter what.

I got the "N" to post as the subprogram prefix by changing the line in the post using notepad.

645. Subprogram prefix? "O"

I change the "O" to "N" and it works fine now. This value didn't show up in the post editor so I had to do it manually in notepad.
Reply With Quote

  #15   Ban this user!
Old 02-26-2008, 07:32 AM
tjones's Avatar  
Join Date: Oct 2005
Location: USA
Age: 45
Posts: 851
tjones is on a distinguished road

If it did not show up in the post editor then it sounds like we have different editors.

Also if you wish to add the text to the sub call you can go to the 'Edit Code blocks' tab of the post editor then select 'Subprograms>Subprogram definitions'
change the line like this.

Code:
   " "
   sub_num_with_prefix" (SUBPROGRAM OF O", prog_n,")"
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 02-26-2008, 07:33 AM
 
Join Date: Jun 2006
Location: USA
Posts: 39
Malish is on a distinguished road

Originally Posted by tjones View Post
It was simple to find.

Look in the Last tab (Prefixes) on the post editor.

There you see the prefix for Subprograms. Change the O to a N and you should have it.
Cool, I see it now. Did not relize that that was what those were for.

I like this method of subprograms as long as your not using the same subprogram in other main programs. It's much easier to see what your doing and to edit if you have to.
Reply With Quote

  #17   Ban this user!
Old 02-26-2008, 07:41 AM
tjones's Avatar  
Join Date: Oct 2005
Location: USA
Age: 45
Posts: 851
tjones is on a distinguished road

The post editor is Bobcad's little known tool that most people are afraid of using.

What I did was make a copy of my original post and then edit that one (just in case I got it really screwed up. You can not mess up a copy because you can simply delete it.

SUsing the post editor you can also play with the code to determine if you messed up a internal procedure call. The editor changes valid commands to a blue color. If the text is black then it is not a valid command (variable).
Reply With Quote

  #18   Ban this user!
Old 05-01-2008, 04:26 PM
zephyr9900's Avatar  
Join Date: Feb 2006
Location: USA
Posts: 958
zephyr9900 is on a distinguished road

Where is the post editor for v20?

Thanks,

Randy
Reply With Quote

  #19   Ban this user!
Old 05-05-2008, 06:05 PM
zephyr9900's Avatar  
Join Date: Feb 2006
Location: USA
Posts: 958
zephyr9900 is on a distinguished road

Never mind...I'm new to Bobcad and didn't realize that there was no post configuration file (like the SheetCam and MeshCAM I'm used to) but a whole lot of little menu things to change... [sheesh--newbies ]

Randy
Reply With Quote

  #20   Ban this user!
Old 05-07-2008, 11:59 AM
 
Join Date: Jun 2006
Location: USA
Posts: 39
Malish is on a distinguished road

I have another question for everyone (I think it's along the same lines as my orginal post so I put it here).

Anyways, one of the things I always did was list the tools needed for the program at the top of the program so the operator can know what to put in what tool slots. Is there a way to make the post processor do this? It already puts it in the line when it is switching from one operation to another.
Reply With Quote

Sponsored Links
  #21   Ban this user!
Old 05-07-2008, 12:06 PM
 
Join Date: Jun 2006
Location: USA
Posts: 39
Malish is on a distinguished road

Never mind, I got it to work. I was using the wrong post processor and the one I was using didn't have the commands in there.
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
Editing post processor in v22 JDsto BobCad-Cam 1 01-21-2008 07:17 AM
Post Processor editing CNC_savant General Metalwork Discussion 2 04-02-2007 07:45 PM
camworks 2007 post processor editing clt1969 Solidworks 0 10-03-2006 09:16 AM
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 07:52 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 354 355 356 357 358 359 360 361