64 bit linux
This article is valid, if you want to use →Runtime system and/or Neuron Power Engineer on a 64 bit system of Linux.
The following steps are valid for Debian 7 and UBUNTU. If you do not perform the steps, you will not be able to load the application created in Neuron Power Engineer under Linux.
In this article: |
---|
Neuron Power Engineer for Linux 64
The following installation steps describe the installation under a current version of Ubuntu-Linux (Ubuntu 16.04 at least).
Installing build utilities
You need wget
in order to install the →Raspberry Pi compiler. Enter the following commands within a shell, such as by using gnome-terminal
or xterm
. Conclude each command by pressing the Enter-key.
|
Furthermore ninja
must have been installed. This is done by the following commands entered in a shell again:
|
As alternative you might want to install the ninja
utility by using your package manager. However, mind that you need version 1.5 at least for the binary code creation:
|
Installing compiler for built-in PLC
The built-in PLC (= platform BuiltInPlc
) is a 32-bit application. gcc-5-multilib
and g++-5-multilib
must be installed in order to create binary code for the built-in PLC. This is done by the following commands entered in a shell again:
|
Installing compiler for Raspberry Pi
Enter the following command in a shell in order to install the Raspberry Pi compiler:
|
Mind that the compiler for ARM CPUs arm-linux-gnueabihf-gcc
that is filed in the package archive of the Ubuntu and Debian project is only suited for Raspberry Pis in version 2 or 3. Therefore, it is not installed during this instruction.
Installing and starting Neuron Power Engineer for Linux
-
Install the Neuron Power Engineer version for Linux that you have received from the support team of Neuron.
-
Before starting Neuron Power Engineer, enhance the
PATH
variable by the directory to the Raspberry Pi compiler. In order to avoid graphics glitches, it is also necessary to set theSWT_GTK3
variable to value0
.
Enter the following commands in a shell:cd <installation-path-of-the-development-environment>
export PATH=/usr/local/toolchains/arm-rpi-4.9.3-linux-gnueabihf/bin:${PATH}
export SWTK_GTK3=0
./logiCAD3
-
Start Neuron Power Engineer by double-clicking the start file
NeuronPowerEngineer
.
In Neuron Power Engineer you can now create a project, enter ST-code for the application, transfer the application onto the controller and test it on the controller.
Neuron RTS max for Linux 64
On a 64 bit system of Linux perform the following steps:
-
Install the Neuron RTS max version for Linux that you have received from the support team of Neuron.
Proceed analogously to the procedure described starting with "Installing the runtime system on Raspberry Pi". -
Open a terminal window under Linux.
-
Enter the following commands – one after each other. Conclude each command by pressing the Enter-key.
sudo dpkg --add-architecture i386
sudo apt update && sudo apt upgrade
sudo apt-get install libc6-i386 libssl1.1:i386 zlib1g:i386 libuuid1:i386
sudo apt-get install libstdc++6:i386 libxml2:i386
-
Install a license for Neuron RTS max. Details: siehe "Requesting and installing license"
-
Start Neuron RTS max and add Neuron RTS max to the system start.
Proceed analogously to the procedure described starting with "Starting the runtime system on Raspberry Pi".