OpenPLC Runtime version 3
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:
git clone https://github.com/thiagoralves/OpenPLC_v3.git cd OpenPLC_v3 ./install.sh [platform]
[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
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
docker is installed
# instead of running install.sh as stated above, run: docker build -t openplc:v3 .
Devices can be passed to the
docker daemon using the
-v flag (e.g.
docker run -it --rm --privileged -p 8080:8080 openplc:v3