cradek: volatile home and halui pins both doesn't work in estop mode
(I understand now why volatile home code isn't fully enabled in task)
proposed patch to make volatile home works: http://www.pastebin.ca/1725472
(this patch also makes possible to unhome in estop mode via halui unhome pins if they were added)
micges: if it works, that seems fine to me
(I also didn't test it)
EMC: 03micges 07master * r0a7f2d34fcad 10/src/emc/ (motion/command.c task/emctask.cc): Enable volatile home support in task
cool, I guess it was only 98% done, not 99% like I thought
thanks for finishing and testing it
wow, a probe is sure nice for measuring a hole circle
cradek: do you have machine with index homing architecture?
you have some latches for index pulses?
I don't understand that
I wonder how can be done if encoder is high resolution and there is chance to miss a index
that is the responsibility of the encoder hardware
emc doesn't read the index directly
the hardware sees index and either resets the count or latches the count, and then at the next servo cycle emc notices
yes that is on full servo
yes, what is your question
my option is that I have closed loop stepper system (electronics)
and I have pulled only index signal to mesa port
it would be nice if our (various) stepgens handled index homing
hm2 stepgen doesn't have reset-on-index functionality.
does it have latch?
I don't think it has that either
there are no input pins associated with stepgen instances
so it's a big project, and involving pcw
software stepgen could easily (?) read index at the base cycle and latch or reset
but if hm2 (and ppmc?) can't do it, what's the point
micges: you could fake it by going slow enough to not miss the index, and use it in hal to mask the real home switch at the appropriate time (based on the home-state hal pin)
but only do that if you have a limit switch past it... I bet you could still miss it.
thanks I'll try make some tests
good night all
micges: good morning
Wesolych swiat to You too ;)
EMC: 03micges 07master * r88ba8a07d9e1 10/src/emc/usr_intf/halui.cc: Add joint unhome pins to halui, update comments
Guest358 is now known as skunkworks_