Paul, Here what I did for my X2 control card which requires 0Hz to 2kHz for 0v to 10V output... "...used pwmgen output to clock a flip flop, send the flip flop output to the parallel port pin AND to the input of a NOT. Link the NOT output back to flipflop data pin. This gives a really nice square wave - just what I need which I can SCALE and LIMIT just the way I wanted...." All you need to do then work out the values for scale and limit. Regards Andy -----Original Message----- From: P.J. Marsh [mailto:[email protected]] Sent: 23 October 2009 21:03 To: [email protected] Subject: [Emc-users] 7i43 hostmot2 stepgen in velocity mode.
Hi all, I am getting on very well with integrating my 7i43 into my CNC mill - I should have bought one years ago.. Anyway, for my spindle speed control, I use a pulse train of a variable frequency, set by the spindle speed command via EMC2. I'm using a stepgen in velocity mode to do this, but am wondering if there is a way of making the stepgen produce a 50% duty cycle square wave, currently the duty cycle is 50% at 6.5KHz output frequency, determined by the 'steplength'. Any pointers would be appreciated. regards, Paul. ----------------------------------------------------------------- Contributor to: www.uhf-satcom.com - satellite monitoring pages IRC - pjm @ #hearsat on irc.starchat.net Correspondents should note that all communications to this address are automatically logged, monitored and/or recorded for lawful purposes. Telephone: 0044 (0)845 193 0050 Skype: M0EYT ----------------------------------------------------------------- ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
