<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Warning attribut no_assign</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9d91cc4210/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9d91cc4210/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/9d91cc4210/</id><updated>2025-01-10T17:13:21.189000Z</updated><subtitle>Recent posts to Warning attribut no_assign</subtitle><entry><title>Warning attribut no_assign</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9d91cc4210/?limit=25#92ed" rel="alternate"/><published>2025-01-10T17:13:21.189000Z</published><updated>2025-01-10T17:13:21.189000Z</updated><author><name>winki</name><uri>https://forge.codesys.com/u/winki/</uri></author><id>https://forge.codesys.com0f8a3c186e9072a7767b7099e77d193884208065</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I have two warning on my code, and I would like to understand why.&lt;br/&gt;
C0540: Attribut 'no_assign' missing for the 'FB_MOdbusReadHolding'. The type of the variable clientTcp is set to 'no_assign'.&lt;/p&gt;
&lt;p&gt;In this FB, I have done: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;    clientTcp               : ModbusFB.ClientTCP;
    clientRequest           : ModbusFB.ClientRequestReadHoldingRegisters;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The error comes from clientTcp             : ModbusFB.ClientTCP;&lt;/p&gt;
&lt;p&gt;I am using ModbusFB 4.4.0.0.&lt;/p&gt;
&lt;p&gt;Thx a lot&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>