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...
Quote 0 0
pedromorgan
Install cygwin from https://www.cygwin.com/
Quote 0 0
lc625
Hi Mogman,
I also had my problems with that. At the end I found a solution:

First I cleaned windows as good as possible from all the former OpenPLC installation attempts, using the uninstaller, manual deletion of not deinstalled rests and running ccleaner several times. By the way it wasn´t 100% perfect. The installer from the OpenPLC homepage always uses the directory I choose for the very first installation. This installer does not work in my case, neither the new one.
After that I installed Cygwin manually. Download the setup file from https://cygwin.com/install.html an run it. I selected "best" as option. After complet installation on C:\ I ran setup again to install "git".
As described by Mr Ralves, after starting Cygwin I executed the following lines:
git clone https:// github.com/thiagoralves/OpenPLC_v3.git 
cd OpenPLC_v3
./install.sh win
To start the runtime:
open Cygwin
Prompt => cd OpenPLC_v3
Prompt => ./ start_openplc.sh 
Browser => http://localhost:8080
User => openplc
Password => openplc
Stop Runtime => Ctrl C

It might not be the smartest way but however I´m glad to be able to make more experience with OpenPLC now,
Quote 0 0
Mogman
Thanks, just installing the Cygwin did not help, I will try cleaning the machine first.......................
Quote 0 0
Mogman
Or I may just try one of the low cost paid alternatives, I guess it was unrealistic to believe a freebee would just work "out of the box" if it did I guess everyone would be using it.
Quote 0 0
thiagoralves
It should work out of the box, but it won’t work on XP though. Just make sure that you have a reliable internet connection when you are installing it. It won’t work if you try to install it without internet.

Also, make sure you’re installing it on the default location (c:\Users\[your username]\OpenPLC). It usually works better in that folder due to windows permissions.
Quote 0 0
Mogman
Thanks!, I am just lucky that way, this install is on a win 7 pro/64 with plenty of resources and a rock solid internet connection, I am a communications tech. (43 years) my last SUCCESSFUL SCADA experience was with the TI PM550 in the 80s, for the last 20 years when I get up at 3AM to go check on my irrigation system to monitor the progress of the big reel, hoping to prevent it from dragging the $700 sprinkler head through the spooling device I think about how nice some automation would be, I did manage to get a WIFI camera on the carriage so now I can monitor it from the house as long as it is not too far from one of the APs, then I think how nice it would be to be able to shut down the diesel irrigation pump whilst sitting on my butt.
I have tried several times over the last 10 years or so to do this but after a short while my brain explodes and I start thinking that walk is not too bad...

 I hate PCs, I think they are the mark of the beast, having said that I have 4 in the house (wife, cameras,myself and an XP for times when they just work better) three in my shack including a 286 DOS machine (DOS box etc just will not work on some of the early Motorola radios because they had no idea what they were doing back then), I Carry three laptops in my CO van (they are so paranoid my company laptop is locked down to the point I cannot even hard code an IP address in it which they do not understand I must be able to do to program factory default radios etc)

Back in the day two way communications was extremely important, there was no such thing as a cell phones or PCs, the radio man was king! now I cannot even get folks to pick up the phone on their desk instead of their cell phone...

I used to troubleshoot and repair down to the component level now I am just a plug monkey, installing VOIP phones? no problem just get the plug monkey to rewire all the drops for POE and plug them in, routers and switches come per-configured because only a chosen few have the passwords, just get the plug monkey to install it! JEEZ...
Quote 0 0
thiagoralves
Did at least Cygwin install correctly when you tried Cygwin installer? If you can get to the Cygwin prompt, then installing OpenPLC is a snap.
Quote 0 0
Mogman
Well I do have a Cygwin terminal icon on my desktop, if I open it I get what looks like a command window, I removed and tried to re-install openplc but I still get the same message.
Quote 0 0
Mogman
I tried installing logged in as admin, looked like it was OK as it did finish, but when I try to open it a get this window, on my user account it just gives me the same warning to run installer again.
Quote 0 0
pedromorgan
Looks like the server is running, you need to open http://localhost:8080 in a browser
Quote 0 0
Mogman
Well that seemed to work!
Quote 0 0
Mogman
Now to figure out how to access it from my user account
Quote 0 0
Mogman
GGRRRR, I can only see openplc in my admin account all programs folder.......
Quote 0 0
thiagoralves
OpenPLC requires an admin account as it installs a POSIX subsystem that requires admin privileges. That’s why it is failing on your limited user account. 
Quote 0 0