What is AVEVA Edge?

Previously known as InduSoft Web Studio, this software is a economic software solution to interface with a lot of network/protocol. This product is also previously known as InTouch Edge.

Beside its role as Human-Machine Interface (HMI), Edge also can work as IoT gateway for remote monitoring.

In this article, we are going to explore running Aveva Edge 2020 R2 SP1 on Raspberry Pi 3B+.

Edition

AVEVA Edge
SCADA
AVEVA Edge
HMI
AVEVA Edge
Compact HMI
AVEVA Edge
IoT View
WindowsWindows EmbeddedWindows CELinux/Raspberry Pi
Full runtimeEmbedded and Edge MachineCompact HMIEdge Computing
Local View
Web Server
Mobile Access
Local View
Web Server
Mobile Access
Local View
Web Server
Mobile Access
Mobile Access
Full DriversLimitedLimitedLimited

User Interface

We will look into how to configure

  • Web interface (HTML5) and
  • Local interface (Keyboard, Video, and Mouse)

Protocol

List of the protocol that we can use with IoT View:

NameBrandDescription
ABCIPAllen BradleyEthernet CIP Protocol
ABTCPAllen BradleyEthernet DF1 Protocol
MELSEMitsubishiMELSEC Protocol
ModbuGenericSerial Modbus RTU/ASCII
MOTCPGenericEthernet Modbus RTU/ASCII
MQTTGenericMQTT

Full list of supported protocol in Aveva website.

Installation

IDE

Development Environment is only available for Windows machine. In this article, we’ll install IDE on Windows 2016, 1607. Prior to installing, we’ll need to make sure .NET Framework 3.5 is installed

# Check .NET Framework installation
# Will return if .NET Framework 3.5 and .NET Framework 4.x is installed
# Both are different component, so we still need to make sure .NET Framework 3.5 is installed
Get-WindowsFeature -Name "*Framework*"

# Installing .NET Framework 3.5 on windows server will require installation media
# e.g. \\networkdrive\share\sxs
Install-WindowsFeature Net-Framework-Core -source \\networkdrive\share\sxs

# Check IIS installation
Get-WindowsFeature -Name "Web-Server"

# IIS will need to be installed for EdgeIDE
Install-WindowsFeature -Name Web-Server -IncludeManagementTools

Download setup, run, and reboot when requested.

Setup will continue after reboot and login

Feature selections

We are going to go ahead and install the following feature

Runtime

Prepare Raspberry Pi

We’ll need to prepare Raspberry Pi with GUI on memory card.

For detailed guide on base build preparation, refer to this article.

Install RemoteAgent

Run the following command on rpi

cd ~
mkdir iotview

Copy RemoteAgent from C:\Program Files (x86)\AVEVA\AVEVA Edge 2020\Redist\IoTView\Linux\arm-gnueabihf-2.13-6.0.17\ to ~\iotview

# Change permission so we can execute RemoteAgent
sudo chmod a+x RemoteAgent

# Run RemoteAgent
./RemoteAgent

Leave the RemoteAgent running, as we’ll need this to download and install Runtime files from IDE.

Creating Edge IoT View project

Before we proceed, ping to prepared Raspberry Pi should returned ok from this point onwards.

The following section will be on AVEVA Edge Studio environment

New Project

Click on File > New dialog, using Project tab.

Insert your Project Name and location

Drop down target platform and choose Embedded AVEVA Edge ??? tags

Next, we’ll determine the resolution (e.g. 1920×1080)

Click Next on security System, then choose if you want to use security system and set Main Password as required.
We can ignore the configuration for security for the time being.

Mobile Access

In menu bar, go to Project > [Web] Mobile Access. Click Yes to enable mobile access.

Install Runtime Software into RPi

Go to Home > Remote Management, then click Connect.

Enter respective IP address or hostname into the host field and click connect. You may be prompted with unsecured connection prompt, connect anyway.

Click on Install runtime files button. The status will be updated after Disconnect and re-Connect to the RPi.

After complete installing, we can go back to RPi and stop the RemoteAgent software by pressing Ctrl+C.

# Open and edit install.sh
nano install.sh

# Change install_apache to 1
# Change install_init to 1

# Install the transferred software
sudo ./install.sh -a -i

# After complete install, we'll restart RPi
sudo reboot

Create Window

First window created will always be your start-up window.

After creating, click on the save button.

Then we’ll need to Save as HTML

Download Project to RPi

Click on Home > Remote Management > Connect to initiate connection to RPi

Then go to Project tab > Download

After transfer has been completed, click on the Run button

On RPi, run the following command

sudo service remote-agent status
# Under CGroup, we should be able to see 2 entry:
# - RemoteAgent -start_runtime
# - bin/iotview

Next, we can go to http://[rpi-address].local/MA/index.html

Default username will be guest with no password

Last modified: 11 January 2022