![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| BobCad-Cam Discuss all BobCad software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#14
| |||
| |||
| 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. |
|
#15
| ||||
| ||||
| 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,")" |
| Sponsored Links |
|
#16
| |||
| |||
| 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. |
|
#17
| ||||
| ||||
| 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). |
|
#20
| |||
| |||
| 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. |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |