My carousel have an ordinary encoder used to sense angle of carousel wheel with an index impulse. A digital output signal rotate carousel, index pulse must occur before sensed value is valid and have to wait until a given position depending on selected tool to turn off rotation of carousel.

Do not find any modulo arithmetic in hal, it is very useful then waiting for a particular angle both if value overflow or just accumulate. May be solved by loop and modulo operator in g-code but maybe adding to carousel component would be a better option.

Anyono else here are using a similar angle?


Nicklas Karlsson



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to