On 7/12/2011 11:09 AM, andy pugh wrote: > There is a guy on the forum wanting to do wierd things with his > config. In effect he wants to slave/unslave axes on the fly. > > One of the many stumbling blocks with this is that he really needs a > way to force the internal value of an axis in the motion controller to > a value/ > For example, V might move independently, then get slaved to Y, and > then when it gets unslaved the motion controller etc needs to think > that V is where it actually is, rather than where the last V-word left > it. > > Is there a way to do this? > >
Not from what I have seen so far.. The motion controller generally doesn't know what is going on in "Hal Land" from what I have seen. I think you could slave and unslave axes with some creative Hal connections, but on the fly?? Do you really mean while things are moving?? That would be a trick for any motion controller.. some serious code would be needed for most conventional motion controllers.. Wouldn't you want to suspend the motion controllers operation while the position "force" was being done then also?? I think you can sort of force an internal value in the motion controller now via the motion controller itself. Output a bit to suspend a Hal connection and then make a move via Gcode that spins the position to the desired location, the re-establish the external servo connection.. I haven't tried it but I think it is possible. Dave ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
