Thread: Losing steps on Z axis
Threaded View
-
30-03-2017 #11
You are quite right - I can't do simple arithmetic! However, I believe that the motion controller drives all axes effectively in parallel, not serially. So if X and A and Y and Z all need to step one pulse, the motion controller will send simultaneous pulses to each output at the same time. So the maximum pulse frequency is the pulse frequency of the "fastest" axis. I think (from memory) that the CSMIO gives out 10usec pulses, which is more than the minimum that the stepper driver needs. The maximum clock frequency is related to the exact timing accuracy of pulses but I doubt that in practice you are ever going to generate stepping pulses at that frequency. I could probably drive my router directly from Mach3 and the parallel port with a 20KHz kernel speed; I don't want to do that but it would probably work.
I haven't looked at the pulse generation mechanism in Mach3 or the CSMIO, partly because I can't see inside the code! However, I have looked at something like GRBL, the Arduino-based motion controller. That works by calculating which axes need a pulse at every internal clock cycle and then loading a single output register with bits representing pulses on each channel. That seems to make sense, and I would guess that something similar happens in the other motion controllers. Cuts the required clock rates by a large amount with no loss of functionality.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Router losing steps. Solution needed. Will this help?
By cncbobuk in forum Chinese MachinesReplies: 9Last Post: 27-12-2017, 03:40 AM -
New Mill losing steps
By lukecnc2012 in forum Gantry/Router Machines & BuildingReplies: 42Last Post: 08-11-2014, 02:56 PM -
x-axis on Orac losing direction
By asto in forum Motor Drivers & ControllersReplies: 3Last Post: 29-03-2013, 01:22 AM -
Help! Steppers losing steps and making a racket under slow feed..
By fasteddy in forum Stepper & Servo MotorsReplies: 23Last Post: 06-08-2011, 03:03 PM -
Heelp! Dual axis steppers.. Losing steps.. Pulling hair out..!
By fasteddy in forum Motor Drivers & ControllersReplies: 9Last Post: 14-05-2010, 02:32 PM
Bookmarks