On Mon, 2007-12-24 at 19:01 +0100, Geert De Pecker wrote: > It is the C11 multifunction board. Main reasons where the isolated > analog voltage and the relay to enable me to stop the motor when the job > is finished. >
>From a brief look at the documentation, it looks like you need one of the parallel port pins to put out a O to 24 kHz signal based on the spindle speed command. If you have a reasonably fast PC, that should not be a problem. So in your HAL file, you might connect, motion.spindle-speed-out OUT float (spindle speed in RPM) to scale.X.in (to scale RPM to kHz such that full RPM equals 24kHz) scale.X.out to siggen.X.frequency siggen.<chan>.square to conv-float-bit.N.in (which doesn't seem to exist, check: http://www.linuxcnc.org/docs/html/man/man9/ maybe conv-float-u32 then conv-u32-bit? Or, should be easy to write a new HAL component. ) conv-float-bit.N.out to parport.0.pin-XX-out This is a rough guess. There are allot of details missing, but may get you started. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users