<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that?</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/06860910a2/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/06860910a2/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/06860910a2/</id><updated>2024-05-07T19:02:32.051000Z</updated><subtitle>Recent posts to CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that?</subtitle><entry><title>CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that?</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/06860910a2/?limit=25#964f" rel="alternate"/><published>2024-05-07T19:02:32.051000Z</published><updated>2024-05-07T19:02:32.051000Z</updated><author><name>peterned</name><uri>https://forge.codesys.com/u/peterned/</uri></author><id>https://forge.codesys.com0547091a4771d0ba4259094f5f286d9b6c10c7dd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Georg, that fixed it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that?</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/06860910a2/?limit=25#da1c" rel="alternate"/><published>2024-04-30T11:28:13.664000Z</published><updated>2024-04-30T11:28:13.664000Z</updated><author><name>gseidel</name><uri>https://forge.codesys.com/u/gseidel/</uri></author><id>https://forge.codesys.comeac9ab617ea5f7d10674462c10c3e2850eb0c8a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi peterned,&lt;/p&gt;
&lt;p&gt;the start position given in the CNC properties is only used if you use the compile mode OutQueue.&lt;/p&gt;
&lt;p&gt;With compile mode SMC_CNC_REF, you need to provide the start position in the IEC application. The function block SMC_NCInterpreter has an input piStartPosition. You can initialize it with the output of the forward kinematic transormation FB for your machine. In your case probably SMC_TRAFOF_Gantry2.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Georg&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that?</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/06860910a2/?limit=25#c36f" rel="alternate"/><published>2024-04-26T18:06:29.763000Z</published><updated>2024-04-26T18:06:29.763000Z</updated><author><name>peterned</name><uri>https://forge.codesys.com/u/peterned/</uri></author><id>https://forge.codesys.com34a8826c7f8dcb8b0e3764ba4d89b84f29b7f651</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I have a XY system and use a CNC file to move it. &lt;br/&gt;
Everything works OK, except for the following: when CNC execution starts, the system rushes at high speed to (X=0, Y=0) point, and only then goes to the first line of the CNC file.&lt;br/&gt;
If one of the axes is near 0, the system jumps and immediately stops with an error.&lt;/p&gt;
&lt;p&gt;In the CNC file settings (screenshot attached) I specified low default values for speed/acceleration and a start position different from 0,0 - but all that is ignored. &lt;/p&gt;
&lt;p&gt;Any idea how to avoid that move to 0,0 ? &lt;br/&gt;
Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>