Home

Ingo
Attachments
codesys.png (355652 bytes)

Download file

Preface

CODESYS 4 Linux is just a small install helper, to install CODESYS on top of wine. This works, since the release of version 3.5 SP13, more or less smoothly. You can't expect, that all features are working, or that the usability is as smooth as under windows. But big parts of the product are working, what makes it well usable for many scenarios.

Installation

This describes, the prefered way, using the install script.
To manually do the installation, you might want to take a look into this page.

Download

Download the install script. This can be done with

  • svn
  • from the website
  • wget

e.g.:

wget -c "https://forge.codesys.com/tol/codesys-4-linux/docker/ci/master/tree/codesys-ide/install.sh?format=raw"

Prerequisites

You might need a development version of wine.
This is the command for debian to install it:

sudo apt-get install wine64-development cabextract winbind

Run

Change the rights of the script, and run it.

chmod u+x install.sh
./install.sh

Docker

IDE

You can build a docker container, which contains a CODESYS installation running on top of wine. The installation process is automated in the same way as described above. To build the docker image, you can simply use the Dockerfile from the Git repository:

sudo docker build https://forge.codesys.com/git/tol,codesys-4-linux,docker.git\#:codesys-ide -t codesys-ide

The image can be used to automate tasks. It contains a wrapper to start CODESYS, which contains already a few scripts, which can be used to automate specific tasks.

For example:

sudo docker run codesys-ide codesys compile-library

Runtime

The CODESYS Control runtime is natively running on linux. The Soft PLC CODESYS Control Linux SL contains a free 2h Demo mode. You can easily create a debian based docker inage, which contains this demo:

sudo docker build https://forge.codesys.com/git/tol,codesys-4-linux,docker.git\#:codesys-control -t codesys-control

Start CODESYS

After the installer finished, you should have a folder "~/.wine.cds/drive_c/CODESYS". From there you can start CODESYS like this...

wine-development ~/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe

Related

Home: Manual Installation