584,817 active members*
4,841 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > CamWorks > My First Mill/Turn Post
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2008
    Posts
    4

    My First Mill/Turn Post

    I am trying to make my first mill/turn post for a Haas ST30Y and running into a couple issues.

    First question... I'm using the tutorial 5 axis post source as a starting point. Is that a good idea or is there a better source file to start from?

    Second question: Trying to understand how they calculate things between all the different files. I'm trying to put the live tool rpm in with a P instead of an S. How do I get the variable for the Spindle speed? I tried this:

    Code:
    :T:IF OPR_SPEED>0 THEN <N><G!:97><M!:SPINDLE_DIR><P!:OPR_SPEED_RPM><EOL>ENDIF
    in my :SECTION=SUB_TOOL_CHANGE_MILL and get this output:

    Code:
    G97 M133 P1   (<--Supposed to be P5000)
    The tutorial Post uses <S!> to output S and the spindle speed (S5000 in this example). I can't follow exactly what is happening with it. I think that it is calling the attribute S in the millturn.lib file which is calling the CALC_DEC_REGISTER section? I tried imitating this with a P attribute but didn't work out for me.

    Any help would sure be appreciated.

  2. #2
    Join Date
    Oct 2008
    Posts
    4

    Re: My First Mill/Turn Post

    I answered one of my questions. The mill spindle speeds are a different system variable than the lathe spindle speeds so this worked:

    Code:
    :T:IF OPR_SPEED>0 THEN <N><G!:97><M!:SPINDLE_DIR> P<%:OPR_SPEED><EOL>ENDIF
    and gave me the code I was expecting:

    Code:
    G97 M133 P5000
    I had tried this before the op but I didn't have the integer casting % in front of it so it didn't work.

    I'd still love some input on my other question... Is the tutorial mill/turn post the best way to start a new mill/turn post processor file? Are there any major known issues with it? With 3 axis mill and 2 axis lathe posts, I have always started from a file generated in the UPG but it seems that option isn't available for mill/turn and the tutorial ones are the only ones I can find to start from. We've been using HSM Works for the past few years and I got spoiled because they have a slew of posts available in source code that can be easily modified in java. I haven't written a CAMWorks post for about 10 years so I'm a little rusty with this frustrating mess.

    Thank you much,
    Ryan

  3. #3
    Join Date
    Dec 2010
    Posts
    126

    Re: My First Mill/Turn Post

    You're probably well beyond this point by now. Sorry for the underwhelming response here. CAMWorks seems to be more and more of a niche product despite it being adopted by Solidworks themselves. I'm getting back into CAMWorks at my new job so I'll try to be here on the forum more often to help out.

    Regarding your post question, when I create a new post I always start with a fresh template from the latest version of the Universal Post Generator. I also copy the latest Mill.LIB, Lathe.LIB, etc as well as the Master.ATR from the UPG folder into the post-specific folder and direct the .SRC file to those instead of the originals. Geometric occasionally releases new files and I want any customization I've made to be retained.

    If the post you're using allows you to use all the features you need and is close to the format you want then I'd say use that instead. I think the tutorial files used to prevent you from posting code, but it sounds like that is not the case anymore?

  4. #4
    Join Date
    Oct 2008
    Posts
    4

    Re: My First Mill/Turn Post

    Thank you for the reply. I couldn't ever figure out how to use the UPG to start a mill/turn file. As far as I can tell, it works for mill posts or lathe posts, but not live tooling lathes (mill/turn).

    I've got my post about 99% ready now starting from the tutorial source files. By default it did some pretty stupid stuff that would have caused crashes, but I think I'm slowly working my way through the bugs.

    Thanks again.

  5. #5
    Join Date
    Nov 2012
    Posts
    1

    Re: My First Mill/Turn Post

    Hi Ryan,
    Please tell me please if you can help with your post for HAAAS ST30-Y for CamWorks. We have a new machine and need to start some how.

    Thank you.

  6. #6
    Join Date
    Apr 2020
    Posts
    7

    Re: My First Mill/Turn Post

    You helped me a lot with this post!

Similar Threads

  1. Replies: 0
    Last Post: 04-01-2016, 07:55 PM
  2. Replies: 0
    Last Post: 04-01-2016, 07:52 PM
  3. Help with Turn/Mill post
    By dan@cnc in forum FeatureCAM CAD/CAM
    Replies: 0
    Last Post: 10-14-2015, 04:32 PM
  4. Post For Mill Turn
    By jonnyrocket56 in forum Surfcam
    Replies: 5
    Last Post: 10-25-2012, 12:51 PM
  5. Mill Turn post
    By phoodieman in forum Post Processors for MC
    Replies: 6
    Last Post: 05-13-2010, 01:29 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •