<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus/TCP server (slave) - import file for mapping config</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/72e110c775/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/72e110c775/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/72e110c775/</id><updated>2021-11-19T17:00:11.633000Z</updated><subtitle>Recent posts to Modbus/TCP server (slave) - import file for mapping config</subtitle><entry><title>Modbus/TCP server (slave) - import file for mapping config</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/72e110c775/?limit=25#dc24" rel="alternate"/><published>2021-11-19T17:00:11.633000Z</published><updated>2021-11-19T17:00:11.633000Z</updated><author><name>Ulvis</name><uri>https://forge.codesys.com/u/ulvis/</uri></author><id>https://forge.codesys.com3fc6eb19e42d8553fa86fc4eb44e1079f502e199</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Actually, I learned today  - when right clicking on the very top of the project tree, there is a "edit IO mappings" command that gives csv import/export to all mappings.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus/TCP server (slave) - import file for mapping config</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/72e110c775/?limit=25#0a92" rel="alternate"/><published>2021-11-09T17:59:27.262000Z</published><updated>2021-11-09T17:59:27.262000Z</updated><author><name>Ulvis</name><uri>https://forge.codesys.com/u/ulvis/</uri></author><id>https://forge.codesys.com07708c9bfc02500b5e258f0c876899d14b7a5eb8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is there a way do define the Modbus slave mappings in , and import them from, say MS Excel?&lt;/p&gt;
&lt;p&gt;If I have 400 objects with a few words each, like command mask word and some parameters, then what if I want to expand or modify my data set at a later time? Seems like a lot of work to edit the mapping table manually.&lt;br/&gt;
Is there a way to define the mappings in StructuredText code programatically?&lt;br/&gt;
It tried some "REFERENCE TO" juggeling, but that was not allowed.&lt;br/&gt;
The Holding Registers must be writable from code so it does not really help to define a seperate array and simply mirror from that to code variables either, IMHO.&lt;/p&gt;
&lt;p&gt;Any hints?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>