• Download
  • Documentation
  • Forum
  • Learning
  • Store
  • Sponsor
Menu
  • Download
  • Documentation
  • Forum
  • Learning
  • Store
  • Sponsor
$0.00 0 Cart

1. Get Started

  • 1.1 OpenPLC Overview
  • 1.2 Installing OpenPLC Editor
  • 1.3 Installing OpenPLC Runtime on Windows
  • 1.4 Installing OpenPLC Runtime on Linux
  • 1.5 Installing OpenPLC Runtime on Microcontrollers

2. OpenPLC Runtime

  • 2.1 OpenPLC Runtime Overview
  • 2.2 Uploading Programs to OpenPLC Runtime
  • 2.3 Input, Output and Memory Addressing
  • 2.4 Physical Addressing
  • 2.5 Modbus Addressing
  • 2.6 Slave Devices

3. OpenPLC Editor

  • 3.1 OpenPLC Editor Overview
  • 3.2 Creating Your First Project on OpenPLC Editor
  • 3.3 Adding new blocks to OpenPLC Editor’s library
  • Página inicial
  • Docs
  • 1. Get Started
  • 1.3 Installing OpenPLC Runtime on Windows

1.3 Installing OpenPLC Runtime on Windows

Welcome! We are excited that you want to learn more about OpenPLC. This page contains step-by-step instructions on how to get OpenPLC Runtime installed in your system. The OpenPLC Runtime core was written with POSIX compatibility. Therefore, to be able to run on Windows, OpenPLC Runtime needs a special software called MSYS2. MSYS2 is a fork of Cygwin which provides substantial POSIX API functionality on Windows, and also has a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution.

Install OpenPLC Runtime Using Windows Installer

The easiest way to install OpenPLC Runtime on Windows is through the Windows installer.

OpenPLC Runtime for Windows.exe

The installer above is a compilation of scripts that will automatically download and install MSYS2 and all required dependencies, followed by OpenPLC Runtime. Just download and run the installer to have OpenPLC Runtime installed in your system.

Install OpenPLC Runtime Manually

If for any reason you are not able to run the installer above, then you can install OpenPLC Runtime manually on Windows following the steps below:

  1. Download MSYS2 installer from https://www.msys2.org/
  2. Open file explorer and go to the folder where you downloaded MSYS2 setup (for example Downloads).
  3. Double-click on the MSYS2 installer and follow the screen prompts to get MSYS2 installed in your system

Once MSYS2 is installed, installing OpenPLC Runtime is simple and straightforward. Just open “MSYS2 MSYS” from the Windows menu and type:

pacman -Suy --noconfirm
pacman -S git --noconfirm
git clone https://github.com/thiagoralves/OpenPLC_v3.git
cd OpenPLC_v3
./install.sh win_msys2

After typing these commands, OpenPLC Runtime installation will start inside MSYS2. It may take a while (up to 15 minutes depending on your computer and internet speed). Once the installation finishes, you can start OpenPLC Runtime by typing the following commands on MSYS2 Terminal:

cd OpenPLC_v3

./start_openplc.sh

What are your Feelings
Updated on 2024-09-03

Leave a Reply Cancel reply

You must be logged in to post a comment.