I'm creating a post for a machine that uses head angle, Depending on the head, I need to redefine the variable mom_kin_spindle_axis.
I'm doing it before the tool change, and after I reload the kinematics, but rotations and coordinates are wrong. The rotations and coordinates are the same, no matter if I changethis variable or not.
How could I reset or rewrite that variable in order to get the right rotations and coordinates?, Do I need any extra step to redefine them.
You might want to check the tcl file for the post to see if something else changes mom_kin_spindle_axis back to the original on you.
- where you reset it, use "MOM_output_text" to output the current value for the array
- in initial/first move use "MOM_output_text" again fore the current value
- look at the output - is it what you set, or the "original"?
If it gets reset, tracking down what does it will be "interesting".
See what value it has in "Start of path" event - could be you could reset it to your desired value there, after the internal code changes it on you.
Note there is also mom_sys_spindle_axis - you may need to set this as well...
Looking in one of my posts, there may be a "mom_spindle_axis" as well
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
The issue that I'm facing is that the head device has not a fixed tool orientation, so using mom_isv_ I know that a device is in use and what is the tool axis when a head device is mounted. Then I need to set the mom_kin_spindle_axis array.
I've been trying to mimic the same behavior as an UDE and trying to define the variables after the tool change, but with no success, So I must be doing something wrong, but can't find what