Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

rotation issues

Status
Not open for further replies.

ginz

Mechanical
Joined
Mar 18, 2005
Messages
16
Location
US

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.
 
ginz

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.

 
ginz

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.
 
Jelmerra,
Thanks for the tip I will give it a try today.
 
Jelmerra,
Still no return to C0, did you get it to work?
 
ginz,

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
 
Before the tool change there should be an opportunity for the postprocessor to write the C0 i.e. you will need some kind of template to come along with a fifth axis field.
 
Hi guys, added this to my post at Start of motion and
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
}
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top