take a look at motion.spindle-speed-out with halmeter. it should have both sign and a value equal to what you program with M4Sxxx. You could then simply scale motion.spindle-speed-out so that your maximum rpm gets converted to a value of 10, and then wire this HAL signal to your DAC.
> I have been reading the documentation and searching the web site, and it > seems that EMC is generally configured for a 0-10v signal to run the > spindle with outputs controlling the direction. The mode that I would > like to run my Baldor spindle drive in requires that the signal be > +/-10v (-10v being full reverse and +10v being full forward). What is > the easiest way to get the M04 to output negative voltage. I know that > there are a number of ways to do this with relays, but it seems logical > that the Motenc board should be able to output the negative voltage for > reverse rotation. As I am short on I/O’s, I hate to give up even one if > I don’t have to. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
