<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How do I parse the following non-standard M code expression in CODESYS?</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/6dece2498c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/6dece2498c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/6dece2498c/</id><updated>2025-03-24T10:47:10.732000Z</updated><subtitle>Recent posts to How do I parse the following non-standard M code expression in CODESYS?</subtitle><entry><title>How do I parse the following non-standard M code expression in CODESYS?</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/6dece2498c/?limit=25#143a" rel="alternate"/><published>2025-03-24T10:47:10.732000Z</published><updated>2025-03-24T10:47:10.732000Z</updated><author><name>sercan</name><uri>https://forge.codesys.com/u/sercan/</uri></author><id>https://forge.codesys.com3c8e085561a19f4ca0f5dd48012f3f4fad9fab0c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;How do I parse the following non-standard (machine specified) M code expression 'S10000' within a file in CODESYS (v3.5 SP20 Patch 4+)?&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;N100 M3 S10000
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I want to parse this non-standard M-Code and obtain the value '10000', which indicates the number of revolutions of the spindle. I used the "SMC_GetMParameters" function block but it didn't work! This function block only parses the 'K' and 'L' parameters.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>