Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

4-axis wire EDM circular move output

Hi all,

 

Does anyone successfully generate G02/G03 output in Wedm 4 axis? I did try difference setting it only output point to point motion.

 

Thanks

 

Terry

11 REPLIES

Re: 4-axis wire EDM circular move output

Does your WEDM machine work with G02/G03 and UV offset? 

W10 NX11.0.1

Re: 4-axis wire EDM circular move output

Yes, it does. The supplier showed us using Mastercam to generate 4 axis short program with G02/G03 so he believe NX should also do....

Terry

Re: 4-axis wire EDM circular move output

First, be sure that you see MOM_start_of_conic abd MOM_end_of_conic events in the review tool. If you are cutting cones, they should be there.

 

In the postprocessor, when the conic starts, the post needs to output the G2/G3 block, and then supress the linear output until the conic ends.

 

Save this as a .tcl file, import it as a custom command, and add it to start of program.

 

#=============================================================
proc PB_CMD_start_of_conic { } {
#=============================================================
uplevel #0 {
set mom_kin_wire_tilt_output_type             "COORDINATES"

MOM_reload_kinematics

proc MOM_start_of_conic {} {

  global mom_upper_arc_direction
  global mom_arc_direction
  global suppress_output
  global mom_prev_pos
  global mom_conic_motion_type

  set suppress_output 1

  if ![info exist mom_upper_arc_direction] {set mom_upper_arc_direction CLW}

  if { $mom_conic_motion_type == "LINEAR" } {
      MOM_do_template linear_move
  } else {
      MOM_do_template circular_move
  }
}

proc MOM_end_of_conic {} {

  global suppress_output

  if [info exists suppress_output] { unset suppress_output }

}

}
}

 

The mom variable browser explains the options for the output type.

This should get you started.

 

Mark Rief
Retired Siemens

Re: 4-axis wire EDM circular move output

Hi Mark,

 

Thank you gave the code before, it worked perfectly on 4-axis full circle...however when I used in on radius corner it generated incorrect code as shown below picture...do you know what is the problem...I really expect UG can generate G02/03 code...

 

Thanks

 

wc_problem.JPG

 

 

 

 

Re: 4-axis wire EDM circular move output

I passed that code along from a post developer a couple years ago.

Can you get your post in to GTAC, so somebody can take a closer look at it?

Mark Rief
Retired Siemens

Re: 4-axis wire EDM circular move output

Thanks Mark. I will make a PR/IR on GTAC. Appreciate your help!
Solution
Solution
Accepted by MarkRief (VIP)
‎06-27-2016 12:47 PM

Re: 4-axis wire EDM circular move output

Hi Mark,
Finally I found I missed to pass in the L and K for each circular move so got this pattern...your code is correct.

sorry for this.

Terry

Re: 4-axis wire EDM circular move output

Dear Mark Rief,

 

I`ve tried your post below, but still not working.

 

I attached the post processor, with additional custom command on start of program.

 

do you have any advice why the output is still in G1 ?

Re: 4-axis wire EDM circular move output


fistianto wrote:

Dear Mark Rief,

 

I`ve tried your post below, but still not working.

 

I attached the post processor, with additional custom command on start of program.

 

do you have any advice why the output is still in G1 ?


I'm not the expert here - as I said earlier, I just passed along the code from a post developer. If you don't get an answer here, please contact GTAC and see if they can help you.

Mark Rief
Retired Siemens

Learn online





Solution Information