>From: Sebastian Kuzminsky <[email protected]>
>Subject: Re: [Emc-users] Hostmot2 and Homing
>To: "Enhanced Machine Controller (EMC)"
>Both of these sources will tell you that (on the 5i23) IO#4 is pin 9 on
>P2, and is the index for the second encoder.
>If you wanted to look at the logic value on the second encoder's index
>pin, you'd look at hm2_5i23.0.gpio.004.in.
>Does this make sense?
You saying that it should look like this?
net Xindex-enable axis.0.index-enable m2_5i23.0.gpio.P2.005.in
Result is this
Starting EMC2...
m5i23.hal:99: Signal 'Xindex-enable' can not add I/O pin 'axis.0.index-enable'
Shutting down and cleaning up EMC2...
Tried this
net Xindex-enable axis.0.index hm2_5i23.0.gpio.P2.005.in
Got this
Starting EMC2...
m5i23.hal:99: pin 'axis.0.index-in' does not exist
Shutting down and cleaning up EMC2...
The only way it will take it is
Xindex-enable hm2_5i23.0.encoder.00.index-enable axis.0.index-enable
But Peter send this
>No, index-enable is not the index input (thats the GPIO pin Sebastian
>mentioned)
>index-enable is a bi-directional pin that enables the hardware index logic if
>set, It is cleared when a index event occurs.
Found this on IRC
13:34:02 <SWPadnos> hmmm - those are the same in both the stock univstep and my
config
13:34:38 <SWPadnos> strange - I thought the tool prep loopback was added to all
the configs
13:38:13 <rayh> axis.0.index-enable is the only index pin available today in
head.
13:38:35 <rayh> It may be that jmk changed the name of the pin when he got it
working last week.
13:38:46 <SWPadnos> I'm looking for the change that removed index-pulse-in from
all the axes
13:38:48 <SWPadnos> could be
13:39:25 <SWPadnos> yep - removed index-pulse-in, added index-enable
13:40:15 <rayh> okay that explains it. is it grep -r time on the configs
directories
13:40:31 <SWPadnos> I'm not sure. it seems weird to have index-enable, but no
index
13:40:39 <SWPadnos> nothing to enable
13:41:20 <rayh> I though it a bit strange which is why I simply commented out
the links.
13:41:56 <SWPadnos> yep - just did that in my config. I'll ask JMK about it
tonight
13:42:13 <SWPadnos> not sure what he was thinking (and I haven't read the
encoder canonical interface yet)
So How is the index pulse to be sent to EMC?
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users