Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: RBPLC on February 25, 2023, 11:50:22 AM

Title: Possible Groupable Rungs into Network
Post by: RBPLC 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?
Title: Re: Possible Groupable Rungs into Network
Post by: franji1 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.
Title: Re: Possible Groupable Rungs into Network
Post by: Controls Guy 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.
Title: Re: Possible Groupable Rungs into Network
Post by: franji1 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.
Title: Re: Possible Groupable Rungs into Network
Post by: BobO 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.