CoDeSys Online monitoring instability/timeouts

CoDeSys Online monitoring instability/timeouts
none 0.0 0
  • HMI Model: CMT-SVRX-820
  • EasyBuilder Pro Version: NA
  • CoDeSys Version 3.5 SP15.50

When I have many devices on a network that a CoDeSys runtime is interacting with, it seems the programming connection that allows me to online monitor takes a very low priority and often gets timed out or disconnected. Even if my laptop is connected through the non-codesys port of the SVRX, it appears the codesys gateway itself is getting bogged down and boots my monitoring connection at the slightest hint of strain on the network. Performance wise, the CPU is able to handle the functionality of the project fine, it just seems to disconnect my laptop connection. The more devices the project is connecting to, the more unstable my ā€œlogged inā€ monitoring connection seems to be. (Iā€™ve had this same issue with other implementations of onboard codesys as well)

My current project Iā€™m integrating with 13 Modbus/TCP devices and 7 Eth/IP devices.

Is there a way to boost the priority of the laptop connection so that my monitoring efforts are treated as higher priority than the peripheral connections? Is it my laptop port or my computers CoDeSys gateway that is the culprit or is it the CoDeSys runtime thatā€™s disconnecting me? Is there a way to track it?

Hello @kcoiner,

Can you please let us know what version of our CODESYS firmware is running on your cMT-SVRX-820? This information can be found within the CODESYS tab of the webserver.

Iā€™m not on site with the project today, Iā€™ll be back with it tomorrow. Iā€™ll check then and let you know.

I have this from the CoDeSys IDE that I still have open on my laptop:

image

I just noticed the target version is still 10.30, is there a 15.50 version? The latest CoDeSys package doesnā€™t seem to offer any newer version to update to.

Unfortunately, this information provided by CODESYS is not as helpful. However, please check the firmware version of CODESYS when on-site and if older than the latest version, 20240703, please backup your CODESYS project and update the CODESYS firmware.

The latest firmware version increases the number of communication / programming channels to 16 which might help to resolve this issue.

Thanks Brendon, I believe Iā€™ve already updated the firmware in order to get the Ethernet IP Scanner object to function (the firmware from the factory didnā€™t have the required license), but Iā€™ll confirm tomorrow.

Can you elaborate on what you meant by channels? Is this similar to parallel sockets the CPU can maintain? I know the protocols each support some X amount of devices each, (E/IP and Mod/TCP each get 32? Or is that a summed limit of 32 between the two?), but I think this isnā€™t what youā€™re referring to, right?

The ā€˜channelsā€™ relate to the maximum number of connections that can be made using the CODESYS IDE or the CODESYS driver within EasyBuilder Pro. This is separate from the limitations set for device count which is 32 for both Modbus TCP/IP and EtherNet/IP slaves.

Just an update, the one SVRX that was more finicky was indeed on an older version of CoDeSys, updating the build to the latest greatly improved stability.

Thank you!

1 Like

Hello @kcoiner,

Thank you for the update, we are always happy to help.
Have a great day!