cancel
Showing results for 
Search instead for 
Did you mean: 

[PostProcessor] Post builder setup - millturn

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

Hi.

 

# Infomation

1) Machine : DMG NTX2000 5axis Millturn

2) Version : NX10

3) Request : initial b-axis positioning

 

I will try to set the equipment in the following manner.

 

BAXIS_ORIGIN.jpg

 

Currently, it has been set as follows.

 

BAXIS.jpg

 

I want to change as of the first image.
Do you have what way?

5 REPLIES

Re: [PostProcessor] Post builder setup - millturn

Esteemed Contributor
Esteemed Contributor

If using post builder, set the "Initial Spindle Axis" ("Machine tool" tab -> General parameters) to (assuming X is radial) -1, 0, 0?

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: [PostProcessor] Post builder setup - millturn

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

Hi

Initial Spindle Axis is 0, 0, 1.

If you change the initial spindle axis value, it will cause even more problems.

Re: [PostProcessor] Post builder setup - millturn

Phenom
Phenom

If you are using the OTB code - yes - mom_out_angle_pos is used all over the place for math calculations. The easiest approach is to take all of the B addresses and change to "$mom_out_angle_pos(0)-90".

NX10.03
Windows 7 Pro

Re: [PostProcessor] Post builder setup - millturn

Esteemed Contributor
Esteemed Contributor

Note in "Machine tool" tab -> Fourth Axis (or fifth axis, whichever is appropriate)..

There is a setting "Angular offset (deg)"

you should be able to put +90 (or -90, as appropriate), in there & get the correct B output.

 

Ken

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: [PostProcessor] Post builder setup - millturn

Phenom
Phenom

Like I said - my impression is there is some math going on that assumes normal rotary zero directions (tool vector starting at 0,0,1.) I may be wrong but if you offset the fourth axis - it may affect things (same as saying 1,0,0 initial tool axis.) Here is what I am talking about:

 

proc PB_CMD_cal_coord_rotation_Auto3D { } {

...
...

 # Get initial/first point by rotation
  if { [string match "5_axis_dual_head" $mom_kin_machine_type] } {
    set rot0 [expr $mom_out_angle_pos(1)*$DEG2RAD]
    set rot1 [expr $mom_out_angle_pos(0)*$DEG2RAD]
    set mom_pos(3) $mom_out_angle_pos(1)
    set mom_pos(4) $mom_out_angle_pos(0)
  } else {
    set rot0 [expr $mom_out_angle_pos(0)*$DEG2RAD]
    set rot1 [expr $mom_out_angle_pos(1)*$DEG2RAD]
    set mom_pos(3) $mom_out_angle_pos(0)
    set mom_pos(4) $mom_out_angle_pos(1)
  }

...
...

 # Calculate rotation matrix
  VECTOR_ROTATE mom_kin_4th_axis_vector [expr $rot0] X v1
  VECTOR_ROTATE mom_kin_4th_axis_vector [expr $rot0] Y v2
  VECTOR_ROTATE mom_kin_4th_axis_vector [expr $rot0] Z v3

  VECTOR_ROTATE mom_kin_5th_axis_vector [expr $rot1] v1 X
  VECTOR_ROTATE mom_kin_5th_axis_vector [expr $rot1] v2 Y
  VECTOR_ROTATE mom_kin_5th_axis_vector [expr $rot1] v3 Z
NX10.03
Windows 7 Pro

Learn online





Solution Information