News:

  • October 14, 2025, 01:00:31 PM

Login with username, password and session length

Author Topic: Do-more Simulator v1.4.1 takes long time to begin running program.  (Read 5511 times)

Hannebaum

  • Newbie
  • *
  • Posts: 8

When I launch the Do-more Simulator it now takes about 10 seconds to launch. After the simulator shows up on the screen, it now takes about 1 minute before the program starts running :(. I had not experienced this delay in the past with other versions of the Do-more Simulator. What would be causing this to occur?


Revisions:
Windows 10
Do-more Designer 1.4.3
Do-more Simulator DM v1.4.0 Sim v1.4.1


Request to Do-more Team:
Could you also please add Do-more Designer feature to turn on/ff auto connect to PLCs? ;)


BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #1 on: July 10, 2016, 03:04:58 PM »
What's in the sim? Does it still do it if cleared? Are you trying to talk to Ethernet I/O? Does your PC have any serial ports?

Auto sensing the links can be turned off through the INI file. Look in \Windows\DmDesigner1_4.INI, section [Comm Server], there should be a commented out key "AutoSense=0". Removed the leading semicolon.
"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

Hannebaum

  • Newbie
  • *
  • Posts: 8
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #2 on: July 13, 2016, 09:08:04 PM »
SIM was detecting Virtual com ports that were used by Bluetooth settings (Bluetooth headphones).

Removed com ports from Bluetooth settings, and now SIM starts great, and sees no com ports. :)

Tried to change INI to turn AutoSence off, but can not save file,and will not allow me to change read only setting in Windows folder (as an administrator). Will have to find out how to save to the Windows folder.

Would still rather have Autosense on/off be a feature in DmDesigner.

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #3 on: July 13, 2016, 09:19:38 PM »
Tried to change INI to turn AutoSence off, but can not save file,and will not allow me to change read only setting in Windows folder (as an administrator).
Did you right-click DMDesigner and "Run as Administrator" (This is different than being logged in as Administrator)?
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

Hannebaum

  • Newbie
  • *
  • Posts: 8
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #4 on: July 13, 2016, 09:36:52 PM »
Notepad "Run as Administrator", edited and saved fine.

Thank you plcnut.

Hannebaum

  • Newbie
  • *
  • Posts: 8
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #5 on: July 13, 2016, 10:48:38 PM »
With AutoSense=0 in DmDesigner.INI, really does not do what I wanted.

If I save a project to disk while connected to the simulator (AutoSense=0), opening the project still opens the Simulator then auto connects. :(

Want all auto-connecting to PLC or simulator always turned off.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #6 on: July 14, 2016, 02:12:45 PM »
Want all auto-connecting to PLC or simulator always turned off.

Try this for now.  Before closing your project, do PLC->Disconnect, then save your project to disk.

ryanastiefes

  • Sr. Member
  • ****
  • Posts: 67
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #7 on: October 31, 2019, 04:36:45 PM »
Is there anyway to remove the auto connection of programs that were saved while connecting. I thought this was answered but I cant find the topic.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #8 on: October 31, 2019, 04:53:08 PM »
A disk project saved with a "connection" will always try to connect to the PLC after opening that disk project in the future.  You can't turn that off (although that may be a good thing to allow).

However, you CAN dis-associate a PLC connection with a disk project:
1. PLC->Disconnect
2. Save Project to Disk

Then, if you ever need to connect to the PLC again after opening the "connection-less" disk project, do
PLC->Connect
but you have to select the proper connection (link)

ryanastiefes

  • Sr. Member
  • ****
  • Posts: 67
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #9 on: October 31, 2019, 05:22:36 PM »
I would very much like the ability to turn off the connection in the future.
I know it's been talked about here about an Advanced version and Basic version. Maybe this could be a feature in the advanced version.
Does the software autosense for ease of use reason's?
Most all my connections are through VPN access so it's always a twenty second process just to open a currently saved program just to check out a piece of code.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Do-more Simulator v1.4.1 takes long time to begin running program.
« Reply #10 on: October 31, 2019, 06:27:21 PM »
I would very much like the ability to turn off the connection in the future.

PLC->Disconnect/Save to Disk is currently the only way to get the desired behavior.