![]() | |
| 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
| |||
| |||
| Manufacturer's Tool Code I am having a problem gettng the Manufacturer's Tool Code to post, could someone please help. Thanks, ED |
|
#2
| ||||
| ||||
| I'm posting it from my setup sheet post, I'll look in the morning.
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| ||||
| ||||
| Back up your post! ![]() First you have to Set the switch to Yes. If this switch isn't in your post, add it somewhere in the "General Output Settings" section of the post. Code: show_tool_mfg : yes #Output the tool definition - 'manufacturer' data? Code: # -------------------------------------------------------------------------- # Access tool data strings from NCI '20000' series parameters # -------------------------------------------------------------------------- stl_mfg_com # 'tool mfg comment' from tool Code: pparameter # Read in the 20000 series 'additional parameters' from OPS file ()
# 20002 = tool definition - 'manufacturer' data
if (prmcode = 20002),
stl_mfg_com = sparameter #Save string for output later Code: # =================================================================== # Output all tool data on one line. ";" as delimiter # =================================================================== if stl_mfg_com = "", stl_mfg_com = "Un-defined" if opcode <> 3, # If drill cycle, insert "00" for tloffn [ *t, ";", *tldia, ";", *tl_num_flutes, ";", *tlngno, ";", *tloffno, ";", tl_overall_len, ";", tl_flute_len, ";", min_depth, ";", *strtool, ";", stl_mfg_com, E ] else, [ *t, ";", *tldia, ";", *tl_num_flutes, ";", *tlngno, ";", "00", ";", tl_overall_len, ";", tl_flute_len, ";", min_depth, ";", *strtool, ";", stl_mfg_com, E ]
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#4
| |||
| |||
| Thanks Matt, I'll give it a try. Just one question. Are the "show_tool_mfg" and "tl_mfg_com" Mastercam variables? Ed |
|
#5
| ||||
| ||||
| You're welcome, Ed. "show_tool_mfg" is a switch, (On/Off) and "stl_mfg_com" is the variable that holds the current value. (note that the latter begins with an "s", which indicates a "string" variable) Let me know how if it works out. Did you back up your post??
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
| Sponsored Links |
|
#6
| |||
| |||
| Yes I backed up my post, I'm still learning. This worked great! How do you know that "show_tool_mfg" is a switch, for Manufacturers Tool Code and "stl_mfg_com" is the variable for the same. Is there as list or table that references this information, I do have the post help CD from my dealer but haven't got that far yet. Once again, Thanks a million Ed |
|
#7
| ||||
| ||||
| The way things are used tells you what they are, (usually). The "YES" after the name told me it was a boolean switch. (It's been a couple years and I don't remember where I found it). I use "s" in front of any variables to tell me it's a string variable. (Might be mandatory in MP language, not sure.) I don't have the CD so I don't know if there's a full list. I would guess there is. Do you know how to use debugging? It posts out after each line in the NC file where in the post that particular line was created. It will help you greatly in learning to edit posts. If you have more ?'s or !'s, let me know.
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
![]() |
| 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 |
| HELP Tool changer problems | ddprecision | Haas Mills | 9 | 01-14-2011 05:24 PM |
| Tool length sensing! | Swede | FlashCut CNC | 15 | 10-12-2005 08:51 PM |
| parametric programming | Karl_T | CamSoft Products | 21 | 05-24-2005 03:58 PM |
| Miniature Automatic Tool Changer | 1ctoolfool | Product Announcements & Manufacturer News | 1 | 04-18-2005 06:56 AM |
| Tool Changer Problems | Snel | Haas Mills | 5 | 08-11-2004 09:56 AM |