![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| SolidCam Discuss SolidCam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Can anyone help with editing the std Fanuc gpp file. I notice that the tool change does not pre-select the next tool. There are parameters for Next_Tool_Type but what format do you need to have this in to make it work? |
|
#2
| |||
| |||
| Download the GPP users manual from the SolidCAM website, you will find it invaluable. Happy Christmas Bob |
|
#4
| |||
| |||
| @init_post ;Declare variables global logical first_rapid global ..... The manual covers it in the Variables chapter. From memory, what you want is to (a) create a global logical (boolean) variable called "first_rapid" or some such. (b) set this variable to true at the end of @change_tool (c) add to @rapid_move the calls that you want with if first_rapid eq true {"T" next_tool} endif Then (d) at the end of @rapid_move set first_rapid to false. The above should then add a tool call to the first rapid move after tool change. You might find that some of this is already there if your post calls an M3 in the first rapid move. All the best |
|
#5
| |||
| |||
Bob I've come up with a solution for next tool call. After the line {nb, 'M6 T'tool_number} add {nb, 'T'next_tool_number} this seems to work okay except for programs with only 1 tool as it calls the the selected tool as the next tool. ie: M6 T1 T1 Is it possible to use logic in this line such as if 'T'next_tool_number does not equal T'tool_number 'T'next_tool_number. I can see you can use the symbol = but I cannot see a method of stating not equal |
| Sponsored Links |
|
#6
| |||
| |||
"Not Equal" can be expressed in two ways either "ne" or the mathmatical "<>" as shown thus if next_tool_number ne tool_number or if next_tool_number <> tool_number There is also the NOT logical operator, but I haven't used that one very much and therefore I am not confident in its correct usage. |
![]() |
| 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 |
| Need Help!- Need file Fanuc 18Mc Nc-basic | Osmanselim | Fanuc | 4 | 02-25-2009 12:00 AM |
| Need Help!- EDITING WITH FANUC LADDER III | CHAD LAWSON | Fanuc | 2 | 01-30-2009 07:36 AM |
| Need Help!- SAVE FANUC 21i NC FILE TO CARD READER | Bigbill | Fanuc | 3 | 02-01-2008 03:05 PM |
| file retrieval on fanuc control | Bigbill | Daewoo/Doosan | 5 | 11-01-2006 04:19 PM |
| Fanuc ladder editing card | bob1371 | Fanuc | 1 | 04-10-2006 11:50 AM |