8967
« on: April 08, 2012, 09:27:52 AM »
Would there be a possibilty to write a value to the chosen DRO for the encoder on seeing a signal in on the index? What I am meaning is if for example I am wishing to use the encoder inputs to monitor machine coords. So if you homed the machine you would input a signal on 9, 11 or 27 and that would presumably zero the encoder in the pokeys? However if the home switches were not at the end of travel in Mach it is normal to have a home off value so that when you home instead of the machine coords going zero they get set to the value that is in Home Off setting and thus that is what you would want the encoder in Pokeys to be set to.
If its not an easy task it should be easy enough to do by writing to another DRO from a Brain but it adds another layer and doing in the pokeys plugin would be preferable.
Hood