BC
Hello from a newbie.
I have written LD with AB but feel I am missing something here. Open PLC appears to be a solution for personal projects when one does not have an AB budget.
1. Are there rung numbers hiding that by default may be off?
2. Is there a way to navigate from one rung location to another?
3. If one needs to insert some rungs, how can they inserted. Seems everything below has to be selected and then dragged down to create space. If there are several hundred rungs, it is a real nightmare.
4. Is there a way from a given location to only select remaining rungs so they can be dragged down.
5. If one wants to move/reposition some rungs, how is this done?
6. I find that when I print, some rungs do not cleanly wrap to the next page. I saw some reference about readjusting block size but I guess that has some other purpose. Is there a solution.
7. I note there is no page number printed after initial page 1.
8. Is there any help type reference that addresses navigation.

Thankyou for any help that may be forthcoming
BC
Reply 0 0
thiagoralves
OpenPLC uses a much different approach than AB. It is based on the IEC 61131-3 international standard, where AB follows its own ladder dialect (except for the expensive Studio 5000). Navigation is still a work in progress for ladder logic. The editor uses the same approach for FBD and LD, although it would be better if LD code was designed in rows instead of free form like FBD. The best way to overcome this is to actually make use of Function Blocks to compartmentalize your code into smaller sections. It is not wise to have a code with hundreds of ladder lines. You can have each section on its own Function Block, and then just connect everything together on the main program.
Reply 0 0
allenbi
Yes, I agree the LD editing organized in rows would be quite helpful particularly jumping to row or deleting or insertion by row. I have that in another editor. But, the advice concerning organizing LD code into functional blocks is wise. Such organization is good for ST as well. Modular coding.  :-)

Best Regards,
Bill
Reply 0 0
Dowster
@thiagoralves, Could I ask - is ladder navigation to be improved?  Even adding a comment doesn't push down the rungs/rows below.  Even with only a relatively small but real world application editing the ladder layout is tricky.
Thanks,
Steve
Reply 0 0
thiagoralves
Yes, this is something that I want to improve, but will take time. The ladder editor is pretty much identical to the FBD editor, with just a few elements changed (like the addition of ladder power rails). A more structured rungs table would be more adequate for ladder programming, but this would require significant changes to the LD editor.
Reply 1 0
Ziprock
Is there a way to have rung numbers visible currently in openplc? Or inserting a rung in the middle of existing program etc?
Reply 0 0
thiagoralves
Only in the new v4 beta editor. You can get it here: https://github.com/Autonomy-Logic/openplc-editor/releases
Reply 0 0
Ziprock
Awesome, i will try out v4, thank you😎
Reply 0 0
Reply