On 12/28/2013 10:51 AM, Josiah Morgan wrote: > thank you for the quick response. > I will look into making those changes. > the spindle will be using a hitachi x200 vfd. there will be no need for > any kind of feedback.
So you're all set as far as PRU and BeagleBone code goes, nothing needs to get written. > I'm guessing I'll have to somehow define in the setup what kind of signal > to send the vfd on what pin when the machine code interpreter sees S code > or M codes? > thanks. Yes, and everything up to the actual PWM driver is the same setup you would need for any other LinuxCNC install. The PWM driver for the BeagleBone PRU is modeled after the hostmot2 pwmgen and is intended to behave identically. There are three PWM generators instantiated in all my example configurations, but you can change this as you see fit (using the num_pwmgens= setting). To connect/control the PWM generators, use the following: Pins: hal_pru_generic.pwmgen.00.out.00.enable hal_pru_generic.pwmgen.00.out.00.value Parameters: hal_pru_generic.pwmgen.00.out.00.pin hal_pru_generic.pwmgen.00.out.00.scale For additional instances, the second "00" increments, ie: hal_pru_generic.pwmgen.00.out.00.value hal_pru_generic.pwmgen.00.out.01.value hal_pru_generic.pwmgen.00.out.02.value ... You are responsible for converting the 3.3V digital signal that appears on the BeagleBone P8/P9 header into something your VFD will accept as an input. Holler if you need help with this, or if a generic PWM generator is not an appropriate control signal. -- Charles Steinkuehler char...@steinkuehler.net
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users