View Full Version : Rotary post issued, based on MPFAN


soundqsho
12-21-2006, 04:34 PM
I'm trying to get a rotary axis to behave properly using an OLD cnc controller that does not use conventional code handling. I'm getting close using the MPFAN.PST, but still have one problem to overcome.

The controller expects to see the A axis value as absolute, and the + or - value is used as direction control.

This means that when I post a file, and all of the rotary values are positive absolute, then the rotary axis will only rotate clockwise. (so moving from A2.0 to A1.0 would involve a 359 degree move in the wrong direction, but moving from A1.0 to A2.0 works just like it should).

I'm no post genious, but I'm trying to figure out how to get the value exported in the way I need it.

Alex_Cole
02-24-2007, 11:26 AM
Try building your post from the fadal format 1 or format two posts. I realize that the fadal post will need more general format changes to get the rest of the code to match what you need but the rotary should already be setup to work in the way you are describing.

Hope this helps

AC

Mike Mattera
02-26-2007, 12:59 PM
Or you could isolate the section of code from the Fadal post that does the +/- direction and insert it into your post .

Mike Mattera