<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Mapping I/O variables directly to modbus register</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d7a0ffc68/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d7a0ffc68/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d7a0ffc68/</id><updated>2023-04-21T05:40:01.528000Z</updated><subtitle>Recent posts to Mapping I/O variables directly to modbus register</subtitle><entry><title>Mapping I/O variables directly to modbus register</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d7a0ffc68/?limit=25#322e" rel="alternate"/><published>2023-04-21T05:40:01.528000Z</published><updated>2023-04-21T05:40:01.528000Z</updated><author><name>domi-nik</name><uri>https://forge.codesys.com/u/domi-nik/</uri></author><id>https://forge.codesys.comb3f17c27ea0d9a2407140e6a665ecc84e4747cd4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Alright, that was kinda what I had thought what would be the underlying problem. This seems like a good solution however, thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Mapping I/O variables directly to modbus register</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d7a0ffc68/?limit=25#fb68" rel="alternate"/><published>2023-04-15T08:47:51.767000Z</published><updated>2023-04-15T08:47:51.767000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.comdc8cfdc84c6df4fdf1e8a8247e12bc9f6883dd9f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is like creating two variables with the same name, so that doesn't work.&lt;br/&gt;
A possible solution could be:&lt;br/&gt;
- Double click on your device (where you also set the communication)&lt;br/&gt;
- Go to PLC settings&lt;br/&gt;
- At the Additional Settings - Enable symbolic access for IOs&lt;br/&gt;
Now if your I/O module is named &lt;em&gt;_750_1405&lt;/em&gt;, you can map the inputs directly on a Modbus output register: Application._750_1405.Digital_Inputs_0_15&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Mapping I/O variables directly to modbus register</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d7a0ffc68/?limit=25#0bca" rel="alternate"/><published>2023-04-14T10:16:08.228000Z</published><updated>2023-04-14T10:16:08.228000Z</updated><author><name>domi-nik</name><uri>https://forge.codesys.com/u/domi-nik/</uri></author><id>https://forge.codesys.com02797a44ade65c6fc2f134f1294ed69d29f90f42</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;i'm currently working on mapping I/Os (From a PFC200 -&amp;gt; 750-1405 card) to the PLCs modbus.&lt;br/&gt;
In the 1405s settings I have created my variables, when I want to use them in the Modbus Slave Device mapping using Application.Var I get the error: "'var' is already defined in 'IoConfig_Globals_Mapping'. Can I not map them directly? It does work if I use a variable in between those but that doesn't seem elegant.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>