<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/</id><updated>2020-02-27T15:02:01.346000Z</updated><subtitle>Recent posts to Access/execute codesys menu</subtitle><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#7635" rel="alternate"/><published>2020-02-27T15:02:01.346000Z</published><updated>2020-02-27T15:02:01.346000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comd066778470d1dc6df3e8daba86f3c10d36486135</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please note that using the undocumented command interface is not a supported usecase. We might use it for workaorunds sometimes.&lt;/p&gt;
&lt;p&gt;The command in question does not take any arguments. Instead, it works on the currently selected Recipe Definition Editor. If the active view is not a Recipe Definition Editor, it will throw a null reference exception.&lt;/p&gt;
&lt;p&gt;HTH,&lt;br/&gt;
Markus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#f82f" rel="alternate"/><published>2020-02-27T15:02:00.742000Z</published><updated>2020-02-27T15:02:00.742000Z</updated><author><name>Shabroz.Gill</name><uri>https://forge.codesys.com/u/shabroz-gill/</uri></author><id>https://forge.codesys.com0c784bdfb671ba8cb87dd56e7a22a28ad17117a4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to execute the command : ('Update structured variables', &amp;lt;system.guid 0x00000000000000f9="" object="" at="" &amp;lt;span=""&amp;gt;[714fa2c5-b677-45b2-85d8-3144aba5d531]&amp;gt;, Array&lt;a class="" href="../('recipes',%20'updatestructuredvariables')"&gt;str&lt;/a&gt;)&lt;br/&gt;
This is a workaround for me because recipe management is not available through scripts&amp;lt;/system.guid&amp;gt;&lt;/p&gt;
&lt;p&gt;I need to update the structured variables of all the recipes from the script. I thought the argument to the execute command would be the guid of the recipe. But I get the error : object reference not set to an instance of an object. Am I missing some argument?&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;cmd&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;commands&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'{714fa2c5-b677-45b2-85d8-3144aba5d531}'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="k"&gt;get&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="k"&gt;update&lt;/span&gt; &lt;span class="n"&gt;structured&lt;/span&gt; &lt;span class="n"&gt;variables&lt;/span&gt; &lt;span class="n"&gt;command&lt;/span&gt;
&lt;span class="n"&gt;cmd&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;execute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'{f992dc78-635a-4094-bcb4-56c1e53ee1de}'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="k"&gt;execute&lt;/span&gt; &lt;span class="n"&gt;command&lt;/span&gt; &lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="n"&gt;recipe&lt;/span&gt; &lt;span class="n"&gt;guid&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#5094" rel="alternate"/><published>2020-02-27T15:01:59.064000Z</published><updated>2020-02-27T15:01:59.064000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com1bc0c7a0e021d6d94c42db102addd3f157e28632</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The objects in a project all have a "guid" property - so you could use projects.primary.find("DeviceName")&lt;span&gt;[0]&lt;/span&gt;.guid if the device is the only object with this name.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#6bee" rel="alternate"/><published>2020-02-27T15:01:58.448000Z</published><updated>2020-02-27T15:01:58.448000Z</updated><author><name>RTgiga</name><uri>https://forge.codesys.com/u/rtgiga/</uri></author><id>https://forge.codesys.com0ab7b278eb443ca6afaab353168dafafc1e1ba18</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_handling&lt;/span&gt; &lt;span class="o"&gt;|=&lt;/span&gt; &lt;span class="n"&gt;PromptHandling&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ProcessScriptPrompts&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt; &lt;span class="n"&gt;forwards&lt;/span&gt; &lt;span class="n"&gt;prompts&lt;/span&gt; &lt;span class="k"&gt;to&lt;/span&gt; &lt;span class="n"&gt;script&lt;/span&gt;
&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_handling&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;=&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="n"&gt;PromptHandling&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ForwardSimplePrompts&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt; &lt;span class="n"&gt;silences&lt;/span&gt; &lt;span class="n"&gt;other&lt;/span&gt; &lt;span class="n"&gt;prompts&lt;/span&gt;
&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_answers&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="ss"&gt;"EnterDebugMode_Prompt"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;PromptResult&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OK&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt; &lt;span class="n"&gt;you&lt;/span&gt; &lt;span class="n"&gt;have&lt;/span&gt; &lt;span class="k"&gt;to&lt;/span&gt; &lt;span class="n"&gt;put&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="k"&gt;before&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="k"&gt;execute&lt;/span&gt;
&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;commands&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="ss"&gt;"sil2_commands"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;"enter_debug_mode"&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="k"&gt;execute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;proj_device&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;guid&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I had the same issue and this works fine for me but I'm still wondering, if there is an easy/easier way to find out the project device guid? I found the guid in an exported file (Project -&amp;gt; Export...) but i hope there is a more elegant solution (maybe another python script?).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#ffb5" rel="alternate"/><published>2020-02-27T15:01:57.848000Z</published><updated>2020-02-27T15:01:57.848000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com3f3e164e3e3c24fe3c825bbad5d623a7275b1b93</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Happy you found a solution - on the other hand, you can also use the guid as key in the &lt;span&gt;[index]&lt;/span&gt; operator - a little bit more ugly, but it should work, too.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#ae81" rel="alternate"/><published>2020-02-27T15:01:56.169000Z</published><updated>2020-02-27T15:01:56.169000Z</updated><author><name>etamgul</name><uri>https://forge.codesys.com/u/etamgul/</uri></author><id>https://forge.codesys.com823f074aa67f410fa4079431f4cbefafad8506d0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Never mind, i found it:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nv"&gt;cmd&lt;/span&gt; &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;system&lt;/span&gt;.&lt;span class="nv"&gt;commands&lt;/span&gt;.&lt;span class="nv"&gt;GetEnumerator&lt;/span&gt;&lt;span class="ss"&gt;()&lt;/span&gt;: 
    &lt;span class="nv"&gt;print&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;{0} - {1} - {2}&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;.&lt;span class="nv"&gt;format&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;cmd&lt;/span&gt;.&lt;span class="nv"&gt;guid&lt;/span&gt;, &lt;span class="nv"&gt;cmd&lt;/span&gt;.&lt;span class="nv"&gt;name&lt;/span&gt;, &lt;span class="nv"&gt;cmd&lt;/span&gt;.&lt;span class="nv"&gt;tokens&lt;/span&gt;&lt;span class="ss"&gt;))&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;b4c6c2d3-cfda-4a01-9065-e9ad98fadfa4 - Enter debug mode... - Array&lt;a class="" href="../('sil2_commands',%20'enter_debug_mode')"&gt;str&lt;/a&gt;&lt;br/&gt;
37fbe729-b4ba-41fe-9f74-4987df16c487 - Create coverage info - Array&lt;a class="" href="../('sil2_commands',%20'createcoverageinfo')"&gt;str&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#bb92" rel="alternate"/><published>2020-02-27T15:01:55.587000Z</published><updated>2020-02-27T15:01:55.587000Z</updated><author><name>etamgul</name><uri>https://forge.codesys.com/u/etamgul/</uri></author><id>https://forge.codesys.comd26d6cdb37e3a13cce436d26f69d885d4dd08df0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I was experimenting with this system.commands&lt;span&gt;["", ""]&lt;/span&gt; interface and I'm trying to figure out &lt;br/&gt;
where did you get those strings ("sil2_commands", "enter_debug_mode").&lt;/p&gt;
&lt;p&gt;When i list all the commands i get the same guid but with different name:&lt;br/&gt;
b4c6c2d3-cfda-4a01-9065-e9ad98fadfa4 - "Enter debug mode..."&lt;/p&gt;
&lt;p&gt;Could you tell me how can I get a list of the available/searchable tokens that can be searched for&lt;br/&gt;
using the IScriptCommands' [] get interface?&lt;/p&gt;
&lt;p&gt;To be more excact: I'm trying to figure out how could I set and enable a breakpoint using the script.&lt;br/&gt;
I'm not sure if its managable at all (or available but just with limitation e.g. script executed under GUI).&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#ab82" rel="alternate"/><published>2020-02-27T15:01:53.893000Z</published><updated>2020-02-27T15:01:53.893000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com1c701a90590b413bf9160df322294bec24636f82</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The ProcessScriptPrompts is only about the prompts issued by the script itsself, via system.ui - it is disabled by default so a script which disables ForwardSimplePrompts can still show its own prompts.&lt;/p&gt;
&lt;p&gt;You need to "pre-answer" the prompts for the following reason: Command execution is synchroneous&lt;span&gt;[1]&lt;/span&gt;, like any other function or method call. Control only returns back to the script after the command is finished. So when the script lines after the command are executed, all prompts have already been shown. The only way to solve this is to preload the answers for the expected prompts&lt;span&gt;[2]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[1]&lt;/span&gt; Even if it was asynchroneous, there'd be a race condition.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[2]&lt;/span&gt; Or to invent a time traveling device, of course...  &lt;/p&gt;
&lt;p&gt;HTH,&lt;br/&gt;
Markus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#5ee1" rel="alternate"/><published>2020-02-27T15:01:53.279000Z</published><updated>2020-02-27T15:01:53.279000Z</updated><author><name>etamgul</name><uri>https://forge.codesys.com/u/etamgul/</uri></author><id>https://forge.codesys.come5766d33eb86585dad9221f2edc2c63e8d520307</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you again, I think I've managed it. I had to experiment a bit but just for the others who would like to do the same:&lt;/p&gt;
&lt;p&gt;If I got it right&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_handling&lt;/span&gt; &lt;span class="o"&gt;|=&lt;/span&gt; &lt;span class="n"&gt;PromptHandling&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ProcessScriptPrompts&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt; &lt;span class="n"&gt;forwards&lt;/span&gt; &lt;span class="n"&gt;prompts&lt;/span&gt; &lt;span class="k"&gt;to&lt;/span&gt; &lt;span class="n"&gt;script&lt;/span&gt;
&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_handling&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;=&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="n"&gt;PromptHandling&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ForwardSimplePrompts&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt; &lt;span class="n"&gt;silences&lt;/span&gt; &lt;span class="n"&gt;other&lt;/span&gt; &lt;span class="n"&gt;prompts&lt;/span&gt;
&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_answers&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="ss"&gt;"EnterDebugMode_Prompt"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;PromptResult&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OK&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt; &lt;span class="n"&gt;you&lt;/span&gt; &lt;span class="n"&gt;have&lt;/span&gt; &lt;span class="k"&gt;to&lt;/span&gt; &lt;span class="n"&gt;put&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="k"&gt;before&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="k"&gt;execute&lt;/span&gt;
&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;commands&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="ss"&gt;"sil2_commands"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;"enter_debug_mode"&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="k"&gt;execute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;proj_device&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;guid&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;What I did not understand is why I had to pre-answer a prompt but its working so far so I dont mind &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access/execute codesys menu</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/?limit=25#b48a" rel="alternate"/><published>2020-02-27T15:01:52.653000Z</published><updated>2020-02-27T15:01:52.653000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comd1d6afa3c8f2cd8e84b1dbd8ca29a24cb409d0ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The key for the prompt_answers dictionary neds to be the message key of the dialog in question, not the command name.&lt;/p&gt;
&lt;p&gt;The message key for the prompt in question is "EnterDebugMode_Prompt".&lt;/p&gt;
&lt;p&gt;There's another dialog coming up later, which is a simple info dialog. You can either catch it using the message key "EnterDebugMode_Info_PlcEnteredDebugMode", or by unsetting the ForwardSimplePrompts flag - unsetting this flag simply suppresses all dialogs with only a single OK button and no choice to the user.&lt;/p&gt;
&lt;p&gt;In general, you can learn about unknown message keys by setting the "LogMessageKeys" flag at the beginning of your script:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_handling&lt;/span&gt; &lt;span class="o"&gt;|=&lt;/span&gt; &lt;span class="n"&gt;PromptHandling&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;LogMessageKeys&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will log all message keys to the message view.&lt;/p&gt;
&lt;p&gt;In your case, there are two more message keys you could get: "EnterDebugMode_Error_PlcDeniesDebugMode" and "EnterDebugMode_Exception" - they can happen when something goes wrong.&lt;/p&gt;
&lt;p&gt;HTH,&lt;br/&gt;
Markus&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>