Menu

NetToPLCsim-0-7-2 and lower all crashing at Server start

Help
2023-01-24
2023-10-06
  • Hub Performance

    Hub Performance - 2023-01-24

    Dear Thomas and community,

    We are doing Controls Testing Digital Twins in the Emulate3D software.
    We are sometimes practicing the most recent version of this great NetToPLCsim package with S7online.
    But we are curently struggling with a case using and old SIEMENS configuration still requiring the ProSim protocol.

    We understood that older versions of NetToPLCsim should support the ProSim protocol, which would be the ideal solution.
    But any version we tried equal or prior to 0.7.2, we got the same issue at starting the server: exception (log and screenshot attached).
    It is running on a Windows7 VM, on which the recent versions work fine.

    I would hope it is only a matter of some missing prerequisite that we could install, but please anyone help us identifying what could be done to get tit working.

    Thanks!

     
  • Thomas Wiens

    Thomas Wiens - 2023-01-24

    I haven't used these versions a long time ago. Do you have a 32 or 64 bit Windows?

    The noDaveServer.dll is a 32 bit dll. Maybe it's because of the settings of the .net project, that It's starting in 64 bit mode, which can't load the 32 bit dll.

     
  • Hub Performance

    Hub Performance - 2023-01-24

    Thanks for your quick reply Thomas,

    It is indeed a 64 bit machine (and all other Windows 10/11 we tried it on).

    Any workaround you could think of?

     
  • Thomas Wiens

    Thomas Wiens - 2023-01-24

    I can try to compile it explicit for x86 target. It's still using .net framework 2.0, I can set it to a newer version if you want. Or if you have Visual Studio, you can try it for yourself.

     
  • Hub Performance

    Hub Performance - 2023-01-25

    Great reactivity, thanks a lot Thomas!

    The software now starts well, and we managed to get PLCsim connected at server start.

    Weirdly, it does not work if launched "as administrator": fails to connect to PLCsim.
    It weems to work better if launched normally.

    Regards,

    Stéphane DELACROIX

     
  • Thomas Wiens

    Thomas Wiens - 2023-01-25

    These old versions don't needed to be started as Administrator. The new versions do only need the admin-rights to stop and start the annoying Siemens service. At the time of Nettoplcsim 0.7.2 and the Step7 versions available at the time (it's from 2010) you simply could completely disable the Siemens service which used the port 102, and Step7 still runs fine. It was much easier to use back then.

     
  • Hub Performance

    Hub Performance - 2023-10-06

    Dear Thomas,

    After several successful uses of this new/old build above, we would now need another feature, that you added since then in the current version of NetToPLCsim:
    * Allow multiple connections

    We found a litteral explanation in the 0.7.2 documentation, confirming that it was not featured at that time (see attachment).

    Do you believe that this would be possible to allow multiple connections to the "nettoplcsim-0-7-2_x86" version?
    Or rather reimplement ProSim into the current one?

    Thanks a lot in advance for your consideration.

     

Log in to post a comment.