×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

rotation issues

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

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.

RE: rotation issues

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.

RE: rotation issues

(OP)
Jelmerra,
 Thanks for the tip I will give it a try today.

RE: rotation issues

(OP)
Jelmerra,
 Still no return to C0, did you get it to work?

RE: rotation issues

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

RE: rotation issues

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.

RE: rotation issues

(OP)
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
   }
}

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources