<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to influence the direction into CNC motion</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5aa350b04/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5aa350b04/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/c5aa350b04/</id><updated>2020-02-27T13:49:29.981000Z</updated><subtitle>Recent posts to influence the direction into CNC motion</subtitle><entry><title>influence the direction into CNC motion</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5aa350b04/?limit=25#660c" rel="alternate"/><published>2020-02-27T13:49:29.981000Z</published><updated>2020-02-27T13:49:29.981000Z</updated><author><name>conoscenza</name><uri>https://forge.codesys.com/u/conoscenza/</uri></author><id>https://forge.codesys.comb07dbac70bc0d816d6d1baf3d0bf657121d3d1f3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you so much Edwin for your answer!&lt;/p&gt;
&lt;p&gt;Anyway I don't use decoder but the other way "OutQueue".&lt;/p&gt;
&lt;p&gt;Is it possbile to modify the direction from "shortest" to "positive" directly?&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>influence the direction into CNC motion</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5aa350b04/?limit=25#02ef" rel="alternate"/><published>2020-02-27T13:49:29.889000Z</published><updated>2020-02-27T13:49:29.889000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com46510799eb64077ea3855fd5a84670d9a6a35bcf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
The user can specify a period for the axes A, B, C, P, Q, U, V and W by setting the word PA, PB, PC and so on. By default these are 0, which means: finite and not modulo.&lt;br/&gt;
e.g. N0 PA360 (this means that A has a period of 360 degree).&lt;br/&gt;
Then, the decoder will modify ist behaviour in the way, that the additional axes always travel tot he nearest point. E.g:&lt;br/&gt;
N0 PA360&lt;br/&gt;
N0 G92 A270 (set the position of A axis to 270)&lt;br/&gt;
N0 G1 A0&lt;br/&gt;
This will move the axis in positive direction.&lt;/p&gt;
&lt;p&gt;The position output of the ipo is not in the interval &lt;span&gt;[0..Periodlimit]&lt;/span&gt;, but can be outside of it. However, the FBs like SMC_ControlAxisByPos will take care of making the modulo.&lt;/p&gt;
&lt;p&gt;cu&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>influence the direction into CNC motion</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5aa350b04/?limit=25#f4e3" rel="alternate"/><published>2020-02-27T13:49:29.510000Z</published><updated>2020-02-27T13:49:29.510000Z</updated><author><name>conoscenza</name><uri>https://forge.codesys.com/u/conoscenza/</uri></author><id>https://forge.codesys.comc8a6849360cdfe284182c98517e9e076b8bfc9b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi guys!&lt;br/&gt;
I'm doing a project where 5 module axes, 0-360, and they are moved with CNC motion.&lt;br/&gt;
I use: &lt;br/&gt;
smc_smoothpath -&amp;gt; smc_extendedcheckvelocity -&amp;gt; smc_checkvelocities -&amp;gt; smc_interpolator and then smc_controlaxisbypos.&lt;/p&gt;
&lt;p&gt;But I have a little question: can I set the direction of the axes in positive value?&lt;br/&gt;
If I set the movement from 350 to 5, it does a backwards movement, instead I would a forward movement.&lt;/p&gt;
&lt;p&gt;Can anyone help me?&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>