News:

  • September 12, 2025, 07:20:37 PM

Login with username, password and session length

Author Topic: Writing PLC documentation over VPN super slow  (Read 671 times)

MarkTTU

  • Hero Member
  • *****
  • Posts: 291
    • SamJackson.com
Writing PLC documentation over VPN super slow
« on: July 16, 2025, 07:52:23 PM »
I've got a few customers with particularly large projects that have a ton of documentation. Rung comments, doc editor, the works. If I'm on-site and connected to the LAN writing an update isn't fast, but when I'm off-site writing an update one the VPN the update takes what feels like an eternity and it's always the documentation that takes the longest to write.

I vaguely remember having a conversation a few years ago with someone (maybe BobO?) about this and being told there was a change made to how documentation was stored in the PLC around the time the REST API came into existence and that was the underlying reason for the slowness writing documentation. As I recall documentation used to be stored in the CPU as just a simple ZIP file and now it's parsed and dealt with bit by bit when writing an update.

If my memory is accurate, and since I don't make use of the web server nor the REST API, is there a way to tell Do-more to go back to the old way of handling documentation writes to the PLC that was significantly quicker?

Or is there some other trick I can use to speed up writing to the PLC?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: Writing PLC documentation over VPN super slow
« Reply #1 on: July 18, 2025, 11:42:14 PM »
It's the data that provides tag support to the symbolic driver. All the nicknames are in an uncompressed list. The web server and REST API also use the same facility.

I suppose it could be optionally removed. I'll look at 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

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3759
    • Host Engineering
Re: Writing PLC documentation over VPN super slow
« Reply #2 on: July 21, 2025, 11:52:59 AM »
Do they use C-more?  They would have to use the Do-more Built-In Driver, not the Do-more Symbolic driver.

Sorry - I jumped the gun.  It's just the NICKNAMEs won't be available via the Symbolic Driver.  A heap item of a User Data Type with an embedded Timer structure:
MyControl.CookTimer.Acc
would STILL work.
« Last Edit: July 21, 2025, 01:34:48 PM by franji1 »

MarkTTU

  • Hero Member
  • *****
  • Posts: 291
    • SamJackson.com
Re: Writing PLC documentation over VPN super slow
« Reply #3 on: July 30, 2025, 10:09:46 AM »
I don't make extensive use of the symbolic driver, but I do use it some. I can't say this definitely, but I believe the c-more runs quicker when it's not using the symbolic driver for do-more comms.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: Writing PLC documentation over VPN super slow
« Reply #4 on: July 30, 2025, 02:17:15 PM »
I don't make extensive use of the symbolic driver, but I do use it some. I can't say this definitely, but I believe the c-more runs quicker when it's not using the symbolic driver for do-more comms.

It wouldn't surprise me. It's kinda brute force on both ends. I had a much higher performance proposal but lost the argument.
"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