Results 1 to 3 of 3

Thread: Add P2 to G30 line in lathe post

  1. #1
    Registered
    Join Date
    Feb 2005
    Location
    USA
    Posts
    24
    Downloads
    0
    Uploads
    0

    Add P2 to G30 line in lathe post

    I have two situations, after each tool I like to go to a G30 position (just clear of the part) to index the turret and at he end of the program go to the G28 (Home) position to change the part. How do I add a P2 to the post when I select G30 in the Misc. Interger section. I am using Mastercam X6 and the post is a MLFAN.


  2. #2
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    I started to look at this for you, but my weekend has started now. I am going to drink beer.
    http://www.kirkcon.com/


  3. #3
    Registered
    Join Date
    Feb 2005
    Location
    USA
    Posts
    24
    Downloads
    0
    Uploads
    0
    Figured it out!!

    if ref_ret = one, pcan1, pbld, n$, *sg28ref, "U0.", "W0.", "P2",
    pnullstop, strcantext, e$
    else,
    pbld, n$, *sg28ref, "U0.", "W0.",


Similar Threads

  1. Replies: 17
    Last Post: 06-22-2011, 09:24 PM
  2. Replies: 0
    Last Post: 06-11-2011, 12:34 PM
  3. Problem- Can't remove post line #'s using postform.m
    By MrBoss8 in forum Surfcam
    Replies: 12
    Last Post: 10-03-2009, 08:36 AM
  4. Replies: 5
    Last Post: 11-11-2007, 02:38 PM
  5. How to edit post to add a command line at .nc
    By ekit in forum Post Processor Files
    Replies: 0
    Last Post: 01-08-2006, 07:15 AM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.