barryh
Preface: newbie, never gotten this to work yet, fresh install after 4 or 5 previous attempts. I last manually installed OpenPLC runtime on PC and now can see the web page on localhost:8080. 
1. Ran the OpenPLC_editor installer for windows,
2. launched the editor from windows Start Menu,
3. opened the Traffic_Light_FBD example
4.  clicked start PLC simulation,
5. verified the code is run as simulation and click the eyeglasses on some variables (debugger shows red, orange, green LEDs cycling ok)
6. website 8080 shhows PLC not running, so I assume the simulation does not require the web service? ok whatever :-)
7. In editor click Stop
8. On web 8080, click to Start PLC (I did not change or select any other options on web page, and the OpenPLC Hardware Layer is still Blank
9. In editor, click Generate Program for OpenPLC Runtime
10. A Save To File: dialog box opens, and I enter a filename something.st
11. on web 8080, Programs > Choose file (selected the something.st file created at step 10), click Upload
12. On web 8080, click Start PLC.  Goto Monitoring page, I can see the LEDs cycling! Great!
13. Back in the Editor, I click Transfer the Program to PLC
14. Editor Console ends with messages that say Successfully built, Build MD5: xxxxx, and the Unhandled exception Error diaglog pops open.
 
I am assuming the editor is attempting to open dialog window that would allow me to enter my real hardware information (ie, Arduino Uno R3), but is failing to do so.  I presume this because I cannot see any other place in any of the software where I can tell the editor what physical hardware should be targeted. 
Reply 0 0
thiagoralves
Update your editor (file -> check for updates) and try again
Reply 0 0
barryh
Thank you very much, @thiagoralves!  You have quickly gotten me unstuck.
 
Do you know why the editor available from autonomy's website is so old?  
Reply 0 0
thiagoralves
Updates come very frequently. The website version is only a couple months old (not that old comparing to some commercial software). Updating the binary on the file too frequently is quite hard. That's why I built this update feature inside the app that can fetch the latest version of the code straight from Github.
Reply 1 0
Write a reply...
Reply