ManfredHerrmann / OpenPLC_v3

OpenPLC Runtime version 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenPLC Runtime version 3

Build Status Build status

OpenPLC is an open-source Programmable Logic Controller that is based on easy to use software. Our focus is to provide a low cost industrial solution for automation and research. OpenPLC has been used in many research papers as a framework for industrial cyber security research, given that it is the only controller to provide the entire source code. The OpenPLC Project consists of three sub-projects:

  1. Runtime
  2. Programming editor
  3. HMI builder

Installation:

git clone https://github.com/thiagoralves/OpenPLC_v3.git
cd OpenPLC_v3
./install.sh [platform]

Where [platform] can be:

win - Install OpenPLC on Windows over Cygwin

linux - Install OpenPLC on a Debian-based Linux distribution

docker - Used by the Dockerfile (i.e. doesn't invoke sudo)

rpi - Install OpenPLC on a Raspberry Pi

custom - Skip all specific package installation and tries to install OpenPLC assuming your system already has all dependencies met. This option can be useful if you're trying to install OpenPLC on an unsuported Linux platform or had manually installed all the dependency packages before.

Building, Installing and Running inside Docker

Make sure docker is installed

Build

# instead of running install.sh as stated above, run:
docker build -t openplc:v3 .

RUN

Devices can be passed to the docker daemon using the -v flag (e.g. -v /dev/ttyACM0:/dev/ttyACM0)

docker run -it --rm --privileged -p 8080:8080 openplc:v3

About

OpenPLC Runtime version 3


Languages

Language:C++ 76.1%Language:C 4.3%Language:JavaScript 3.2%Language:Shell 3.0%Language:Yacc 2.9%Language:Java 2.5%Language:C# 2.3%Language:Python 2.1%Language:Scala 1.3%Language:LLVM 0.6%Language:XSLT 0.6%Language:Makefile 0.4%Language:Perl 0.3%Language:M4 0.1%Language:HTML 0.1%Language:CMake 0.1%Language:CSS 0.1%Language:TeX 0.0%Language:Batchfile 0.0%Language:Smalltalk 0.0%Language:Dockerfile 0.0%