News:

  • June 28, 2026, 09:05:35 PM

Login with username, password and session length

Author Topic: Possible Groupable Rungs into Network  (Read 7950 times)

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Possible Groupable Rungs into Network
« on: February 25, 2023, 11:50:22 AM »
A similar question was asked sometime ago concerning the ability to group rungs (I think it was by color code) but what is the possibility of grouping a set of sequential rungs together into a Network (similar to the Networks in TIA Portal) that can be collapsed to save scrolling space in a lengthy code block?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: Possible Groupable Rungs into Network
« Reply #1 on: February 26, 2023, 11:01:04 PM »
A similar question was asked sometime ago concerning the ability to group rungs (I think it was by color code) but what is the possibility of grouping a set of sequential rungs together into a Network (similar to the Networks in TIA Portal) that can be collapsed to save scrolling space in a lengthy code block?

We've talked about this - basically a grouping or block of rungs that has its own comment - this additional level would also show up in the Project Browser.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: Possible Groupable Rungs into Network
« Reply #2 on: March 01, 2023, 01:31:05 PM »
Some text languages have automatic collapsible regions based on multiline structures like while, for, if/then/else, etc., as well as the ability to have user defined collapsible regions (and sometimes implemented directly in the editor).   Either or both of those would be nice, in the ladder window as well as the Project Browser.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: Possible Groupable Rungs into Network
« Reply #3 on: March 01, 2023, 02:03:29 PM »
Some text languages have automatic collapsible regions based on multiline structures like while, for, if/then/else, etc., as well as the ability to have user defined collapsible regions (and sometimes implemented directly in the editor).   Either or both of those would be nice, in the ladder window as well as the Project Browser.

Collapsible Ladder code: Stages, looping.
Collapsible Ladder User defined Block comments (one level above rung comment) would define the "regions" (and provide another placeholder to document code)

These "levels" would also be reflected in the Project Browser.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Possible Groupable Rungs into Network
« Reply #4 on: March 01, 2023, 02:14:53 PM »
Some text languages have automatic collapsible regions based on multiline structures like while, for, if/then/else, etc., as well as the ability to have user defined collapsible regions (and sometimes implemented directly in the editor).   Either or both of those would be nice, in the ladder window as well as the Project Browser.

While I see the advantage, having grown up on crappy editors I was forced to develop the skills to deal with large files (bookmarks/find/etc), and I honestly find the collapse-able stuff to be a nuisance, i.e., I inadvertently click the wrong spot and my code disappears and I'm scratching my head. Old dogs, new tricks, and whatnot.

But yeah, we see the need.
"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