On Tue, May 22, 2018, 18:05 andy pugh <[email protected]> wrote: > > halrun > > loadrt hostmot2 > loadrt hm2_7i90 ... and the rest of the line ... > > loadrt threads > addf hm2_7i90.read thread1 > addf hm2_7i90.write thread1 > start > > setp hm2_7i90.0.pwmgen.00.value 1 (use tab completion, I am guessing > the pin names) > Pretty sure I can follow that, and match the pins to my printed off configuration
> > > I also need to determine encoder count > > loadusr halmeter pin hm2_7i90.0.encoder.00.rawcounts > > Then twirl the shaft and look at the counts. > > Thank you very much , I hope to get this far along in the next day or two. > Once the counts are known my next question will be how to edit the Hal file to match what I have. I will refer to the dead tree copy of Hal tutorial and try to work through it first though. I have to purchase an encoder for my spindle motor, I'm thinking a 256 count should suffice , spindle is 1:1 belt driven , is there any reason I should choose a higher count? I would like to rigid tap eventually , mostly to put 1/2 13 thread into my subplate as I really don't want to do 400 of them by hand. High performance is not necessary here but accuracy is. Thank you ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
