<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/</id><updated>2020-02-27T14:36:42.756000Z</updated><subtitle>Recent posts to modbus import mapping through *.csv file</subtitle><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#b9ee" rel="alternate"/><published>2020-02-27T14:36:42.756000Z</published><updated>2020-02-27T14:36:42.756000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com4618f4a2086afed0fd66e1e208397732d416b5a6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;more detailed description how I do it:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Open Codesys 3.5.12.x and start new project.&lt;br/&gt;
&lt;/em&gt;Create a modbus master device and configure correctly a modbus slave device. In my case codesys application is Master.&lt;br/&gt;
&lt;em&gt;Add Channels and add mapping on the IO's to variables&lt;br/&gt;
&lt;/em&gt;Export CSV file by rightlick on the slave an -&amp;gt; Export csv&lt;br/&gt;
&lt;em&gt;delete the mappings in the ModbusTCP_Slave Tap&lt;br/&gt;
&lt;/em&gt;Import a map through csv file. - &amp;gt; rightclick on the Modbus TCP slave -&amp;gt; Import mappings from CSV&lt;/p&gt;
&lt;p&gt;*The system imports the mappings from the csv and the variables in ModbusTCP_Slave Tap are back&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#7d9b" rel="alternate"/><published>2020-02-27T14:36:41.082000Z</published><updated>2020-02-27T14:36:41.082000Z</updated><author><name>ericci</name><uri>https://forge.codesys.com/u/ericci/</uri></author><id>https://forge.codesys.comf5708ee40d98fe42a82c26a4d5d3201272c9de59</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ol&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</summary></entry><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#398c" rel="alternate"/><published>2020-02-27T14:36:40.597000Z</published><updated>2020-02-27T14:36:40.597000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comaa0efef9a9fd5b961678ef78225366d3bb8c20de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;customizing the modbus slave would be an option, this is what I have said.&lt;br/&gt;
But even without on my slave it works.&lt;br/&gt;
So please give your steps to repeat and description in which case it does not work.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#11db" rel="alternate"/><published>2020-02-27T14:36:40.132000Z</published><updated>2020-02-27T14:36:40.132000Z</updated><author><name>ericci</name><uri>https://forge.codesys.com/u/ericci/</uri></author><id>https://forge.codesys.com329adfd084c270f4e52ded762a52038e41a1287d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
You need to customize you modbus settings in the device description after doing this even import csv would probably work( not sure never used it)&lt;br/&gt;
Means this default Modbus slave is a generic empty device without channels ... so how should this work.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;As you said The modbus device without channels is an empty and useless device even having imported the correct map.&lt;br/&gt;
For getting your map working fine through *.csv file you have to write the requests one by one and then import the map.&lt;br/&gt;
The best thing is to import only one file with all needed information to create channels as well and for sure describe how the has to be edited.&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#62b3" rel="alternate"/><published>2020-02-27T14:36:38.750000Z</published><updated>2020-02-27T14:36:38.750000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com57b6e5deae6d1a52c94ee6ae0adfbbd3a20348e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
If have tested this now it works for my modbus application.(using current Version)&lt;br/&gt;
1. rightclick on the slave export the mappings to csv&lt;br/&gt;
2. delete the mappings&lt;br/&gt;
3. Import the csv file -&amp;gt; all mappings are restored&lt;/p&gt;
&lt;p&gt;So if you think this is a bug why not simple reporting it to the CODESYS store -&amp;gt; my question, bug Report with version info projectarchive / steps to repeat, whatever is needed?&lt;br/&gt;
(You describe in your post you add mapping - export it - import it but does not work) &lt;br/&gt;
So how could we solve this by documentation if it is a bug?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: after_csv_import.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3761"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#e5a6" rel="alternate"/><published>2020-02-27T14:36:38.244000Z</published><updated>2020-02-27T14:36:38.244000Z</updated><author><name>ericci</name><uri>https://forge.codesys.com/u/ericci/</uri></author><id>https://forge.codesys.com98b740933ca06d57889c047f0a5d9f84845df8df</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;My questions aren't related to what the best choice is, but how to get your software features working.&lt;br/&gt;
If you don't support customers correctly what is the reason to keep them alive?&lt;br/&gt;
I suggest to all 3s company to improve documentation and examples to be tested because it's very tedious to find out myself without any comprehensive document.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#a04a" rel="alternate"/><published>2020-02-27T14:36:37.740000Z</published><updated>2020-02-27T14:36:37.740000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com9f57fdb5668bbac1209e1d35456aaa41a9de3b49</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Which plc are you using and which CODESYS version.&lt;br/&gt;
Modbus is never the best choice this is for sure!&lt;br/&gt;
Think on how easy this is with Ethercat or Profinet... you could scan the slaves and add them via scan including the configuration)&lt;br/&gt;
With Modbus this is always a pain.&lt;/p&gt;
&lt;p&gt;You need to customize you modbus settings in the device description after doing this even import csv would probably work( not sure never used it)&lt;br/&gt;
Means this default Modbus slave is a generic empty device without channels ... so how should this work.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#83e5" rel="alternate"/><published>2020-02-27T14:36:36.334000Z</published><updated>2020-02-27T14:36:36.334000Z</updated><author><name>ericci</name><uri>https://forge.codesys.com/u/ericci/</uri></author><id>https://forge.codesys.com2a2b9609e6d5db64c1653912257b17f414de16e9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What good is this forum if anybody answers to questions and any satisfying documentation are present in website and internet?&lt;br/&gt;
Where are 3s technicians?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>modbus import mapping through *.csv file</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/34f5575e45/?limit=25#d9d2" rel="alternate"/><published>2020-02-27T14:36:35.862000Z</published><updated>2020-02-27T14:36:35.862000Z</updated><author><name>ericci</name><uri>https://forge.codesys.com/u/ericci/</uri></author><id>https://forge.codesys.com72edff984fd7a378d2f0f12ea3a8201ea7457f80</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all!&lt;/p&gt;
&lt;p&gt;Here to find out how to import csv modbus mapping into the environment correctly.&lt;br/&gt;
Can anyone post an example, tutorials and documentation about the right procedure?&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;My project with modbus tcp master configured is working fine. 16 coils read.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I tried to export these coils into a csv file, after having deleted the mapping.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I tried to import the same file and i have error like '&lt;br/&gt;
 is not found!' . It's impossible because i've created one with the same name!!&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</summary></entry></feed>