Hello Guest it is April 20, 2024, 07:12:30 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 - fullacott

Pages: 1
1
SmoothStepper USB / Turning on the lights trips a limit switch
« on: October 18, 2011, 11:38:57 AM »
I have just installed a SS to replace the parallel port connection on a retrofit mill which had been running for 5 years or so. SS installation following WARP9 and Jeff Birt's guides was straightforward (thanks for those) and I have been very pleased with the change. Except that if I turn on a mains neon light or turn off a small machine elsewhere in the workshop I get a "Limit switch tripped" message and flashing red restart button.  What is curious is that it only trips the Z axis and if I disable the limit switch lines in Ports and Pins for the Z axis all is fine.

So, next I swap the Z and Y inputs from the microswitches and still get a Z trip. That seems to tell me that the connection and screening between the microswitch and the control cabinet is OK. Presumably the fault lies between the socket on the control cabinet and the PC.

I use a limit switch circuit suggested by Mark Vaughan in this forum with 24V supply to the limit switches and optoisolators controlling the 5V inputs to my C11 break-out board. This has worked with the parallel port set-up with no problems for some years.

I have rewired all the Z axis part of this limit circuit with new cable, screening grounded at one end to a star connection on the cabinet.

The SS is mounted on an insulated board within the cabinet and connected to the adjacent C11 with the supplied ribbon cable.

I am obviously missing something and would be greatful for any suggestions. Peter

2
FAQs / Losing Steps or something
« on: August 18, 2011, 12:18:16 PM »
This follows on from a thread of this title which has been cold for months so I have started a new one.

Hi cncnovice, rcaffin and Dan13,

I know this thread has been untouched for several months but I have a bit to add which may help others. I too had the problem of lost steps: apparently a single step missing on direction change. How did I know? I was cutting a 288 tooth gear by profiling with a 2mm endmill, four passes for each tooth with the indexing by a rotary table on A axis. So the g-code was a set of instructions to cut one tooth. As a result there were around 1200 changes of the direction state while the axes were moving. But when the table had finished its 288 steps I found I had a cut not a circle but a helix with the end point inside the radius of the start point.
I tried all the tests you did, except for the scope which I do not have, and came to similar conclusions. The error was very repeatable which seemed to eliminate noise, it appeared when different computers were running Mach and seemed impervious to any of the changes in motor tuning, ports and pins etc. One difference from yours, however,  was that it appeared on all three axes even when only a single axis was in use.

Eventually I decided that as it seemed to be most likely a parallel port problem (that's how little I know ;) ) I would try a Smooth Stepper which I had been considering since they appeared. The result: 48hours delivery from Minnesota to Devon UK, an hour installation and setup and then.......... no lost steps. As always, you think "why did I not do this before and save the hours of fruitless testing?" I guess the answer is that we are always trying to understand a bit more.

So the point of this post is firstly a big "thank you" for pointing me in the right direction and teaching me a lot I did not know about Mach. Secondly, I wonder how many systems have this error which only appears with multiple repetitions and does not otherwise intrude. I had been using my setup under mach for three years before I stumbled over it.

Cheers, Peter.

Pages: 1