<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to pragma instruction to know if the software is in simulation mode?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5613fb58e8/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5613fb58e8/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/5613fb58e8/</id><updated>2020-02-27T14:02:17.475000Z</updated><subtitle>Recent posts to pragma instruction to know if the software is in simulation mode?</subtitle><entry><title>pragma instruction to know if the software is in simulation mode?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5613fb58e8/?limit=25#31ba" rel="alternate"/><published>2020-02-27T14:02:17.475000Z</published><updated>2020-02-27T14:02:17.475000Z</updated><author><name>Joan M</name><uri>https://forge.codesys.com/u/joan-m/</uri></author><id>https://forge.codesys.coma3908280e3ed7fa2cceb4bdbc4bee8994d4ddafa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Perfect!&lt;/p&gt;
&lt;p&gt;This combined with the pragma "hasvalue" will do it, thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>pragma instruction to know if the software is in simulation mode?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5613fb58e8/?limit=25#c9e3" rel="alternate"/><published>2020-02-27T14:02:16.677000Z</published><updated>2020-02-27T14:02:16.677000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comb45bd522293bb5e6c27e7d14ef5b3b4255414053</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you could use:&lt;/p&gt;
&lt;p&gt;__SYSTEM.Constants.bSimulationMode&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>pragma instruction to know if the software is in simulation mode?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5613fb58e8/?limit=25#4566" rel="alternate"/><published>2020-02-27T14:02:16.418000Z</published><updated>2020-02-27T14:02:16.418000Z</updated><author><name>Joan M</name><uri>https://forge.codesys.com/u/joan-m/</uri></author><id>https://forge.codesys.com2892b5fbaed35b4f1bf54e96fdc7b624f27e5582</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;Is there any instruction that tells the system is in simulation mode?&lt;/p&gt;
&lt;p&gt;I'm thinking on a pragma to avoid adding code into the PLC but at the same time getting the desired result...&lt;/p&gt;
&lt;p&gt;Anyone knows about this?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>