thiagoralves
Dear OpenPLC Community,
 
We are beyond excited to announce the release of the OpenPLC Editor v4 Beta! This is a landmark moment for the OpenPLC Project! The long awaited new editor has been completely rewritten from the ground up as a standalone application for macOS, Windows, and Linux. No more wrestling with Python or wxPython dependencies—just double-click the executable for your operating system, and you’re ready to go!
 
As part of the new editor redesign, we’ve significantly improved the Ladder Editor, making it far more intuitive and user-friendly. Not only the Ladder Editor, but the entire UI has been reimagined for a cleaner, more modern look and feel, with support for light and dark themes! Besides that, there are lots of other small improvements that add up to a much better experience overall.
 
However, while this beta release represents a huge step forward, there are a few things to note:
  1. Some features from the "classic" Python-based editor—such as FBD and SFC languages, programming Arduino-compatible boards, live debugging, and a few others—are not yet available in v4. These features are on our roadmap and will be added in future updates.
  2. As this is a beta release, there may still be bugs or issues. Your feedback is invaluable! If you encounter any problems, please let us know so we can address them in the final release.
We’ll be updating the OpenPLC website with detailed information about the new editor soon, but we wanted our amazing community to get early access. Think of it as our little holiday gift to you!
 
Thank you for your support and passion for the OpenPLC Project. Your involvement and feedback drive this project forward. We can’t wait to hear what you think of the new editor.
 
Happy New Year, and here’s to an exciting more open future!
 
Thiago Alves
 
 
Reply 15 0
thiagoralves
Did you try pressing the backspace key in your keyboard or the X icon on the sidebar?
Reply 0 0
streatstyle
Can you provide more details on this please? What type of change were you trying to do? Changing the name? Type? Location? Did it show an error message or the app just quit?

openplc.pngopenplc1.png

Yeah say I try and change start to something else it will crash like in the top picture you can change it in the rung and it will create the new variable but not the way I prefer to do it I'd rather create them as I make the rungs which works just fine but if I don't like the name of something I'd rather change it in the main tag table
Reply 0 0
thiagoralves
Just to make sure I got this straight:
  1. You create variables from within the program, by adding components to the rungs (not by adding variables to the variable table)
  2. You rename one of the variables in the variable table
  3. Crash happens
Is that right?
Reply 0 0
prof.giovanni
try this solution
openplc4.jpg
Reply 0 0
streatstyle
Just to make sure I got this straight:
  1. You create variables from within the program, by adding components to the rungs (not by adding variables to the variable table)
  2. You rename one of the variables in the variable table
  3. Crash happens
Is that right?
yes that is correct
Reply 0 0
KevTheHermit
Love the new Editor couple of observations from me. The UI doesn't like using elements like .Q and shows them as red. It compiles OK and runs on the Runtime its just a UI thing.
[203128%2F9156537%2Fmceclip0]
 
 
Second thing is when you first place an element and you get the ??? It would be nice to show the tag dropdown once you click the ??? took me a while to figure it out I was clicking, double clicking etc it was only when I typed a random letter on the keyboard that It then showed the drop down. Or like the older version when you double click the coil or contact to set the modifier let us set the tag value there.


 
Either way thanks for this update it Is a lot nicer 🙂
Reply 1 0
thiagoralves
Thank you for the observations, those are great points. If you have larger projects, let me know how it behaves with them. We are working on improving the autocomplete and the label clicking part, this should come on our next release along with some other improvements. The .Q thing is a bit more complex as it needs to bring some compiler awareness to the UI. But it will come eventually.
Reply 0 0
xiaohh
Hi Thiagoralves, I really like the new UI, it's much better than the version 3, thanks for the great job. I have some comments for your consideration.
  1. I want to have more space for the ladder part, so A2 part should be deleted, or this information is only needed when requested, for example, when you put the mouse to the module name at the top. I make an example in the 2nd picture
  2. About A3 area in the first picture,
    1. If you work with a large project in which a lot of variables are needed, put the variable definition in this area is not good, it's better to put them in a dedicated sheet, i.e each module (function, function block or program) has dedicated sheet for variable definition. And active windows(modules) can be placed in vertical/horizontal, this will be very useful when working with a big project with more/big monitors.
    2. Input Type information need a few mouse click, it's great if this can be done by keyboard, for example, if I type B in this block, all Type name start with B will be shown in a drop down tbox.
    3. The process for regiestering global variables in each module is not easy, consider one scenario : 200 global variables, 10 modules, and each module need 100 global variables. So I'd like either one the following solution
      1. If RAM is big enough, add the possibility of using all global variables without redeclaring in each module. or one button solution : declare all global variables in one module by clicking one button.
      2. Define the variables in Excel, then import from/export to CSV file, since edit in EXCEL is much easier.
  3. About A4 area.
    1. Comment is not needed for every lung, it should be hidden by default.
    2. Zoom in/out is must have.
 
[203128%2F9159423%2Fmceclip0]
 
[203128%2F9159429%2Fmceclip0]
Reply 1 0
fg71
OpenPLC is based on the standard IEC 61131-3. In other words the software need to follow the standard and include logic to be able to make plc program.
This is the standard logic with sub category. When a user install the software the first time this is the function that are included. It means the software need
a way to be able to install/remove custom function. Or in other words a manager to handle boards and libraries.
 
 A software shouldn't force a user to install any functionality that is not basic function. In other words it will not install boards definition that is not installed
without a user input. The same is for ny libraries that is not part of the IEC 61131-3 standard. A great UI is simple to use there functionality teach a user to
understand it and make conclusion. A great UI only show tools and function that make sense to the specific action.
 
Any check if a board or library is installed make the software compile process or upload to become slower and not directly optimized.
 
To be a PLC IDE that is based on IEC 61131-3 standard it is also important to know what it means and that's why I think a manager to handle all logic blocks and boards need to be redefined and make it simple to use. Any block that is not part of the standard should be a addon and not installed as default.
 
Its when we share logic blocks a software could extend and become more efficient but we need to start with the standard blocks. It would make sense to sort blocks by parent in other words a parent could be IEC 61131-3 standard and have directory structure.
 
The confusing part could be if the user have not read the IEC 61131-3 Standard to understand that MOVE block is part of Standard arithmetic functions.
And I do not think all people who use OpenPLC are studying to become automation engineer. Sometimes we need a more human friendly approach
to something and description what a block does without reading IEC 61131-3 standard that is not free or able to download on the internet.
 
In human form that could be: if EN is True assigns the value IN to OUT, in structured text OUT := IN; or OUT := MOVE(IN);
Or maybe its more clear would be MOVE is a instruction to transfer the content of the operand at the IN input to the operand at the OUT output if EN is 1.
Arithmetic functions are analog signal or numbers of any data type that is not BOOL. And to be able to visual a data type with colors you also get
the sense of what data type is input and output.
 
To extend the standard we could have arithmetic functions block of the name convert. The input is any numeric value that is converted to other data type.
It means the PLC IDE detect the input data type and assign the correct function based on user input of the block. Set the output to correct function.
This approach could open for other approaches there a block could use a list of function instead of 1 function per block.
 
Here is example from Siemens Tia Portal, the part that has grey background could be changed, 1 block that rule them all. 😉
[203128%2F9160153%2Fmceclip0]
 
 
Interesting fact is that Beckhoff and Codesys almost use the same documentation and I wonder who copy who.
Reply 1 0
engralimirza
Hello Thiago,

Thanks for this new update, really loved the new GUI. It's fast and very clean and modern. Testing on this new Editor now, till now its working fine. I would like if you can add tooltip on hover, for example when you first start the editor you are new to these all GUI buttons like compile, runtime, and blocks. So if you could add tooltip on hover on these buttons that would be great. Will be adding more feedback as I test it more in my projects.

Reply 1 0
GregC
I haven't downloaded your new editor as I program mainly in FBD.
I do struggle for space on a single screen and would like to be able to drag say the main program screen onto a second monitor. Does your new editor do this or can it be made to do it?
Reply 0 0
thiagoralves
It does not do this yet, but it is surely something we are planning on doing
Reply 0 0
fg71
I do struggle for space on a single screen
You shouldn't need a second monitor if the UI is optimized for laptop screen and components is compact enough. There is 3 graphical languages but only 2 FBD and SFC could use touch gesture like zoom. Ladder Diagram on other hand use rails and rung and change the screen size by zoom could be very strange. In other words FBD and SFC could use 2 finger touch to pan the view and that doesn't feet to Ladder Diagram that has static rails and rungs.
 
That why I have suggest a more compact components for Ladder Diagram when Function Block is used on the rung.
 
I do agree it would be nice to be able to use second monitor, but I think the main problem is something else.
Reply 0 0
Balkrushn
Hello Thiago,
 I am plc programmer mostly we do project in codesys. can we use python file or C,C++ File
Kishan
Reply 0 0
thiagoralves
You can use C/C++ for Arduino-compatible targets on the classic editor. The new editor will also incorporate this functionality in the future. Python is also in our roadmap to be available in the new editor
Reply 0 0
Reply