21 квітня 2012 р. 18:06 Peter C. Wallace <p...@mesanet.com> написав:
> Yes that is correct but of course the three phase outputs of the bldc comp > must connect to the 3 phase inputs of the 3ppwmgen and the proper init > sequence must be triggered in the bldc comp (man bldc) > The motor is moving already, but not exactly correct. I try to find bldc parameters As bldc.pattern only needed with Halls, then only bldc.0.scale and bldc.0.poles remain? The motor pole pair pitch is 72 mm, and encoder is 200 pulses per mm. I set bldc.0.scale to 14400 and bldc.0.poles is 2 But still something's wrong. Also, there's a question about bldc init. I came up with init on Estop: net estop-out iocontrol.0.user-enable-out => bldc.0.init => hm2_7i43.0.3pwmgen.00.enable net x-is-init bldc.0.init-done => iocontrol.0.emc-enable-in => pid.x.enable It works, but after init is complete, motors power off, and power on when the machine is ON. Which is bad as they can loose the init position. How do I make it right? Andrew ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users