![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
for example, my post generates N120 T23 M06 (2" 90Deg F/MILL) N130 G00 G17 G90 X-3.49 Y-1.1 S750 M03 But I would like to be with a M01 after the tool change... N120 T23 M06 (2" 90Deg F/MILL) N130 M01 N140 G00 G17 G90 X-3.49 Y-1.1 S750 M03 how can I do this? |
|
#2
| ||||
| ||||
| This will not be hard to do but how you need to do it will be determined by where your post is from. If it is from Inhouse Solutions then they have a seperate postblock in most of there posts where the tool is output. The Mastercam posts that come with the software are like the following. Under a postblock called "psof" look for the following code ptoolcomment comment$ pcan pbld, n$, *t$, sm06, e$ pindex -------------------------------- Now make it look like this ptoolcomment comment$ pcan pbld, n$, *t$, sm06, e$ pbld, n$, "M01", e$ pindex ----------------------------------- Then you will have to change it in the "ptlchg" postblock like below. ----------------------------------- Look for this code: ptoolcomment comment$ pcan result = newfs(15, feed) #Reset the output format for 'feed' pbld, n$, *t$, sm06, e$ pindex sav_absinc = absinc$ if mi1$ > one, absinc$ = zero and make it look like this: ptoolcomment comment$ pcan result = newfs(15, feed) #Reset the output format for 'feed' pbld, n$, *t$, sm06, e$ pbld, n$, "M01", e$ pindex sav_absinc = absinc$ ------------------------------------ It is important to note that I omitted large ammounts of code from these postblocks. These are just examples. A postblock is a labeled block, or series of lines, of MP language code in the post customization file (.PST file). The post executable file (the .DLL file) interprets the code in the postblocks to create a list of instructions that produce the NC output, perform calculations and call other postblocks. These blocks of MP language code produce the NC output. This should get you pointed in the right direction AC
__________________ AC Has anyone seen my pillow? |
|
#4
| ||||
| ||||
| Inhouse usually uses a postblock that looks like the following. ptoolcall #Tool Change Logic if stagetool >= zero, [ pheads_down if ra_type$ = three, [ sav_t = bdrl_tool_no$ ptools_down ] else, [ if omitseq$ = 1 & tseqno > 0, [ if tseqno = 2, n$ = t$ pbld, *n$, *t$, "M06", *speed, ptoolcomm, e$ ] else, pbld, n$, *t$, "M06", *speed, ptoolcomm, e$ ] ] You would need to change it to look like this. ptoolcall #Tool Change Logic if stagetool >= zero, [ pheads_down if ra_type$ = three, [ sav_t = bdrl_tool_no$ ptools_down ] else, [ if omitseq$ = 1 & tseqno > 0, [ if tseqno = 2, n$ = t$ pbld, *n$, *t$, "M06", *speed, ptoolcomm, e$ pbld, n$, "M01", e$ ] else, [ pbld, n$, *t$, "M06", *speed, ptoolcomm, e$ pbld, n$, "M01", e$ ] ] ] This may help This forum for some reason is messing up all the spacing in this code but you should be able to make sense of it. AC
__________________ AC Has anyone seen my pillow? |
![]() |
| 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 |
| X3 Tool change... Ugh! | AirHog | Benchtop Machines | 8 | 12-18-2010 01:07 PM |
| Need Help!- v21 tool change help | woffler | BobCad-Cam | 0 | 06-12-2008 07:38 PM |
| Very slow tool change on Tool Room Mill | Capt Crunch | Haas Mills | 3 | 12-21-2007 12:20 PM |
| How to change Tool change position(About MAZATROL T1 control) | liushuixingyun | Mazak, Mitsubishi, Mazatrol | 5 | 07-07-2007 02:58 PM |
| Adding a manual gear change call | MILLMANM | Post Processors for MC | 5 | 01-04-2005 10:05 PM |