View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000265||QElectroTech||Element Editor||public||2022-06-24 09:33||2023-03-24 21:43|
|Summary||0000265: master: slave reference layout support|
|Description||Related to 0000239, see my explanation below, for why I think this is not resolved at all.|
TL;DR: What I suggest, is beeing able to freely display slave references at the master:
- at least allow the slave reference table to be placed independently of the master reference, AND allow the switch symbols (table headings) to be hidden.
- one way: Enable setting an anchor point, orientation, grid spacing, and "wrap mode" (after how many rows to start a new column, alternating between columns, ...)
- or: freely place N reference anchors in the master
- possibly something different
Placing the slave references always under the master reference is very limiting.
Also the style of the current slave reference table limits what the master can look like.
See an example I personally like, attached.
I've tried to stay short, if you need more examples or clarification, don't hesitate to ask.
In fall I could have time to try implementing something myself, would appreciate some guidence to the codebase however.
Reason, why not resolved:
Tada thinks this was resolved, I do not agree at all.
What he implemented in https://github.com/qelectrotech/qelectrotech-source-mirror/pull/222 If I'm mistaken, please correct me: I understand, that this commit does not display a nc/no symbol at the slave reference. This was already possible using i.e.:
type: coil | Xref slave: bottom, view cross | master = slave: /%F.%c%l | show power contacts: in the cross
|Additional Information||QElectroTech V 0.90-DEV+f3811d303|
Compilation : GCC 8.3.0
Built with Qt 5.11.3 - Date : Aug 22 2021 : 10:55:56
Run with Qt 5.11.3 using 16 thread(s)
It 's only work with with contact not for view cross.
If you can more explain what you want for PLC Xref view like: I/O_IN, I/O_OUT, ANA_in, ANA_out?
thanks for your reply, sry for my late one.
AFAIK the slaves linked to a master are displayed:
- directly under the master refdes
- in a two column table
hardcoded. Is that correct?
(I'm not sure what happend in this screenshot: https://qelectrotech.org/forum/viewtopic.php?pid=16477#p16477 - the linked slaves are displayed in another way?)
What I'm proposing is a customizable
for the slave display at the master element.
As you can see in the attached "master.png": The placement of the references for the linked slaves are independent of the master refdes. Also the layout is more flexible -I think a grid with customizable position and x/y spacing might already fulfill a lot of use cases.
This way, more 'realistic' elements can be achieved. (looking like the I/Os on the physical module)
BR from Austria,
|2022-06-24 09:33||ikcalb||New Issue|
|2022-06-24 09:33||ikcalb||Tag Attached: master|
|2022-06-24 09:33||ikcalb||Tag Attached: slave|
|2022-06-24 09:33||ikcalb||File Added: master.png|
|2022-06-24 09:33||ikcalb||File Added: slave.png|
|2022-06-25 16:43||scorpio810||Note Added: 0000562|
|2022-06-26 13:59||scorpio810||Note Edited: 0000562|
|2023-03-24 21:43||ikcalb||Note Added: 0000639|