David Winter wrote:

> Steve,
>            Thanks for owning up to not writing the man page for
> mod-dir but I would like to know what it does and how it works please.
>  
>                              Thanks in advance,
>  
>                               David Winter.

Oh, that :)

It chooses the shortest path from "actual" to "desired" positions.  
There are parameters for min and max values, and whether it should wrap 
around (ie, increment past max = min and vice versa).  It is used to 
move the toolchanger to the target pocket using the fewest moves.

The parameters are:
min-num:  the minimum position value.
max-num: the maximum position value.
wrap: whether or not to wrap the count or clip to min/max.

Input pins are:
actual: the current position
desired: the desired position

Output pins are:
up: true when actual needs to go up to reach desired
down: true when actual needs to go down to reach desired
on-target: true when actual==desired

Hope this helps
- Steve
(maybe I should copy this email into a manpage ;) )


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to