Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Karl@CP PISTONS

Verified Members
  • Posts

    300
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Karl@CP PISTONS

  1. Update: Received a StarTec KVM switch. It has Dual Monitor switching + 4 port USB hub switching and audio switching. I put My Mastercam dongle on it and it works pretty well. As long as I do not have Mastercam running it will switch very well. If I forget to close mastercam when it switches running copy will of course report that the sim has been disconnected. Even after I switch back it will not recognize the sim until I restart. Wireless Mouse switches no problem. If I had to find something to complain about it would be the cable nightmare. Was like wrestling a greased octopus. Karl
  2. Hey all, IT department is going to get a KVM switch to use dual computers here at work. Anybody have any experience in putting the masterCam dongle on it. Will it switch correctly and allow me to use Mastercam on either computer? I understand it will not run both at the same time. Also will a wireless mouse also work? It has a usb receiver that will need to be switched. Karl
  3. Worst was BRAND NEW horizontal, Forman ran 6" face mill into tombstone at full rapid. Hit so hard the tombstone was knocked over inside the machine. Had to get the forklift to lift it off before any repairs we even started. Just about every piece underneath the tombstone had to be replaced. I heard it was $80,000 + in 1990 dollars. Everybody in the shop thought it was a car crashing into the shop.
  4. Check out Harvey Tool company. They have a large selection of small / long reach tools.
  5. The format statement did the trick! Sorry but the cut and paste did not show the indention properly. Thanks a million
  6. More for simplicity I think. This is for a classroom environment and with the misc text it describes what to input, seems to be easier to relate P10 with a mi5 = 10 rather then work offset #15.
  7. I am trying to have the mi variables work to set the extended offset if needed. This is a modified HAAS post. I have the misc page set up with additional text correctly (see screen shot attached). I can't seem to remember what I need to get the mi5 to output correctly;( Here is what I have in the post: if mi4$ = 1, #use extended offset [ extoffsetnum = mi5$ "G154 P", extoffsetnum #output extended offset ] and here is the output : N120 T116 M6 N130 G0 G90 G154 P extoffsetnum 10. X2.0359 Y.5566 S6000 M3 N140 G43 H116 Z.25 I would like it to just output "G154 P10" or whatever number is in mi5 Thanks Karl
  8. I've always used the Create - Next Menu - Add-ins - McamVB. This opens a dialog where you can Create a new script or Edit an existing script or Run an existing script. There are lots of example scripts in the mcam9\VB folder. Karl
  9. Thanks rocheey1, Do you know if there is some documentation as to all the mastercam toolpath types that available? Karl
  10. Hi All, If I have an array of all operations in the operation manager, What method or function is there to detirmine if the operation is a contour, circlemill, pocket, surface rough etc.... I'm looking for something like this: If MyOperation(1) = pocket then Do Something here like change pocket depth Elseif Myoperation(1) = Contour then Do something else like change tool number End if Using vb.net (express version) Thanks Karl
  11. rocheey1, Thanks for the help. I took what you posted and it worked as advertised...... Like always this forum Rocks..... Karl
  12. Thanks for the reply. I was looking for something using mastercam VBA but maybe this can be made to work. I'll try to massage this and if I come up with anything I'll post here. Karl
  13. Hi All, I have the following snippet: bRet = AskExcelValue(strCellF, dblBarrelPosition)' Grab barrel Position (Z Value for the Lathe) If bRet = False Then ' Exit clean if value in column F is not a valid input ShowString(" Incorrect Value in cell " & strCellF ) Exit Do End If Question is Is there any way to get a value from the a specific sheet? the excel file will have 4 different sheets that I need to retrieve values from. I will have the name of the sheet already Thanks Karl
  14. I did 6 years with Budnik Wheels here in SoCal. Now making Pistons for mostly Race cars and Boats..... Where did you make wheels at? Karl
  15. When I was turning wheels we used a lot of iscar face grooving tools. The depth and diameter of the cut is critical to selecting the correct tool. Here is a link: Iscar Face / Turn Karl
  16. Thanks for the info. It is good to know that the it dept is thinking of moving us up and out of the XP world. Karl
  17. Sorry Roger, These are mastercam VBA scripts. Some of them use the CreateObject("Scripting.FileSystemObject") and CreateObject("ADODB.Connection"). That is what got me thinking that windows version might cause some difficulties. Karl
  18. Our it dept is asking questions that I have no idea how to answer. We have some scripts that are critical to our day to day operation. Question is these scripts were developed using X4 and X5 under windows XP. Will these transfer into windows 7 64 bit without incident? Anything I need to look out for specifically? Karl
  19. You are welcome. There are not to many of of who spell their names correct!
  20. First you need to change the actual material in mastercam. Do this by going to the machine group properties and selecting the Tool Settings tab. Make sure that The Feed Calculation is set to From material. Then change material to correct material. Right click on one or more operations select from the menu - Edit selected operations - Recalculate feeds/speeds. Rebuild and verify the new feed and speeds. If you know what speed / feed you want you could edit all the operations at once by selecting the ops. Right clicking select edit selected operations / edit common parameters Karl
  21. Roger, Thanks for the reply but it is still not working. It's funny that the editor will highlight as blue the try and catch so the editor "knows" about try/catch. If I remove the end sub I get this error when script is ran: Microsoft VBScript compilation error Expected 'Sub' IActiveScriptSite:OnScriptError() Line: End Catch
  22. I am having an error when I run a script using the try / catch / end catch features. The MC Script Editor correctly highlights the lines but the script will not run with these lines. If I remove the try/catch all is well until the Set sqlJobLookup has an error. Here is the offending code: Try Set sqlJobLookup = objCn.Execute("SELECT * FROM [Job Order Entry] WHERE JobID = " & JobNumber) Catch Call DisplayUserMessage("Error connecting to the Database!") End Sub End Catch Is the Try / Catch not implemented in mastercam? Thanks Karl
  23. From the MC macro help page: Use this dialog box to create, edit, and delete macros. This utility is limited to certain uses. How do I actually edit a recorded macro? There does not seem to be any way except to re-do the macro. Karl
  24. I'd try www.Harveytool.com If they do not stock it as standard they will make it for a reasonable price. They Specialize in small tools like this. Karl

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...