On Friday 28 March 2014 00:47:59 Bill did opine: > Hi everyone > > After three weeks I've got the latency down under 10,000 and received > and installed my breakout board. Now I'm trying to get it going. > > With unipolar stepper motors and 2 wire uln2003 stepper drivers need to > alter the <loadrt stepgen step_type> to 5,5,5 or 6,6,6 , the step and > direction to A- and B+ , and remove the <setp parport.0.pin-**-out- > reset 1> command. ( thanks Andy for the linuxcnc forum of Sept 2012) > > I can't see how to do any of this with the stepconfig wizard, and if I > just edit the BillsMill.hal file it will revert when I sun stepconf. > > So please let me know how I can edit this confuguration. > > Regards Bill > Long time between posts, Bill.
Stepconfig was designed to get you going, so the machine could be moved. But once I had done that, I have never ran it again. The formats in the BillsMill.ini and BillsMill.hal can be edited with something like gedit to fine tune and improve how the machine works. Since you are driving the uln2003 unipolar drivers directly, you do not want the parport reset statement in your .hal file. So remove this line near the top of your .hal file setp parport.0.reset-time somenumber Then scroll down thru the file, removing any statements like this setp parport.0.pin-02-out-reset 1 That follow any of xstepA,B,C, ystepA,B,C, or zstepA,B,C assignments to that same pin-##-out That should get you moving, albeit at limited power & speed with that driver. And it might need current limiting resistors to prevent overheating the ULN2003, IIRC its current limit is half an amp for all combined outputs. Some ohms law checks will determine that at the drivers supply voltage. Using higher voltage, up to 90% of the the uln2003's ratings, with current limiting resistors (they will be big power types and will get hot) will gain you speed. How many wires on your motors? 5,5,5 might not be the correct stepgen mode in the "loadrt" line that calls it in to be used. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
