Attozo

When designing a Ladder schematic, changes are not visualized until a GUI refresh is performed by toggling full screen via Shift-F12 or resizing the app window.
 
Steps to reproduce:
- Launch OpenPLC Editor
- Main Menu / File / New
- Select project folder
- In "Create a new POU" dialog, select "Language: LD" and then click "OK" button
- Right click in new schematic area to show popup menu
- Popup Menu / Add / Power Rail
- In "Power Rail Properties" dialog, click "OK" button
- Drag the power rail: it won't move
- Press Shift-F12 (full screen): the power rail has moved
 
Software
- OpenPLC Editor 3.0 Release 2024-08-12
- Operating System: Linux Mint 21.1 Cinnamon
- Desktop Environment: Cinnamon v5.6.8
- Linux Kernel: 5.15.0-136-generic
Reply 0 0
thiagoralves
Try using the new OpenPLC Editor v4 beta from here: https://github.com/Autonomy-Logic/openplc-editor/releases/tag/v4.0.1-beta
Reply 0 0
Attozo
Try using the new OpenPLC Editor v4 beta from here: https://github.com/Autonomy-Logic/openplc-editor/releases/tag/v4.0.1-beta
Thanks for your suggestion. Is there any tutorial on how to use this new UX? Because I've succeeded in creating a rung, but can't find how to add any inputs or outputs, either by right-clicking on the rung or by clicking on dedicated icons on the left side bar.
Reply 0 0
thiagoralves
You must drag the icons to the rung to draw the circuit. This should be much easier and more straightforward than the previous v3 version.
Reply 1 0
Attozo
You must drag the icons to the rung to draw the circuit. This should be much easier and more straightforward than the previous v3 version.
Indeed it is more straightforward, but maybe a tooltip help on those icons would guide users. But now, how can I start a simulation? The Ladder program compiles - see console output below - yet when I hover on the ▶ icon, a 🚫 is displayed. Thank you.
 
--- Compilation output ---
Build process started
Verifying if build directory exist
Directory already exists
Attempting to generate the xml file
Xml file created successfully
Attempting to build the program
Compiling file /tmp/openplc/build/plc.xml
Collecting data types
Collecting POUs
Generate POU main
Generate Config(s)
Stage 1 compilation finished successfully
OpenPLC Runtime program generated at /tmp/openplc/build/ program.st
Reply 0 0
thiagoralves
We’re still working on porting over all the features from v3. Simulation is not there yet, but should be coming in the next couple months. For now, you can export your project to v3 by going to file -> export to plcopen. This will generate a plc.xml file that you can put on an empty v3 project folder and open it on v3 to simulate. The tooltip is also coming in the next releases.
Reply 1 0
Write a reply...
Reply