Mogman
I am a newbie to all of this, would like to build a small PLC/HMI for my small ranch to monitor temps, levels, pump status etc.
I have tried to install the openplc on three different machines, 32/XP 32/7 and a 64/7, when I try to open runtime I get "Cygwin not installed launch openplc installer again" of course that does not help.
Please be kind as I am obviously just really stupid...
Reply 0 0
Mogman
If I run openplc from the admin account, can I run the HMI from the user account?
Reply 0 0
thiagoralves
It depends on your Windows version. AFAIK only Windows professional allows programs from multiple users to run at the same time.
Reply 0 0
Mogman
Thanks for your time!
Reply 0 0
Mogman
OK, I think I have most of the needles swinging to the right! I have installed the runtime, editor and the ScadaBR and all seem to be working ok but for the ScadaBR.
All goes to plan, importing the appliance. I did have to disable the USB to get past an error message, the network settings look OK (Bridged and my wifi adapter) but when I open the ScadaBR all I get is a window with a blinking cursor, no welcome message and IP address... but I am getting closer... ScadaBR does show to be running..
Reply 0 0
thiagoralves
Make sure you have virtualization extensions (VT-x) enabled in your computer bios, otherwise virtualbox will fail to run. You can google about your specific computer model to know how to enable VT-x
Reply 0 0
Mogman
Thanks, I will give that a shot.
I went ahead and picked up a little shuttle PC (64 bit) just to use on this project, so I have the chance to start fresh and wonder if Linux would not be the way to go, even if all my "experience"  for what it is worth is with Windows machines.
If so what would be the best Linux version? If I went with Windows it would be 7/pro as I do have several legal copies here.
Reply 0 0
thiagoralves
Linux will work great. In fact, OpenPLC was built for Linux. Running it on Windows requires Cygwin, which is a Linux compatibility layer for Windows, and that’s where the pain starts. Any Ubuntu LTS version should work very well with OpenPLC out of the box
Reply 0 0
Mogman
enabling theVT-x did not help on the windows machine.
I am running Linux on a USB drive and am not doing well there ether, when I try to install Open PLC on Linux I get

cp: cannot stat !./iec2c' : no such file directory
error compiling MatIEC
openPLC was not installed

When trying to install the virtualbox the bar just flashes on and then gone on the installer, I thought I read something about that but cannot find it now.

Geez......
Reply 0 0
Mogman
I was hoping to get something I could use mobile so I could test and try during my down time at work, by mid week I should have the dedicated Linux machine up and running with a proper Linux installation, I don't think the USB I put together (rufus) is actually correct as it does not remember any settings (like network passwords) and asks me if I want to install or just try Linux when I boot to it.
Reply 0 0
thiagoralves
You won’t be able to install OpenPLC on a Linux usb stick. The file system is read-only. These usb sticks are meant just to try out Linux. You need to have Linux properly installed to then install OpenPLC 
Reply 0 0
Mogman
I am sorry but this is getting beyond frustrating, I have tried umpteen times on several machine with no success.
THE LAST effort was to install a new hard drive into an HP pavilion G6 with 4gig of ram, download and install the latest Ubuntu 18.04, do the updates, install GIT, then install Openplc runtime as instructed, reboot, system monitor shows no openplc processes running, remove the V3 file and install again (the process looks like it is going OK and reports success) , reboot, no happiness, if it will not install on a fresh PC then when would it ever work?
Reply 0 0
thiagoralves
I had installed it many times on Ubuntu 18.04. It should work out of the box with no big issues. I haven’t installed in a while though, maybe something has changed that broke the process. What happens if you try to run the Runtime manually (type sudo ./ start_openplc.sh from OpenPLC_v3 folder)? Post your install_log.txt file here and I’ll check if there were any installation errors.
Reply 0 0
Mogman
I am going to try to post the log, have no idea how to type that command it the folder
Reply 0 0
thiagoralves
From the logs I see that the installation was successful. Just OpenPLC service (the piece that loads the runtime every time that the computer boots up) that failed to install for some reason. However, you can still run it manually as I said on my last post. Just open terminal and type:
cd OpenPLC_v3    [assuming that you installed the runtime in that folder]
sudo ./start_openplc.sh
Reply 0 0
Mogman
Well that works, I thought I had tried that before.
Now I am stuck on IDE  I extracted it to my desktop and when I open it I cannot find "file>preferences"
It was on my windows machine no problem, but this Linux machine is totally different........
 OOpn up Arduino IDE, then go to the Preferences (File > Preferences)pen up Arduino IDE, then go to the Preferences (File > Prences)pen up Arduino IDE, then go to the Preferences (File > Preferences)
Reply 0 0
Reply