<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Talk</title><link>https://forge.codesys.com/forge/talk/</link><description>Recent posts to Talk</description><language>en</language><lastBuildDate>Sat, 11 Jul 2026 12:37:34 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/forge/talk/feed.rss" rel="self" type="application/rss+xml"></atom:link><item><title>Codesys v3.5.22.10 - Internal error:System.AggregateException...Value cannot be null...Parameter name: expLValue</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/a3f4f40596/?limit=25#189a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I pinpointed down 4 possible causes for this compiler error: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Bare/empty statements (;) standing alone inside an IF/CASE branch — just removed two instances. The optimizer that tries to inline/replace expression statements may choke when a statement has no actual assignment to extract.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A VAR_IN_OUT parameter used directly as a FOR loop's own control variable (FOR X := X TO Y DO)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;General deep-nesting complexity — every one of my decode routines has the same shape (IF busy THEN ... FOR loop containing nested CASE/IF chains ... END_IF), and the crash trace consistently shows for loop → sequence → ifst → sequence → ifst → sequence regardless of the code change. This raises the possibility that it's not one specific statement but a structural depth/complexity limit in SP22.x's compiler optimizer — which would mean no small code change fixes the issue. Only restructuring to reduce nesting depth, or downgrading the compiler will.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Something entirely outside my library files — which cannot not ruled out since the exact stack trace was triggered by a Visualization object, in a totally different codebase. This means the same crash signature can come from unrelated causes.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;IMHO cause 3 is the most probable one..&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hhermsen</dc:creator><pubDate>Sat, 11 Jul 2026 12:37:34 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com45376a24e57f4323cf79ef48cff4c6f539d5f69e</guid></item><item><title>Codesys v3.5.22.10 - Internal error:System.AggregateException...Value cannot be null...Parameter name: expLValue</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/a3f4f40596/?limit=25#2170</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Internal compiler error in SP22.x (expLValue null) — SP21 unaffected — need help isolating root cause&lt;br/&gt;
I'm hitting the same internal compiler crash reported here. Same exact stack trace (AssignmentStatementReplacer → CreateAssignmentExpression → ArgumentNullException: Value cannot be null. Parameter name: expLValue), but in my case triggered by a self-written library, not a Visualization object — so this looks like a general SP22.x codegen regression rather than something tied to one specific language feature.&lt;/p&gt;
&lt;p&gt;What I've confirmed:&lt;/p&gt;
&lt;p&gt;Reverting to SP21 — no issue, builds clean&lt;br/&gt;
SP22.x — internal compiler crash during Build &amp;gt; Application, code generation phase, with zero useful location info (no POU, no line number)&lt;br/&gt;
check_for_errors/precompile-only passes cleanly; the crash only happens on a real full build, meaning static analysis never sees it coming&lt;/p&gt;
&lt;p&gt;What I've tried to isolate the cause (without success):&lt;/p&gt;
&lt;p&gt;Removed a suspected pattern involving a VAR_IN_OUT parameter used directly as a FOR-loop control variable, combined with early RETURN inside the loop — crash persisted identically afterward&lt;br/&gt;
Confirmed no Visualization Manager or similar object in the project (ruling out the trigger in the linked report)&lt;br/&gt;
Used an AI coding assistant (Claude Code) to search for other suspicious patterns — no luck pinpointing the exact statement&lt;/p&gt;
&lt;p&gt;Question &lt;a class="user-mention" href="/u/codesys-com/profile/"&gt;@codesys-com&lt;/a&gt;&lt;br/&gt;
Since the compiler gives no location info at all, is there any way to get more diagnostic output from the SP22.x codegen phase (verbose/debug build flags, log level settings, etc.)? Without that, isolating this in a large library means blind bisection — cutting the codebase in half repeatedly until the crash disappears, which is slow and error-prone without official tooling support.&lt;/p&gt;
&lt;p&gt;Happy to share the affected project or a minimal repro if that helps CODESYS engineering track it down.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hhermsen</dc:creator><pubDate>Sat, 11 Jul 2026 12:20:19 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comeef2f7e6729d7d43b8469251b448495412460495</guid></item><item><title>Beckhoff CX9240 : Using Internal EtherCAT Bus</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f4528cb99a/?limit=25#2341</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Now I understand. I always thought this was not supported. I might test it later. Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yannickasselin</dc:creator><pubDate>Fri, 10 Jul 2026 16:24:28 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com11def3c8734888ca7d4f8e8a4c43c67a13073fd5</guid></item><item><title>Beckhoff CX9240 : Using Internal EtherCAT Bus</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f4528cb99a/?limit=25#1d5c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;you need just out of this windows rte cx package the internal EthercatMaster device description &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">eschwellinger</dc:creator><pubDate>Fri, 10 Jul 2026 14:50:32 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com03a108102f38b5e1999e2cd93d950b15e3bb432c</guid></item><item><title>Dynamic Images</title><link>https://forge.codesys.com/forge/talk/Visualization/thread/9b72b96580/?limit=25#cf50</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I ran into this issue as well.  Here is the fix:&lt;/p&gt;
&lt;p&gt;Good example:&lt;/p&gt;
&lt;p&gt;CASE iBitmap OF&lt;br/&gt;
    0 : sName := 'ImagePool.image0';&lt;br/&gt;
    1 : sName := 'ImagePool.image1';&lt;br/&gt;
END_CASE&lt;/p&gt;
&lt;p&gt;Bad example (this will only work on the target device, WebVisu will show a blank rectangle):&lt;/p&gt;
&lt;p&gt;CASE iBitmap OF&lt;br/&gt;
    0 : sName := '/home/cds-apps/PlcLogic/visu/image0.png';&lt;br/&gt;
    1 : sName := '/home/cds-apps/PlcLogic/visu/image1.png';&lt;br/&gt;
END_CASE&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">erik.gerrits</dc:creator><pubDate>Fri, 10 Jul 2026 13:29:09 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comcd10a371162668063166f5f1b1b3905198f7c0dd</guid></item><item><title>Beckhoff CX9240 : Using Internal EtherCAT Bus</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f4528cb99a/?limit=25#c9d9</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I installed Linux ARM SL and it recognizes the RJ45 ethernet ports, but I cannot get it to recognize the internal port for the IO cards.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">arj3090</dc:creator><pubDate>Fri, 10 Jul 2026 13:15:08 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comf34fdfa63f4d149e572b54468f7f05e9c61f935c</guid></item><item><title>See if application is running</title><link>https://forge.codesys.com/forge/talk/Runtime/thread/ba63162e23/?limit=25#40d0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;br/&gt;
Is it possible to check if PLC application is running or stopped from linux shell? I am using codesys control for linux arm64sl. Tried accessing the plc shell, but get auth errors. &lt;br/&gt;
Also, when starting/stopping the program via plc shell from codesys IDE it doesnt report that information to log&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ttvs</dc:creator><pubDate>Fri, 10 Jul 2026 10:25:07 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comaf0a23953f6c86a46cee9bf3f307f24f08bc375d</guid></item><item><title>Beckhoff CX9240 : Using Internal EtherCAT Bus</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f4528cb99a/?limit=25#d865</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Control RTE is for Windows. &lt;a class="user-mention" href="/u/arj3090/profile/"&gt;@arj3090&lt;/a&gt; specified Linux.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yannickasselin</dc:creator><pubDate>Fri, 10 Jul 2026 09:56:35 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com0eca3f9a92837182f5bc1fcd7e308e77db121139</guid></item><item><title>Beckhoff CX9240 : Using Internal EtherCAT Bus</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f4528cb99a/?limit=25#ae28</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;yes, you need to install Control RTE CX.&lt;br/&gt;
In that package there is the Internal EthercatMaster / EthercatMasterSoftmotion which you could add then.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">eschwellinger</dc:creator><pubDate>Fri, 10 Jul 2026 02:31:38 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com31e8a3849903fa014d7a65aa4eb3d067df862994</guid></item><item><title>Beckhoff CX9240 : Using Internal EtherCAT Bus</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f4528cb99a/?limit=25#aa41</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Is it possible to get CodeSys working with Beckhoff IO cards connected directly to the CX9240 running Linux?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">arj3090</dc:creator><pubDate>Thu, 09 Jul 2026 22:33:55 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comd4a5c771e78d17b94ca83f64422051d4639c8774</guid></item></channel></rss>