On 3 June 2015 at 02:45, Stuart Stevenson <[email protected]> wrote:
> I don't understand why the random tool changer would shuffle tool randomly.
> It keeps track of which tool is in which pocket.

OK. So it isn't random, but if you have a rack, nonrandom toolchanger
you won't know where things are any more.

RANDOM_TOOLCHANGE assumes that if you start with too/pocket

1/1
2/2
3/3

Then M6T1 gives

1/0
2/2
3/3

Then M6 T3 gives

1/3
2/2
3/0

Because RANDOM_TOOLCHANGER always puts the old tool in the pocket of
the new tool.
If your toolchanger actually has to put the tool in the pocket it came
out of then you can't use pocket-number any more.

As it happens, you can't really use it in remapped code anyway.
iocontrol.0.pocket-number returns the P-number from the tool table
(correctly), but the Python interface status returns the internal
array index instead.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to