Hello Guest it is April 19, 2024, 10:01:42 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Liberty FLHTC

Pages: 1
1
General Mach Discussion / M05 M06 M03 Problems in Turn
« on: December 30, 2011, 08:14:36 PM »
After searching the forum for a few days and not finding an answer, I decided it was time to post.

I sold my brother an engine lathe that had been retro-fitted with steppers to run the carriage lead screw and the cross slide lead screw plus a VFD for spindle RPM control. I used this lathe for several years and never had the following problem surface.

He had written a new program and began having feed rate problems after a tool change. I checked his program and it appeared OK (I even re-typed it into a blank Notepad page in case something was hiding). The program starts out using T0101 with a feed rate of .012 IPR. The feed rate is fine until the first tool change. Here's a clip of the tool change part of the program:

M05
M06 T0202
M03

When tool 2 reaches the first G01 line the feed rate drops to .004 IPR and stays there until the next M05. After the tool change to T0303 the same thing happens. When the M05 is passed at the end of the program the feed rate jumps back to .012 IPR. This feed rate change is visible on the Feed DRO and it can be easily seen when watching the rotation speed of the lead screws.

I've been all through the settings, tried different CV Tolerances, Exact Stop, Plasma on, checked the macros, you can just about name it and I looked at or tested it during the search for the cure. The M05 macro is DoSpinStop() , the M03 macro is DoSpinCW() and the M06Start macro is:
  tool = GetSelectedTool()
  SetCurrentTool( tool )

The programs I had been using mostly have the M06 as a stand alone since I moved the tool post away from the spindle to perform a tool change. There is one area in my programs that has a M05 followed by a M06 then several lines of movement before the M03 command and these have never caused this problem to surface.

He adjusted the program to move the tool holder away from the spindle before tool change, removed the M05 and M03 lines from before and after the M06 line, and the problem disappeared. .012 IPR all the way through.

Anyone have any ideas or cures?

Pages: 1