Cancel
Showing results for 
Search instead for 
Did you mean: 

Alternative positions use - problem in cycles

Juraj 1st Gear
1st Gear

hello guys,

 

I use in intial and first move overiding mom_pos with mom_alt pos, then

update ROTSET and reload variables mom_pos and mom_out_angle_pos variables.

It works.

 

But sometimes I want to output alternative position further in program, not only in the start of operation, specially in cycles - cycle plane change.

Cycles from drill template.

So I put there the same custom command.

Sometimes it doesnt overide mom_rapid_pos.., so it is wrong.

It is too late to do such recalculating? Or does it need some other calculation of cycle coords?

What should  I do? How to fix mom_rapid_pos.. in this case?

 

 thank you for any help

 

jb

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

Re: Alternative positions use - problem in cycles

Ken_A 1st Gear
1st Gear

Is it the rotary axes that aren't changing?

Or the XYZ positions?

Note that cycles have a lot of other variables, e.g.

mom_cycle_clearance_pos

mom_cycle_feed_to_pos

mom_cycle_rapid_to_pos

mom_cycle_retract_to_pos

 

(and perhaps others) that you need to update as well

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
Apparently I've turned into a gearhead


Re: Alternative positions use - problem in cycles

Juraj 1st Gear
1st Gear

the angles are changed but X Y - rapid positions of cycle is the same.

and I dont know where and how to update them.

Note that my first post  it is in old drill operations and cycle plane change event.

Milling operations works, holemilling works too.

 

example:

XY - mom_rapid_to_pos 0,1

normal code:

PLANE SPATIAL SPA45 SPB+0 SPC+0 TURN FMAX SEQ- TABLE ROT
CYCL DEF 200 VRTANI ~
    Q200=+3 ;BEZPECNOSTNI VZDAL. ~
    etc.
X+10 Y-31.4964 R0 FMAX M99
X-10 Y-31.4964 R0 FMAX M99

after recalculation to alt pos:

PLANE SPATIAL SPA-45 SPB+0 SPC+180 TURN FMAX SEQ- TABLE ROT
CYCL DEF 200 VRTANI ~
    Q200=+3 ;BEZPECNOSTNI VZDAL. ~
    etc.
X+10 Y-31.4964 R0 FMAX M99
X-10 Y-31.4964 R0 FMAX M99

 

When I use stuff for handling cycle coords from PB_CMD__choose_preferred_solution,

I get this:

135 L  X-10 Y-31.4964 R0 FMAX M99
136 L  X-10 Y+31.4964 R0 FMAX M99

wrong

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

Re: Alternative positions use - problem in cycles

Juraj 1st Gear
1st Gear

recalculaton maybe should be not only in initial/rapid move and cycle plane change event.

incycle plane change event and in every next cycle.

it looks correct now.

 

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

Problem in cycle plane change

Experimenter
Experimenter

Hello Dear.

I am using (NX 12)

I have machine (5_Axis With Rotary Head and Table).

  • (X,Y,Z) is work piece zero.
  • (U,V,W) is zero for cycle plane change.
  • In May machine, cycle plane change can do as program (O222) show below.
  • (N6) Location for changing Axis.
  • (N7) for new plane Axis Zero.
  • (N8 N9 ~ N11) program for drilling cycle, (N12 N13 ~N20) program for milling pocket.
  • (N21 N22 for cancel cycle plane change).

I try it, but I can't do ($N7 $N8 and $N9).

Please can you help me to do this?

 

%

O222

(DEEP_HOLE_DRILLING(

N1 M06 T17 (Tool Diameter : 8.00 mm.)

N3 M03 S1500

N4 G00 G53 X0 Z0

N5 G55

N6 G432 X300 Y0 Z100 H17 B40. C-20.

N7 G68 X39.7 Y0.0 Z0.0 I0 J1 R40. K0

N8 G90 X6.5 Y8.0 Z10.0

N9 G83 Z-30.0 R3.0 Q5.0 F150 M08

N10 Y-9.0

N11 G00 G80 Z100.0 M09

N12

N13

N20

N21 G69

N22 G492

N23 M05

N24 M30

%Capture.JPG

Learn online





Solution Information