Cancel
Showing results for 
Search instead for 
Did you mean: 

Re: angle head problems with coordinats X, Y and Z

Legend
Legend

@Juraj I do something similar to @joycejo.

 

 

In both the 1st move, and the Initial Move I have a command calling a block which has both the XY coordinate. Note that immediately following this command is an identical command just for the Z axis.

 

I now end up with XY then Z in my programs. I also have my post set to retract fully on any axis change. You can get into trouble because the "work plane change" doesn't detect and retract z 1st if your next operation starts off at a lower Z clearance than the one before it.

 

 

XY RAPID 1.PNGXY RAPID 2.PNG

Glenn Balon
Production: NX 12.0.2 MP4 Primarily CAM

Re: angle head problems with coordinats X, Y and Z

Siemens Legend Siemens Legend
Siemens Legend

You would have to use the constructs of Rapid Move event provided by PB. Yes, the rap1, rap2 & rap3 should be in use. Their values will change per mom_cycle_spindle_axis.

Re: angle head problems with coordinats X, Y and Z

Gears Phenom Gears Phenom
Gears Phenom

@TechniCsNC it is just modality discussed in early comments, yes agree.

Btw you can keep workplane change on first/initial move and disable it right after that moves, to get XYZ later in rapid retracts.

 

@Postino am I doing something wrong ? - because your suggestion doesnt work. Still get axes in order YZ-X

with

set ::mom_cycle_spindle_axis 2
RAPID_SET

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: angle head problems with coordinats X, Y and Z

Siemens Legend Siemens Legend
Siemens Legend
If you don't mind upload your post & part. Please keep them minimal.

Re: angle head problems with coordinats X, Y and Z

Gears Phenom Gears Phenom
Gears Phenom

@Postino

here it is.

Test it like this -  postprocess operation from the side - tool axis perpendicular to Zm.

Desired output of first rapid is XY-Z. 

{That we can position angle head in XY and then down to Z. Safe positioning.}

Thank you for checking.

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: angle head problems with coordinats X, Y and Z

Siemens Legend Siemens Legend
Siemens Legend
Nothing out of ordinary with your post so far. It would help if you could also provide a part representing the situation.
Highlighted

Re: angle head problems with coordinats X, Y and Z

Gears Phenom Gears Phenom
Gears Phenom

@Postino

Prt, postprocessor attached.

You will see output YZ-X.

If 3axis machine has angle head, it is more safe to do first move XY-Z to get tool to the path.

 

As many people suggest create blocks in initial first move, etc, you showed some custom command to switch order of adrresses. But it didnt change anything in  my output.

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: angle head problems with coordinats X, Y and Z

Siemens Legend Siemens Legend
Siemens Legend
#=============================================================
proc PB_CMD_POSTINO { } {
#=============================================================
set ::mom_cycle_spindle_axis 2
ugpost_RAPID_SET
}

 

Re: angle head problems with coordinats X, Y and Z

Gears Phenom Gears Phenom
Gears Phenom

thank you @Postino, nice.

 

additional question:

ugpost_RAPID_SET is called but procedure is not in pp tcl.

So it is called outside of postprocessor tcl?

Or what is difference between RAPID _SET and ugpost_RAPID_SET?

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: angle head problems with coordinats X, Y and Z

Creator
Creator

I have a different issue but I curious about the proc. "#=============================================================
proc PB_CMD_POSTINO { } {
#=============================================================
   set ::mom_cycle_spindle_axis 2
ugpost_RAPID_SET
}" do? Does Set::mom_cycle_spindle_axis 2 make the post output axis 2 as the spindle axis? I have a 5-axis Head/Head machine that I have added a right angle head. It is loaded out of the tool carriage. The kinematics are correct, It will toolpath simulate correctly, but it posts B-Axis like the tool is in the spindle not the right angle head. Post Configurator will post it correctly but without the Full license I can't get the posted output I need and the license is cost prohibitive. I realize B-axis is just B minus 90 but I haven't be able to wrap my head around eliminating the impossible C rotations that are possible without the angled head. In my case the tool axis is always 90 degrees to C-axis. When C-axis is at zero the tool tip is X negative. There is no C180 or C-180 with the tool tip x negative.

 

Any Wisdom??????

 

Thanks

NX CAM Postprocessor Group
NX CAM Postprocessor Group

Members (161)