Rob Jansen wrote:
> is it possible to invert the DIR signal of the stepgen output of the
> Mesa 5i20 board?
> On my old (parport) config I had the DIR signal inverted so I was
> looking for a similar option on the hostmot configuration.
Yes this is easily doable.
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
--
Sebastian Kuzminsky
We need numbers, not adjectives. -- David MacKay
<http://www.withouthotair.com/>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users