<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Persistent Retain Variables Not Visible in Online View (WAGO PFC100 + CODESYS) </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ae30a8769f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ae30a8769f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ae30a8769f/</id><updated>2025-10-26T10:50:11.653000Z</updated><subtitle>Recent posts to Persistent Retain Variables Not Visible in Online View (WAGO PFC100 + CODESYS) </subtitle><entry><title>Persistent Retain Variables Not Visible in Online View (WAGO PFC100 + CODESYS) </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ae30a8769f/?limit=25#e86c" rel="alternate"/><published>2025-10-26T10:50:11.653000Z</published><updated>2025-10-26T10:50:11.653000Z</updated><author><name>TimvH</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.comcf15c4ee2d8f0ca2b622085dfcdde151167cfa4c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It is a known issue. It only happens with CODESYS and Wago controllers and the Persistent Variables. It seems related to using 64 bit variables in the PV list (e.g. LREAL). Internally in the PLC everything works okay. It is just a monitoring issue.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent Retain Variables Not Visible in Online View (WAGO PFC100 + CODESYS) </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ae30a8769f/?limit=25#02fb" rel="alternate"/><published>2025-10-23T11:16:32.571000Z</published><updated>2025-10-23T11:16:32.571000Z</updated><author><name>jasperclauwaert</name><uri>https://forge.codesys.com/u/jasperclauwaert/</uri></author><id>https://forge.codesys.com0cbeefcad281e6ca5ea9d3fd796877244261effd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I’m working on a WAGO PFC100 with CODESYS. During development everything worked fine, but in the final stage I set several variables to PERSISTENT RETAIN.&lt;/p&gt;
&lt;p&gt;When I go online, most of these persistent variables cannot be monitored. Instead, I see:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;Value of the expression cannot be retrieved&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Interestingly, a few variables do show their values correctly, but the majority do not.&lt;/p&gt;
&lt;p&gt;The variables are not used as pointers or in any unusual way.&lt;/p&gt;
&lt;p&gt;The application compiles and runs without errors.&lt;/p&gt;
&lt;p&gt;Has anyone experienced this before? Is this a known issue with PFC100 or CODESYS? Any ideas on what could cause this behavior?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;br/&gt;
Jasper&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>