2009/10/4 Andy I <andyi_w...@btinternet.com>: > If I link > motion.spindle-speed-out to pwmgen.0.pwm-freq with suitable scaling and > limits then would give me exactly what I need. To save lot of time for me - > is it possible to do this in the HAL i.e. link a pin to a parameter?
pwm-freq is "rw" in the manual, so it ought to work. I have had a fiddle on a virtual machine and it loaded OK when I took a standard stepconf-generated HAL file and changed the link from pwmgen.0.value to pwmgen.0.pwm-freq I removed the link to pwm-value and used a setp line to set it to half the scale value. Unfortunately the virtual machine has no parallel port and the limit switches wouldn't let it run, so I don't know if it works. It looks like it ought to, though. -- atp ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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/devconf _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users