Results 1 to 2 of 2

Thread: post processor

  1. #1
    Registered
    Join Date
    Oct 2006
    Location
    austraila
    Posts
    2
    Downloads
    0
    Uploads
    0

    Question post processor

    I am setting up a post processor for an Anilam
    NC lathe using pro e.

    How can I edit the Post processor to output extra
    code when a tool change is required?


  2. #2
    Registered
    Join Date
    May 2007
    Location
    Taiwan
    Posts
    62
    Downloads
    0
    Uploads
    0

    Wink

    Use the Option File Generator to open the Post (Uncl.Pxx which you used ) and write FIL

    For your ref...

    CIMFIL/TURRET,ON
    Rslt=postf(20)
    TNUM=POSTF(7,4) $$ Tool Number
    OSET=POSTF(7,5) $$ Tool Offset
    Zgage=POSTF(7,6) $$ Z gage length
    Xgage=POSTF(7,7) $$ X gage length
    TURsid=POSTF(7,8) $$ Front or Rear Turret
    CALNUM=(TNUM*100)+oset
    CASE/XMODE
    WHEN/1
    IF(TVAL.EQ.1)THEN
    AUXFUN/9
    AUXFUN/5
    AUXFUN/1
    ENDIF
    RSLT=POSTF(21)
    CASE/TURSID
    WHEN/ICODEF(FRONT)
    TURID=1
    WHEN/ICODEF(REAR)
    TURID=0
    ENDCAS
    AUXFUN/9
    AUXFUN/5
    AUXFUN/1
    INSERT/'M69','$'
    INSERT/'G40G98','$'
    POSTN/IN,T,CALNUM
    Tval=1
    WHEN/2
    RSLT=POSTF(21)
    AUXFUN/9
    AUXFUN/5
    AUXFUN/1
    INSERT/'M69','$'
    INSERT/'G40G98','$'
    POSTN/IN,T,CALNUM
    POSTN/IN,G,28,H,0
    WHEN/3
    RSLT=POSTF(21)
    AUXFUN/9
    AUXFUN/5
    AUXFUN/1
    INSERT/'M69','$'
    INSERT/'G40G98','$'
    POSTN/IN,T,CALNUM
    POSTN/IN,G,28,H,0
    ENDCAS
    CIMFIL/OFF


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.