Startpage

CODESYS Talk

    CODESYS Forge

  • hhermsen modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    I pinpointed down 4 possible causes for this compiler error: 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. A VAR_IN_OUT parameter used directly as a FOR loop's own control variable (FOR X := X TO Y DO) General deep-nesting complexity β€” every one of my decode routines has the same shape (IF busy THEN ... FOR loop containing...

  • hhermsen modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    I pinpointed down 4 possible causes for this compiler error: 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. A VAR_IN_OUT parameter used directly as a FOR loop's own control variable (FOR X := X TO Y DO) General deep-nesting complexity β€” every one of my decode routines has the same shape (IF busy THEN ... FOR loop containing...

  • hhermsen posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I pinpointed down 4 possible causes for this compiler error: 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. A VAR_IN_OUT parameter used directly as a FOR loop's own control variable (FOR X := X TO Y DO) General deep-nesting complexity β€” every one of my decode routines has the same shape (IF busy THEN ... FOR loop containing...

  • hhermsen posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Internal compiler error in SP22.x (expLValue null) β€” SP21 unaffected β€” need help isolating root cause 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...

  • yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Now I understand. I always thought this was not supported. I might test it later. Thanks.