2D turning post processor for powermill 2017

2D turning post processor for powermill 2017

Anonymous
Not applicable
15,962 Views
25 Replies
Message 1 of 26

2D turning post processor for powermill 2017

Anonymous
Not applicable

Hi is there a 2D turning post processor for powermill 2017? We have a Mazak 3 axis Lathe that uses the C-AXIS. Can you use the new turn feature to generate say a simple Hex on the front of a job using the C, X, Z axis. Thanks

Accepted solutions (1)
15,963 Views
25 Replies
Replies (25)
Message 21 of 26

Anonymous
Not applicable

In Powermill use this macro:

FUNCTION MAIN() {
   DIALOGS MESSAGE OFF
   ENTITY TP=entity('toolpath','')
   IF error($TP) {
      DIALOGS MESSAGE ON
      RETURN
   }
   IF $TP.Strategy != 'turn_roughing' {
      DIALOGS MESSAGE ON
      RETURN
   }
   IF NOT member($TP.UserParameters._keys,"RoughXThickness" ) {
      EDIT USERPAR toolpath  $TP.Name NAME 'RoughXThickness'
      EDIT USERPAR toolpath  $TP.Name TYPE 'Real'
      CREATE USERPAR toolpath $TP.Name
   }
   $TP.Userparameters.RoughXThickness=$TP.Turning.RoughXThickness

   IF NOT member($TP.UserParameters._keys,"RoughZThickness" ) {
      EDIT USERPAR toolpath  $TP.Name NAME 'RoughZThickness'
      EDIT USERPAR toolpath  $TP.Name TYPE 'Real'
      CREATE USERPAR toolpath $TP.Name
   }
   $TP.Userparameters.RoughZThickness=$TP.Turning.RoughZThickness
   DIALOGS MESSAGE ON
}

In Postprocessor create two userdefined parameter: udp_RoughZThickness and udp_RoughZThickness.

 

User parameters with udp_ prefixUser parameters with udp_ prefix

 

0 Likes
Message 22 of 26

Anonymous
Not applicable

I need post processor for 2 axis (x,z) for siemens controller. Please help me for this

0 Likes
Message 23 of 26

sarat.cnc
Observer
Observer

need post-processor for lathe fanuc control.

 

0 Likes
Message 24 of 26

bonk_za
Explorer
Explorer

Disturb those who know.
How should I fix this?

0 Likes
Message 25 of 26

Meysam_Ghorbani
Collaborator
Collaborator
Message 26 of 26

kainar115
Explorer
Explorer

HELLO FRIEND, IT WOULD BE GREAT IF YOU SEND THE POST PROCESSOR.😊

0 Likes