2012/12/22 andy pugh <[email protected]>: > On 22 December 2012 12:25, Viesturs Lācis <[email protected]> wrote: > >> Could You, please expand on this one little more? >> Not sure I understand which pins exactly do I need tweak. > > I don't have anything to experiment with right now, but, something like: > > halrun > loadrt hostmot2 > loadrt hm2_pci > setp hm2_5i25.0.index-enable 1 > {turn the motor shaft by hand until the counts are zeroed and > index-enable goes false} > setp hm2_5i25.0.3pwmgen.0.A-value 0.1 > setp hm2_5i25.0.3pwmgen.0.B-value -0.1 > setp hm2_5i25.0.3pwmgen.0.C-value -0.1 > setp hm2_5i25.0.3pwmgen.0.enable 1 > > Then see what the encoder counts are. > > Then disable the drive again.
Terminal is too unfamiliar for me, so I tried in LinuxCNC. And failed. I took these steps: 1) in hal file disconnected 3ppwmgen inputs from bldc; 2) started up LinuxCNC 3) toggled "machine on" with F2 4) in HALShow I watched hm2_5i23.0.encoder.02.counts and hm2_5i23.0.encoder.02.index-enable pins 5) executed setp hm2_5i23.0.encoder.02.index-enable 1 6) turned motor by hand more than 10 turns, but hm2_5i23.0.encoder.02.index-enable did not go "false" My rs422-->ttl board does convert also index signal, but I have no idea, how to check, if connector on 7i39 card actually does receive it or no. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
