cancel
Showing results for 
Search instead for 
Did you mean: 

Alternative positions use - problem in cycles

Phenom
Phenom

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 ♫ #
3 REPLIES

Re: Alternative positions use - problem in cycles

Esteemed Contributor
Esteemed Contributor

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
I'd rather be e-steemed than e-diseaseled


Re: Alternative positions use - problem in cycles

Phenom
Phenom

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

Phenom
Phenom

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 ♫ #

Learn online





Solution Information