> Chris, > I agree on the jogwheel. Because I currently don't have a jogwheel I am > making due w/ the arrow keys on the AXIS GUI and it is working, my > biggest problem is proximity to the work. > I am still stuck at trying to figure out how to make a selection of the > correct axis to jog w/o having a hardwired line for each selection? I > will probably have to just try some things. If I have a momentary switch > connected to halui.jog.selected are you thinking that it will index to a > new axis as I press and release? Also looking in the Hal document I am > not seeing halui.jog.selected, should i be looking somewhere? I do see > halui.jog-wheel.axis but this is a u8 data type. I think the key to > figuring this out is an understanding of the available blocks/functions > and how to use them to create a program.
if you have 4 or less axes/modes to choose from, you could encode the position of a rotary switch into 2 bits. That way you save a bit of I/O. Saving would be even more with an 8-position switch, which can be represented with 3 bits. For jogging, it is best to connect the jogwheel count directly to emc's motioncontroller, as in my example: http://www.anderswallin.net/wp-content/2006_11jog/jog.hal you see that the jogwheel count is wired to axis.X.jog-counts this is a connection directly to emc's motioncontroller, and does not require halui. I think people tried physical jogwheels through halui and found that jogging was jerky, that's why jog-counts pins were added to the motioncontroller. AW ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users