<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to "Invalid Value" for Variables at Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/64c144015a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/64c144015a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/64c144015a/</id><updated>2026-03-09T12:36:13.056000Z</updated><subtitle>Recent posts to "Invalid Value" for Variables at Runtime</subtitle><entry><title>"Invalid Value" for Variables at Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/64c144015a/?limit=25#8e8b/6319" rel="alternate"/><published>2026-03-09T12:36:13.056000Z</published><updated>2026-03-09T12:36:13.056000Z</updated><author><name>noah</name><uri>https://forge.codesys.com/u/noah/</uri></author><id>https://forge.codesys.com71a7c0d185c08d1cba4e4421cc4abed55e897fee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;br/&gt;
I also have the problem that suddenly all variables in my project were invalid and shown as "???" during runtime. Could you manage to fix the problem in the last 4,5 years ;) ? Because I tried everythin to fix it but nothing worked. I feel like maybe this is a bug. Thank you. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>"Invalid Value" for Variables at Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/64c144015a/?limit=25#8e8b/589f" rel="alternate"/><published>2026-03-09T12:36:10.075000Z</published><updated>2026-03-09T12:36:10.075000Z</updated><author><name>noah</name><uri>https://forge.codesys.com/u/noah/</uri></author><id>https://forge.codesys.com22af3625d98057c7fb1f32dcdd7ec1a189c38997</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;br/&gt;
I also have the problem that suddenly all variables in my project were invalid and shown as "???" during runtime. Could you manage to fix the problem in the last 4,5 years ;) ? Because I tried everythin to fix it but nothing worked. I feel like maybe this is a bug. Thank you. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>"Invalid Value" for Variables at Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/64c144015a/?limit=25#6b7b" rel="alternate"/><published>2021-09-08T18:55:42.513000Z</published><updated>2021-09-08T18:55:42.513000Z</updated><author><name>bwayt</name><uri>https://forge.codesys.com/u/bwayt/</uri></author><id>https://forge.codesys.comcc4b0a753e35ceed0174a54e0264acbcedc4c0a4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The clock signal issue was due to the SPI default speed of 1.25 MHz(!); I have changed it to 1000 Hz and I can now see the clock signal perfectly. The oscilloscope also showed me that MOSI was sending bytes 0x88, 0x03 then 0x90, 0x00: the write commands referenced in the setup method. &lt;/p&gt;
&lt;p&gt;I wonder if this program is just never getting past the setup method.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>"Invalid Value" for Variables at Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/64c144015a/?limit=25#8e8b" rel="alternate"/><published>2021-09-08T18:05:36.210000Z</published><updated>2021-09-08T18:05:36.210000Z</updated><author><name>bwayt</name><uri>https://forge.codesys.com/u/bwayt/</uri></author><id>https://forge.codesys.comcec81ed51e04985292e89fc3f087b356f0c14820</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello again!&lt;br/&gt;
    Previously I had written a simple program that write to a register and reads from it. It works beautifully. Now, I am trying to expand upon that and write a program that sets up the buffer board's mode, then continuously reads the encoder value from the 'CNTR' register.&lt;br/&gt;
    Unfortunately, now there isn't even a clock signal; and, when I go online, all values (except for constants) show as '???' (invalid value). My guess is that there's an issue with how I set up the Task Configuration, but I can't be sure. Can anyone offer some direction?&lt;br/&gt;
    I'll continue researching this and update if I find anything.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>