News:

  • October 14, 2025, 01:53:11 AM

Login with username, password and session length

Author Topic: Simulator gets disconnected after upgrading to Do-More 2.9  (Read 2143 times)

ksasikumar

  • Full Member
  • ***
  • Posts: 33
Hello!
I have been using the Do-More Simulator to test some programs and noticed that the simulator keeps getting disconnected or closes completely while in run mode. I am not sure if this is a simulator bug or if there is an issue with the program I am running specifically. My program mainly uses FileRead instructions - which are reading from the Simulator's "SD card" folder.

Is this a known issue?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: Simulator gets disconnected after upgrading to Do-More 2.9
« Reply #1 on: May 31, 2022, 12:39:05 PM »
Hello!
I have been using the Do-More Simulator to test some programs and noticed that the simulator keeps getting disconnected or closes completely while in run mode. I am not sure if this is a simulator bug or if there is an issue with the program I am running specifically. My program mainly uses FileRead instructions - which are reading from the Simulator's "SD card" folder.

Is this a known issue?

Not that we are aware of. We're happy to look at the program and see if there is anything amiss. You can email it to support@hosteng.com.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

rlp122

  • Sr. Member
  • ****
  • Posts: 89
Re: Simulator gets disconnected after upgrading to Do-More 2.9
« Reply #2 on: June 01, 2022, 09:51:58 PM »
It might be worth noting that the simulator has a 30 minute timeout where you have to restart it to keep using it.

ksasikumar

  • Full Member
  • ***
  • Posts: 33
Re: Simulator gets disconnected after upgrading to Do-More 2.9
« Reply #3 on: June 03, 2022, 03:17:39 PM »
That's good to know, but this is an immediate disconnection on Run mode. It kind of goes back and forth connected-disconnected rapidly and then finally the simulator closes itself.

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: Simulator gets disconnected after upgrading to Do-More 2.9
« Reply #4 on: June 03, 2022, 05:10:25 PM »
I received your email, ksasikumar, and can duplicate the issue.

We're looking into it. We'll keep you posted.
There are two types of people in the world; those that can extrapolate from incomplete data sets.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: Simulator gets disconnected after upgrading to Do-More 2.9
« Reply #5 on: June 03, 2022, 10:19:29 PM »
Hmmm....

Two issues. Not sure how it's gone this long without someone finding them, but fortunately they are only in the sim and not in the PLC.

1. When a file is open and the sim is switched to program mode there is a hard crash. This may manifest as the sim closing unexpectedly.
2. The FilePointer and EndOfFile fields are not being properly updated.

Because the EndOfFile never gets set, the program overruns the string array you've set up, which then causes comm errors from reading beyond the array limit.

Both were easy fixes. We're dropping a maintenance release next week, so this fix will be in it.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

ksasikumar

  • Full Member
  • ***
  • Posts: 33
Re: Simulator gets disconnected after upgrading to Do-More 2.9
« Reply #6 on: June 07, 2022, 03:55:12 PM »
That's great. Thanks for the speedy response!