> On 22 mei 2014, at 16:09, Stuart Stevenson <stus...@gmail.com> wrote: > > On Thu, May 22, 2014 at 7:09 AM, Bas de Bruijn <bdebru...@luminize.nl>wrote: > >> >> >>> On 22 mei 2014, at 13:34, Stuart Stevenson <stus...@gmail.com> wrote: >>> >>> You should try + and -. They should determine which direction you travel. >>> The position command tells the machine where to stop. 1 degree will >> always >>> be in the same place. >> >> I only have absolute positions between from 0 up to and including 360 >> degrees. The angle is output of a component, so I don't have the sign. Just >> reading on in the docs I think I need to use G91.2 in my program >> >> I don't think you should have 360 degrees as 0 and 360 are the same > position. You should have 359.999 as the max with 0 being the next position.
I made a Typo, when the component sees 360, it sets it to 0, so my output is 0 <= angle < 360 The input of the component is x-velocity and y-velocity > Do you 'always' want to move the shortest direction? I enable the rotation of this axis (slew ring) to align to the movement vector. This is what I'm doing so you can see why I have these crazy questions: http://youtu.be/wYKpTZFyTSE https://github.com/luminize/open-ideas/tree/master/additive-manufacturing-of-PCBs http://basdebruijn.com/2014/05/machinekit-and-additive-pcb-manufacturing/ Bas > I think you should > modify your component to output the sign to match what you are wanting to > do. > Stuart > > -- > Addressee is the intended audience. > If you are not the addressee then my consent is not given for you to read > this email furthermore it is my wish you would close this without saving or > reading, and cease and desist from saving or opening my private > correspondence. > Thank you for honoring my wish. > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users