<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Is there any way to get the name of the current action... pou...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5a3a0b3c1d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5a3a0b3c1d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/5a3a0b3c1d/</id><updated>2020-02-27T14:08:16.949000Z</updated><subtitle>Recent posts to Is there any way to get the name of the current action... pou...</subtitle><entry><title>Is there any way to get the name of the current action... pou...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5a3a0b3c1d/?limit=25#fd46" rel="alternate"/><published>2020-02-27T14:08:16.949000Z</published><updated>2020-02-27T14:08:16.949000Z</updated><author><name>Joan M</name><uri>https://forge.codesys.com/u/joan-m/</uri></author><id>https://forge.codesys.comb3c5b236a6a4b25097bc0c4b03ce1c4143f73659</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;The question is tricky as I've seen the "Attribute Instance-path" thing, but I would like to get the current action name inside a specific POU (program or fb).&lt;/p&gt;
&lt;p&gt;I'm using extensively functions to get the programmer aware of what is going on while the program is running and given a customer requirement now I must change a lot of the program, and this means changing the messages too...&lt;/p&gt;
&lt;p&gt;Now that I have to change them... it would be better to set them automatically (more work now but less work tomorrow).&lt;/p&gt;
&lt;p&gt;i.e.: "Problem happened in &lt;strong&gt;MAIN.PRGAuto.ACTNiceAction&lt;/strong&gt;: Code 304".&lt;/p&gt;
&lt;p&gt;Can it be done? and if it is possible... how?&lt;/p&gt;
&lt;p&gt;Thank you all!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>