I am moving from 2.17(working) to 2.33. I am using HM2-Servo 3 axis 5i20.

Halscope:
http://imagebin.org/68314

I expected homing to complete at the index (gpio 005). Homing is at 
level 16.

I added this to the standard io block in hm2-servo.hal:

# X axis limit and home
newsig Xminlim-and-home bit
newsig Xmaxlim  bit
linksp Xminlim-and-home <= hm2_5i20.0.gpio.024.in_not
linksp Xminlim-and-home => axis.0.neg-lim-sw-in
linksp Xminlim-and-home => axis.0.home-sw-in
linksp Xmaxlim <= hm2_5i20.0.gpio.025.in_not
linksp Xmaxlim => axis.0.pos-lim-sw-in

Thanks,

Richard






------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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/devconference
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to