rotation issues
rotation issues
(OP)
I am using n/x 2 and building posts in 3.3.0. I have a 5 axis post built and all
looks good except I would like rotaions to come out cleaner. when rotating from
B0.C0. (B is table C is rotary) to say B90. C90. and cutting, If the next tool is
back to B0. C0. the C axis stays at 90. I would like it to come back to C0. the
output is correct u/g adjusts for it by 90deg or whatever the C was at prior to
tool change but I do not like it. Any help would be appreciated.





RE: rotation issues
Came accross this problem too. The postprocessor I had to modify used advanced kinematics. I put in reload kinematics. The fifth axis is not reset after finishing an operation for what ever reason.
I encountered a lot of problems after a variational multi axis operation had finished and subsequently a planar operation. In order to get it to work I started switching between 3 axis and 5 axis machine models.
RE: rotation issues
Found a perhaps less coarse method than previously described.
You could use MOM_reload_variable do not forget to do both current and previous position.
RE: rotation issues
Thanks for the tip I will give it a try today.
RE: rotation issues
Still no return to C0, did you get it to work?
RE: rotation issues
Do you always want it to always resolve to C0 at the toolchange? If so, perhaps just include it as part of the toolchange.
Or, do you want the C to rotate to the next position (not nesessarily 0)? If so perhaps hard code it in the operation prior to the toolchange.
--
Bill
RE: rotation issues
RE: rotation issues
wolla! problemo gone! Got the tip from ug newsgroup.
#==========================================================
proc PB_CMD_B0_C0
#==========================================================
#
global mom_tool_number_defined
global mom_prev_pos
if {$mom_tool_number_defined == 1} {
set mom_prev_pos(3) 0
set mom_prev_pos(4) 0
MOM_reload_variable -a mom_prev_pos
MOM_output_to_listing_device "KIN INFO -> Reset A and C Axis"
MOM_force Once T M
MOM_do_template tool_change_1
MOM_force Once G_mode G_plane G_motion G_adjust X Y Z fourth_axis fifth_axis F H
}
if {$mom_tool_number_defined != 1} {
MOM_force Once G_mode G_plane G_motion X Y Z fourth_axis fifth_axis F
}
}