![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| PTC Pro/Manufacture Discuss PTC Pro/Manufacture software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |