Thanks, this works - I thought that only worked on standard output lines - not on special function pins. Sometimes I am thinking too complex...
Meanwhile I also added spindle control with a PWM output. I think the docs are a bit outdated (or I just found the wrong ones).Some docs tell me the to use dac.0.value (where PWMs are used to create DACs), another one mentions pwmgen (but then use hm5i20 as a board type prefix whereas hostmot2 uses hm2_5i20 as boardname. Nothing which cannot be fixed with a bit of logical thinking. Only thing to do now is to build a proper filter to get a linear analog output - and publish my configs of course. Cheers, Rob On Fri, Apr 17, 2009 at 6:56 PM, Sebastian Kuzminsky <s...@highlab.com>wrote: > When you start emc2 and it loads the hostmot2 driver modules, it logs > (in the syslog) the connector/pin and "IO numbers" it's using. It'll > look something like this: > > IO Pin 048 (P4-01): Stepgen #0, pin Step (Output) > IO Pin 049 (P4-03): Stepgen #0, pin Dir (Output) > > From this you can take the IO pin number for your Dir signal (049 in > this example) and invert the signal on that pin with a HAL command like > this: > > setp hm2_5i20.0.gpio.049.invert_output 1 > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users