<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SM_Drive_Virtual</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/45ac51acfe/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/45ac51acfe/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/45ac51acfe/</id><updated>2025-10-21T14:05:53.772000Z</updated><subtitle>Recent posts to SM_Drive_Virtual</subtitle><entry><title>SM_Drive_Virtual</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/45ac51acfe/?limit=25#6656" rel="alternate"/><published>2025-10-21T14:05:53.772000Z</published><updated>2025-10-21T14:05:53.772000Z</updated><author><name>mizi</name><uri>https://forge.codesys.com/u/mizi/</uri></author><id>https://forge.codesys.com9830b66c112e25559106aef85924128d2a2b58a4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;br/&gt;
I recently started learning Codesys SoftMotion. At first, I mainly used YouTube videos. I stopped at two videos where the same problem keeps recurring.&lt;br/&gt;
fbReadPos( &lt;br/&gt;
Axis := X_Axis, &lt;br/&gt;
Enable := TRUE, &lt;br/&gt;
Position =&amp;gt; gAxes.lrActualPos); &amp;lt;- axis cannot move&lt;br/&gt;
I checked the entire code line by line. Zero errors. GPT spits out nonsense, throwing up increasingly worse errors. And when I copy its code, it says the code is wrong and gets stuck in a loop of its own stupidity. Can anyone explain why it doesn't work?&lt;br/&gt;
Link to the video below:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=CYa2HvYZgbM&amp;amp;list=PLsEhEcYjG7na0OveU7cqFXBx7ATyGGn0A&amp;amp;index=3" rel="nofollow"&gt;https://www.youtube.com/watch?v=CYa2HvYZgbM&amp;amp;list=PLsEhEcYjG7na0OveU7cqFXBx7ATyGGn0A&amp;amp;index=3&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>