I have added a new Modbus TCP Slave Device and started adding channels - I have added 10 and now it has greyed out the Add Channel button. Does anyone know if this is a bug, or a setting which needs changing?
I opened another device which is already in the project, it has 81 channels already - but does have the button to add more greyed out?!
Thank-you in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi kislov, thank-you for the update, I have found a work-a-round for now as I upgraded to start using Git.
I did try downgrading (using update, and showing old versions) one of the modbus devices so it is version 3.5.16.0 - but it still had the 10 channel limit.
As a work-a-round for now if it helps anyone else, it seems I can create the modbus device with all the needed channels in an old project from v3.15 SP16 for example, then copy and paste it into the new project, then use the update device to bring it up to the latest version (at least that is the latest version I have installed) 4.1.0.0.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi kislov, not sure if it would make any difference, but I tried adding a new modbus device in v3.5 SP16 - it wanted to add the latest version 4.1.0.0 - I proceeded to add channels, and it will allow me to add more than 10 channels. It seems like it is SP19 that is introducing the limit, rather than the modbus device specifically.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just opened up an old project, in v3.5 SP16, the modbus definitions were missing (3.15.0.0), so I "Downloaded the missing device description", now I get a build error saying:
Max. number of Channels (10) exceeded ! - has the bug been introduced along with the release of SP19 but is backwards applicable as well for any downloads - older versions included?
I am actually wondering as well if there are plans to fix it or not? As adding two modbus devices creates it's own problems with connection limits and other issues, which some slave devices have.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Today I was struggling with the same problem. in search for a solution i found this thread. Then i tried some things. It doesn't seem to be just a libraries' fault. In addition to 3.5.19, we also have a 3.5.18 version installed, the library versions of Modbus_TCP_Master and Modbus_TCP_Slave are the same, but more than 10 slave channels can be added in 3.5.18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i found a solution for me. I had installed a 'old' version of CoDeSys (3.5.18 P5). I tried to add channels there, which works fine. I created a new project, added an Ethernet-Port, added a Modbus-Master and then I copied the ModBus-Slave from my working project to the new project. Now I could add more channels. I add the channels 10 and 11. Then I deleted (please make a backup before :-) the original ModBus-Slave in my working project and copied the extended Slave back to my working project. Surprisingly it is now possible to add new channels. Maybe this will help you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Vincent, I don't have 75 channels but it works for me as described above without any problems. There is also a parameter MAX_MODBUS_CHANNELS in the library parameters for the IoDrvModbusTCP module. The default value there is 100. Perhaps you are reaching the limit there? The value can be adjusted accordingly. I assume that this value is not accepted in the input dialogue and therefore the 'fixed' limit value 10 is used.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have experienced the same issue as described above but for the Modbus Serial configurator. Looking for a solution.
In v3.5 SP19 Patch 7 the Modbus Serial Master Slave configurator has a "virtual" limit of 10 channels. In v3.5 SP18 Patch 5 this virtual limit does not exist. I can successfully copy back and forth from 18 to 19 with out any build error. However, this is not a good solution for our customers.
What is even more confusing is that the IoDrvModbus library is the same version (4.3.0.0) for both SP18 and SP19.
Please help in providing a fix to the virtual channel limit of 10 in SP19.
Thanks,
Last edit: jacobwago 2024-09-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello jacobwago,
I believe that the limit is fixed in the editor, but not in the driver package. There seems to be no link between the driver setting and the editor. Otherwise, I don't know why the input (>10) is blocked, but the function is available. Unfortunately, I cannot offer you any other solution apart from the one mentioned above.
Kind regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just updated a project from SP16 to SP19.
I have added a new Modbus TCP Slave Device and started adding channels - I have added 10 and now it has greyed out the Add Channel button. Does anyone know if this is a bug, or a setting which needs changing?
I opened another device which is already in the project, it has 81 channels already - but does have the button to add more greyed out?!
Thank-you in advance!
more posts ...
It will be fixed in CODESYS Modbus 4.3.0.0.
Plan to release: 23/05/23
HI ,
where i can download CODESYS Modbus 4.3.0.0?
Tools - CODESYS Installer - check Updates tab
Hi kislov, thank-you for the update, I have found a work-a-round for now as I upgraded to start using Git.
I did try downgrading (using update, and showing old versions) one of the modbus devices so it is version 3.5.16.0 - but it still had the 10 channel limit.
As a work-a-round for now if it helps anyone else, it seems I can create the modbus device with all the needed channels in an old project from v3.15 SP16 for example, then copy and paste it into the new project, then use the update device to bring it up to the latest version (at least that is the latest version I have installed) 4.1.0.0.
Hi kislov, not sure if it would make any difference, but I tried adding a new modbus device in v3.5 SP16 - it wanted to add the latest version 4.1.0.0 - I proceeded to add channels, and it will allow me to add more than 10 channels. It seems like it is SP19 that is introducing the limit, rather than the modbus device specifically.
This "limit" appeared as a bug along with the new (SP19 introduced) mechanism for processing "Paremeters lists" in Library Manager.
Thanks for clarifying kislov!
I have just opened up an old project, in v3.5 SP16, the modbus definitions were missing (3.15.0.0), so I "Downloaded the missing device description", now I get a build error saying:
Max. number of Channels (10) exceeded ! - has the bug been introduced along with the release of SP19 but is backwards applicable as well for any downloads - older versions included?
Please upload simple test project from V3.5 SP16 with this error.
think this will be solved with 4.3.0.0 version.-
sorry i was wrong with this..4.4.0.0
Last edit: eschwellinger 2023-08-28
Hi all, I have updated via Tools->Installer, but the Modbus Slave Device is not updated - so the Modbus Master and Modbus Slave are at v4.3.0.
But when I then add a Slave to the Modbus Master Device - it will only allow 4.1.0 - which still has the 10 channel limit?
Am I doing something wrong?
Structure:
Master Device:
Slave Device:
Add channel greyed out:
Installer:
Last edit: scoob 2023-06-05
Hi all,
Is there an update on this topic?
Same problem here, I can not add more than 10 Modbus-Slave channels.
Is there a workaround?
Many thanks!
Fabian
Codesys 3.5.19 SP2, Modbus 4.3.0.0,
Name: Modbus TCP Slave
Hersteller: 3S - Smart Software Solutions GmbH
Kategorien: Modbus TCP Slave
Typ: 89
ID: 0000 0005
Version: 4.1.0.0
Bestellnummer: -
Beschreibung: Ein Geraet, das als Slave fΓΌr einen Modbus TCP Master konfiguriert ist.
Version Konfiguration 3.5.11.0
Guess you could just add two modbus slaves with the same ip, to enlarge the 10 channel limit.
I am actually wondering as well if there are plans to fix it or not? As adding two modbus devices creates it's own problems with connection limits and other issues, which some slave devices have.
Has there been any progress on this issue? Currently running sp19 patch 5 with all packages updated but unable to add more channels...
Also, this solution is not valid for the RTU, I imagine that this bug should be a high priority...
Today I was struggling with the same problem. in search for a solution i found this thread. Then i tried some things. It doesn't seem to be just a libraries' fault. In addition to 3.5.19, we also have a 3.5.18 version installed, the library versions of Modbus_TCP_Master and Modbus_TCP_Slave are the same, but more than 10 slave channels can be added in 3.5.18
Hi, i found a solution for me. I had installed a 'old' version of CoDeSys (3.5.18 P5). I tried to add channels there, which works fine. I created a new project, added an Ethernet-Port, added a Modbus-Master and then I copied the ModBus-Slave from my working project to the new project. Now I could add more channels. I add the channels 10 and 11. Then I deleted (please make a backup before :-) the original ModBus-Slave in my working project and copied the extended Slave back to my working project. Surprisingly it is now possible to add new channels. Maybe this will help you.
Any resolution on this? I have currently 75 channels in my project that i brought up from SP18, which means i am 65 Channels above the new limitation?
Hello Vincent, I don't have 75 channels but it works for me as described above without any problems. There is also a parameter MAX_MODBUS_CHANNELS in the library parameters for the IoDrvModbusTCP module. The default value there is 100. Perhaps you are reaching the limit there? The value can be adjusted accordingly. I assume that this value is not accepted in the input dialogue and therefore the 'fixed' limit value 10 is used.
Hello,
I have experienced the same issue as described above but for the Modbus Serial configurator. Looking for a solution.
In v3.5 SP19 Patch 7 the Modbus Serial Master Slave configurator has a "virtual" limit of 10 channels. In v3.5 SP18 Patch 5 this virtual limit does not exist. I can successfully copy back and forth from 18 to 19 with out any build error. However, this is not a good solution for our customers.
What is even more confusing is that the IoDrvModbus library is the same version (4.3.0.0) for both SP18 and SP19.
Please help in providing a fix to the virtual channel limit of 10 in SP19.
Thanks,
Last edit: jacobwago 2024-09-29
Hello jacobwago,
I believe that the limit is fixed in the editor, but not in the driver package. There seems to be no link between the driver setting and the editor. Otherwise, I don't know why the input (>10) is blocked, but the function is available. Unfortunately, I cannot offer you any other solution apart from the one mentioned above.
Kind regards
Hello All,
The solution is updating SP19 Modbus version from 4.3.0.0 to 4.4.0.0 (see attached image for bug fix).
Thank you,