electron1
I have been trying to use the initial value in OpenPLC editor using ladder logic, but when I try to put a value in the initial value column, it fails to compile, and it gives this error: "error: ';' missing at end of variable(s) declaration." Adding a semicolon at the end of what I want the initial value to be does not work. Any idea how to resolve this?
Quote 0 0
thiagoralves
This was a bug that got fixed on the latest commit:  https://github.com/thiagoralves/OpenPLC_Editor/commit/b677c7fc581c60fabdb7d41e9006ef19a4df7c33

Just download the new file editor/ ProjectController.py from github and replace with the file in your installed editor.
Quote 1 0
NWT.Stuff
Hi Thiago, Just to let you know.  The Windows Version that I downloaded from your website still has this bug.  I followed instructions above and i'm fixed 🙂 Kevin
 
Quote 0 0
thiagoralves
Instead of following these instructions, you could have just clicked on the “update editor” link on your start menu. That shortcuts automatically downloads and install the latest editor from GitHub. That’s why I never bother updating the windows installer on the website, because there is a tool to update it once it is installed
Quote 0 0
NWT.Stuff
Hi Thiago, sounds like a much simpler option to me 🙂 Is it recommended I do this to get other updates in addition to "ProjectController.py" ?
Quote 0 0
thiagoralves
Yup, that's the right way to have your OpenPLC Editor updated on Windows. At the time I had written the post above there wasn't an easy way to update the editor, that's why I had suggested the manual file copy method. After updates started being more frequent I created the mechanism to easily update the editor on Windows.
Quote 0 0
NWT.Stuff
Hi Thiago.  It's been a good week "the penny has dropped" on the windows installer thing that I couldn't suss out 🙂

I downloaded the runtime for RPI and then the editor for windows, so I completely bypassed the opportunity of the windows install.

Maybe the next time that you update your website you could include the windows installer link on the https://www.openplcproject.com/plcopen-editor page
Quote 0 0
thiagoralves
Oh, it makes sense! You’ve downloaded only the editor, not the full installer. Yeah, in that case you won’t have the “update editor” shortcut. My bad! =\
Quote 0 0