Here to find out how to import csv modbus mapping into the environment correctly.
Can anyone post an example, tutorials and documentation about the right procedure?
My project with modbus tcp master configured is working fine. 16 coils read.
I tried to export these coils into a csv file, after having deleted the mapping.
I tried to import the same file and i have error like '
is not found!' . It's impossible because i've created one with the same name!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What good is this forum if anybody answers to questions and any satisfying documentation are present in website and internet?
Where are 3s technicians?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Which plc are you using and which CODESYS version.
Modbus is never the best choice this is for sure!
Think on how easy this is with Ethercat or Profinet... you could scan the slaves and add them via scan including the configuration)
With Modbus this is always a pain.
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)
Means this default Modbus slave is a generic empty device without channels ... so how should this work.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My questions aren't related to what the best choice is, but how to get your software features working.
If you don't support customers correctly what is the reason to keep them alive?
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.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
If have tested this now it works for my modbus application.(using current Version)
1. rightclick on the slave export the mappings to csv
2. delete the mappings
3. Import the csv file -> all mappings are restored
So if you think this is a bug why not simple reporting it to the CODESYS store -> my question, bug Report with version info projectarchive / steps to repeat, whatever is needed?
(You describe in your post you add mapping - export it - import it but does not work)
So how could we solve this by documentation if it is a bug?
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Zitat:
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)
Means this default Modbus slave is a generic empty device without channels ... so how should this work.
As you said The modbus device without channels is an empty and useless device even having imported the correct map.
For getting your map working fine through *.csv file you have to write the requests one by one and then import the map.
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.
Regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
customizing the modbus slave would be an option, this is what I have said.
But even without on my slave it works.
So please give your steps to repeat and description in which case it does not work.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Open Codesys 3.5.12.x and start new project. Create a modbus master device and configure correctly a modbus slave device. In my case codesys application is Master. Add Channels and add mapping on the IO's to variables Export CSV file by rightlick on the slave an -> Export csv delete the mappings in the ModbusTCP_Slave Tap Import a map through csv file. - > rightclick on the Modbus TCP slave -> Import mappings from CSV
*The system imports the mappings from the csv and the variables in ModbusTCP_Slave Tap are back
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all!
Here to find out how to import csv modbus mapping into the environment correctly.
Can anyone post an example, tutorials and documentation about the right procedure?
My project with modbus tcp master configured is working fine. 16 coils read.
I tried to export these coils into a csv file, after having deleted the mapping.
I tried to import the same file and i have error like '
is not found!' . It's impossible because i've created one with the same name!!
What good is this forum if anybody answers to questions and any satisfying documentation are present in website and internet?
Where are 3s technicians?
Hi,
Which plc are you using and which CODESYS version.
Modbus is never the best choice this is for sure!
Think on how easy this is with Ethercat or Profinet... you could scan the slaves and add them via scan including the configuration)
With Modbus this is always a pain.
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)
Means this default Modbus slave is a generic empty device without channels ... so how should this work.
BR
Edwin
My questions aren't related to what the best choice is, but how to get your software features working.
If you don't support customers correctly what is the reason to keep them alive?
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.
Regards
Hi,
If have tested this now it works for my modbus application.(using current Version)
1. rightclick on the slave export the mappings to csv
2. delete the mappings
3. Import the csv file -> all mappings are restored
So if you think this is a bug why not simple reporting it to the CODESYS store -> my question, bug Report with version info projectarchive / steps to repeat, whatever is needed?
(You describe in your post you add mapping - export it - import it but does not work)
So how could we solve this by documentation if it is a bug?
BR
Edwin
As you said The modbus device without channels is an empty and useless device even having imported the correct map.
For getting your map working fine through *.csv file you have to write the requests one by one and then import the map.
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.
Regards.
customizing the modbus slave would be an option, this is what I have said.
But even without on my slave it works.
So please give your steps to repeat and description in which case it does not work.
BR
Edwin
more detailed description how I do it:
Open Codesys 3.5.12.x and start new project.
Create a modbus master device and configure correctly a modbus slave device. In my case codesys application is Master.
Add Channels and add mapping on the IO's to variables
Export CSV file by rightlick on the slave an -> Export csv
delete the mappings in the ModbusTCP_Slave Tap
Import a map through csv file. - > rightclick on the Modbus TCP slave -> Import mappings from CSV
*The system imports the mappings from the csv and the variables in ModbusTCP_Slave Tap are back