Skip to main content
1-Visitor
November 28, 2016
Question

Preventing B-(minus) rotation from occuring in G68 mode when posting a file

  • November 28, 2016
  • 4 replies
  • 3845 views

Does anyone out there know how to prevent the B-Axis from going in the minus rotation when posting code?

I've tried a few different C/L commands that will move B in the plus direction before the programmed rotation occurs in the .ncl file.

We need to run in B plus most of the time for clearance reasons.

Our machine is a head/table machine (B head, C table)  The C-axis is parallel to Z-axis.

Thanks

4 replies

1-Visitor
December 9, 2016

Jim,

It is tough to force a rotary head in a certain direction when the kinematic setup is head/table.  The easiest way in the post is to set the Automatic Re-positioning to take the alternate solution and set the B axis limits to 0 for minimum and that ever the Plus value is for Maximum.  That way the post will hit a the B limit if it computes a B- and switch to the B+ solution for the vector.

Fred

1-Visitor
January 6, 2017

Jim,

in my posts (c-written) I have introduced cl-commands to let the user control the choice of angles of the postprocessor .

For example PPFUN / B+  oder B-  MODAL or SINGLE

Of course in simultaneous mode the issue is much more complex but I suppose you mean positioning mode because you metioned G68

Rolf

1-Visitor
January 6, 2017

There are built in commands in G-Post to do this also.  You can use ROTATE/BAXIS,ATANGL,+90 or -90 and it will basically force the B axis in that direction + or -.  This command should be immediately before the first move that positions the B axis.  It is best used when doing positioning but can be used before the start of a contouring move.

Fred

1-Visitor
January 6, 2017

Hi Fred,

I am not familiar with the current state of G-Post. But the ROTATE statement rotates the coordinate system (and therefore coordinates).

Did you mean ROTHED instead maybe?

Rolf

1-Visitor
January 6, 2017

No I meant ROTATE.  This command does not rotate the coordinate system, just the axis that is specified.   If the rotary axis is a table and XYZ transforms are enabled (The default is yes) then the coordinates will be rotated based on the axis moving.  If you use ROTHED it just outputs the Bxxx.xxx but does not update the post that the head was reoriented.  ROTHED and ROTABL are positioning commands only and will not affect multi-axis motion.

Fred

jfox-31-VisitorAuthor
1-Visitor
January 6, 2017

Thank you both for the input.  I will give your suggestions a try and let you know how it works.