Cancel
Showing results for 
Search instead for 
Did you mean: 

Post processor c axis

Solution Partner Builder Solution Partner Builder
Solution Partner Builder
Dear all
I want to create mill turn postprocessor with c axis . And use M15 for position direction and M16 for negative direction. But in my operation has positive and negative direction. How to output M15 and M16 for c axis direction in postprocessor?

Thank you
5 REPLIES

Re: Post processor c axis

Legend
Legend

I'm not sure this is what you need, but maybe you can get some ideas from this:

create a new modal word, i.e. rotation_direction

add the word with both positive and negative direction values to linear, rapid and cycle move

condition the output of rotation_direction word by confronting current axis angle value (mom_out_angle_pos) and previous axis angle value (mom_prev_out_angle_pos) if current value is greater output M15, if it's smaller output M16.

You can see how here:

 

https://youtu.be/0jhAiqPeGDs

 

ciao

Re: Post processor c axis

Esteemed Contributor
Esteemed Contributor

I believe there is a mom variable for arc direction - try "mom_arc_direction"

 

I would try something like this in the "start of program" (or in a "sourced" in tcl file)

global ken_arc_direction_code
set ken_arc_direction_code(CLW) 15
set ken_arc_direction_code(CCLW) 16

 

Then as others suggested, add an "M_arc_direction" word, modal

Set the value as "$ken_arc_direction_code($mom_arc_direction)"

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: Post processor c axis

Legend
Legend

from 22 post I understood  the point was c axis rotation direction, not arc direction

Re: Post processor c axis

Esteemed Contributor
Esteemed Contributor

OOps..Brain death.

I could have sworn I ran across a rotary axis rotation direction, but I can't seem to find the variable now...

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: Post processor c axis

Legend
Legend

the only ones I know are mom_kin_4th_axis_direction and mom_kin_5th_axis_direction that determine rotary angle magnitude/sign output, and mom_rotation_direction which is used by MOM_rotate.

I don't know if these can be useful in this case

Learn online





Solution Information