<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to ERROR: Variable is not authorized?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c91471dbdf/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c91471dbdf/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/c91471dbdf/</id><updated>2020-02-27T14:01:24.117000Z</updated><subtitle>Recent posts to ERROR: Variable is not authorized?</subtitle><entry><title>ERROR: Variable is not authorized?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c91471dbdf/?limit=25#876b" rel="alternate"/><published>2020-02-27T14:01:24.117000Z</published><updated>2020-02-27T14:01:24.117000Z</updated><author><name>spfeif</name><uri>https://forge.codesys.com/u/spfeif/</uri></author><id>https://forge.codesys.comc69694bfaf31cc6a2d8453c088d30ea9ea27b30a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;V3 of CoDeSys. It is strange because it did compile earlier and all it is is standard FB. There is something that I believe got locked up. I took the TOF and Blink block out of the main program and hid them into another FB and everything is fine. I want to know what this fault is and is there a fault list with descriptions. This is being used with a Schneider M258 PLC but I have been using them for some time and this is a new incident. I have used this same situation countless amounts of times. I think the error message is misleading and not related to the "Device" at all.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ERROR: Variable is not authorized?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c91471dbdf/?limit=25#8e78" rel="alternate"/><published>2020-02-27T14:01:23.849000Z</published><updated>2020-02-27T14:01:23.849000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com43815dbfd05b6ce3c17119a04103b4c02855f0bd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It might be related to the device description files. What happens when you update the device and choose the CoDeSys Control Win as PLC. Does it still give these error messages?&lt;br/&gt;
Which CoDeSys version do you use?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ERROR: Variable is not authorized?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c91471dbdf/?limit=25#b80e" rel="alternate"/><published>2020-02-27T14:01:23.582000Z</published><updated>2020-02-27T14:01:23.582000Z</updated><author><name>spfeif</name><uri>https://forge.codesys.com/u/spfeif/</uri></author><id>https://forge.codesys.com6bd4d8cd0b321faa266853d834f9686223f815df</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a standard program with two FB calls to two standard FB TOF and BLINK. The program has compiled before but I added a few more FB to the program and now I have the following error (see below):&lt;/p&gt;
&lt;p&gt;------ Build all started ------&lt;br/&gt;
                ------ Build started: Application: MyController.Application -------&lt;br/&gt;
                typify code ...&lt;br/&gt;
&lt;span&gt;[ERROR]&lt;/span&gt;         5381xxxx_MJM100ME_CPU1_V100: Main_PRG(Line 5 (Decl)): Use of "ResetAuto" variable (TOF type) is not authorized with the current type of device.&lt;br/&gt;
&lt;span&gt;[ERROR]&lt;/span&gt;         5381xxxx_MJM100ME_CPU1_V100: Main_PRG(Line 6 (Decl)): Use of "MyBlinker" variable (BLINK type) is not authorized with the current type of device.&lt;br/&gt;
&lt;span&gt;[WARNING]&lt;/span&gt;       5381xxxx_MJM100ME_CPU1_V100: Steer_PRG(Network 15 / Operand 'gq_sStrLRSpdTrg' (Impl)): Implicit conversion from unsigned Type 'WORD' to signed Type 'INT' : possible change of sign&lt;br/&gt;
&lt;span&gt;[WARNING]&lt;/span&gt;       5381xxxx_MJM100ME_CPU1_V100: Steer_PRG(Network 17 / Operand 'gq_sStrLRSpdTrg' (Impl)): Implicit conversion from unsigned Type 'WORD' to signed Type 'INT' : possible change of sign&lt;br/&gt;
                Compile complete -- 2 errors, 2 warnings&lt;br/&gt;
                Build complete -- 2 errors, 2 warnings : no download possible!&lt;br/&gt;
                ------ Build all completed 2 errors 2 warnings ------&lt;/p&gt;
&lt;p&gt;The Util and Standard libraries are referenced in the project but the error is very strange. Does anyone know of this error or a list of error messages and possible remedies and where to locate?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>