• 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.2 Installing OpenPLC Editor

1.2 Installing OpenPLC Editor

OpenPLC Editor can run on any platform that has support for Python. Currently there are official installers for:

  • Windows
  • Linux (Debian, Ubuntu, Fedora and variants)
  • macOS (currently in beta)

 

For the officially supported platforms, just download the provided installer for your Operating System from the OpenPLC website, and follow the instructions on the screen to have it installed in your system.

Installing on Unsupported Operating Systems

For other Operating Systems, you can still install and run OpenPLC Editor provided you meet the dependencies:

1. Clone the official source code repository on Github:

git clone https://github.com/thiagoralves/OpenPLC_Editor

2. Install Dependencies:

– GCC and G++ (or any other C / C++ compiler)

– Bison

– Flex

– Autoconf

– Automake

– Make

– Python 2.7 (including pip)

– wxPython 3.0

3. Install Python libraries using pip:

pip2 install future zeroconf==0.19.1 numpy==1.16.5 matplotlib==2.0.2 lxml pyro sslpsk pyserial

4. Compile matiec

cd matiec

autoreconf -i

./configure

make -s

cp ./iec2c ../editor/arduino/bin/ #keeps a copy of the iec2c compiler inside the arduino folder

Once OpenPLC Editor is installed you can run it with:

python2.7 ./editor/Beremiz.py

Installing the Python 3 / wxPython Phoenix development branch

As Python 2.7 and wxPython 3.0 are now deprecated, we have put ongoing efforts to port OpenPLC Editor to Python 3 and wxPython Phoenix. If your system is not compatible with Python 2 anymore, you can try running the development branch based on Python 3. Beware that since this is a development branch, things can suddenly break and stop working. Use it at your own risk.

1. Clone the official source code repository on Github:

git clone –branch dev-python3 https://github.com/thiagoralves/OpenPLC_Editor

2. Install Dependencies:

– GCC and G++ (or any other C / C++ compiler)

– Bison

– Flex

– Autoconf

– Automake

– Make

– Python 3 (including pip)

3. Install Python libraries using pip:

pip3 install wxPython lxml future matplotlib zeroconf pyserial

4. Compile matiec

cd matiec

autoreconf -i

./configure

make -s

cp ./iec2c ../editor/arduino/bin/ #keeps a copy of the iec2c compiler inside the arduino folder

Once OpenPLC Editor is installed you can run it with:

python3 ./editor/Beremiz.py

What are your Feelings
Updated on 2022-10-10

Leave a Reply Cancel reply

You must be logged in to post a comment.