<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to WAGO PFC200 Identifier Reference</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ec3c46475b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ec3c46475b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ec3c46475b/</id><updated>2023-02-13T13:32:33.084000Z</updated><subtitle>Recent posts to WAGO PFC200 Identifier Reference</subtitle><entry><title>WAGO PFC200 Identifier Reference</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ec3c46475b/?limit=25#5c8c" rel="alternate"/><published>2023-02-13T13:32:33.084000Z</published><updated>2023-02-13T13:32:33.084000Z</updated><author><name>konstantin</name><uri>https://forge.codesys.com/u/konstantin/</uri></author><id>https://forge.codesys.com0087eaebf2fa415957e32f4f8e0643291036684c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I use a WAGO PFC200 controller with MODBUS RTU on the integrated port. There are 8 damper valves for ventilation and 6 energymeters that are connected to the fieldbus.&lt;/p&gt;
&lt;p&gt;Since I have to do a lot of mapping of the raw I created some function blocks but I cannot figure out how to do a specific addressing for an identifier.&lt;/p&gt;
&lt;p&gt;There is Modbus objects - one of them in my case is "Energymeter_1" and the datatype is "typEnergymeter_1_rtu".&lt;/p&gt;
&lt;p&gt;Therefore when I want to access a variable from "Energymeres_1" structure I write the following - "Modbus.&lt;strong&gt;Energymeter_1&lt;/strong&gt;.L1_voltage".&lt;/p&gt;
&lt;p&gt;Since I have 6 energymeters is it possible to create a variable that is an input for the function block and use the variable to change the energymeter I reference in each instance of the function. The variable should be written instead of the &lt;strong&gt;bold&lt;/strong&gt; text on the above line.&lt;/p&gt;
&lt;p&gt;"Modbus.&lt;strong&gt;var_for_energymeters_number&lt;/strong&gt;.L1_voltage - it should look like similar to this.&lt;/p&gt;
&lt;p&gt;I do not know if this addressing is possible, I have tried to play with pointers but with no success.&lt;/p&gt;
&lt;p&gt;Best Regards&lt;br/&gt;
Konstantin Kolev&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>