Installation and Updates Zenon Software Platform v14
Installation and Updates Zenon Software Platform v14
Distribution and/or reproduction of this document or parts thereof in any form are permitted solely
with the written permission of the company COPA-DATA. Technical data is only used for product
description and are not guaranteed properties in the legal sense. Subject to change, technical or
otherwise.
Table of contents
12 Service Engine for Linux - installation and putting into operation........................................... 154
12.1 Installation on the Linux computer .......................................................................................................154
12.1.1 Setting up the APT repository ....................................................................................................................... 155
12.1.2 Installation of the Service Engine package .............................................................................................. 156
12.1.3 Licensing ................................................................................................................................................................ 156
12.1.4 Checking the state of the installation and licensing ............................................................................ 157
12.2 Installation of Linux components of the zenon Software Platform - Summary ...................158
12.3 .NET installation on Linux .........................................................................................................................158
12.3.1 Set up APT repository for .NET ..................................................................................................................... 159
12.3.2 Installation of .NET 8 ......................................................................................................................................... 160
12.3.3 Check for previously-installed .NET versions .......................................................................................... 160
12.3.4 .NET environment variable ............................................................................................................................. 161
12.3.5 Uninstallation ....................................................................................................................................................... 161
12.4 Commissioning of a zenon project on Linux computers ..............................................................161
12.4.1 Manual installation ............................................................................................................................................ 161
12.4.2 Installation via Device Management .......................................................................................................... 163
12.5 Starting Service Engine ..............................................................................................................................166
12.6 Uninstallation ................................................................................................................................................167
GENERAL HELP
If you cannot find any information you require in this help chapter or can think of anything that you
would like added, please send an email to [email protected].
PROJECT SUPPORT
You can receive support for any real project you may have from our customer service team, which
you can contact via email at [email protected].
Hint
The autoplay of media can be enabled in the settings of your
operating system.
Press the Windows button + I to open the Windows
settings dialog.
Enter Enable/Disable Auto Play in the input field.
This opens the system configuration dialog.
Select the Use AutoPlay for all media and devices option.
6 | 168
System requirements
Attention
From version 7.10 on, zenon cannot be installed on systems on which the
Microsoft SQL Server Data Engine (MSDE) is already installed. This affects all
systems in which zenon 6.01 or 6.20 have been installed.
Information
If you receive an error message during installation stating that a service cannot
be started, then:
first reboot the computer
then start the zenon setup again
3 System requirements
Changes due to Service Packs, Hotfixes or Patches from Microsoft can cause incompatibilities and
affect the functionality of the software. In this case, COPA-DATA will provide an updated version of
zenon as soon as possible. In this case you can get more information from COPA-DATA support:
[email protected].
7 | 168
System requirements
Attention
Note when configuring the project:
For the optimal display ofzenon in the Service Engine, the standard setting
(corresponds to 100%) is recommended for the Windows display. Higher
values can lead to graphic elements, symbols, texts, etc. not being
displayed correctly.
Windows themes can overlay elements in Service Engine. Ensure, when
configuring a project, that there is an appropriate distance from the
elements to the screen edge.
Note: According to Windows conventions, hostnames may not contain more than 15 characters.
8 | 168
3.1.1 Windows Operating Systems (1/2)
Supported operating systems and minimum required Windows Service Pack/version:
Operating system zenon Service Engine Logic Service zenon
Engineering Studio Report Engine
Windows 10 Only x64 from version 1607 From version 1607 From version 1607 Only x64 from version 1607
(Pro, Enterprise)
Windows 10 Only x64 from version 2016 From version 2016 From version 2016 Only x64 from version 2016
(Enterprise LTSC, IoT Enterprise LTSC)
Windows 11 Only x64 from version 21H2 From version 21H2 From version 21H2 Only x64 from version 21H2
(Pro, Enterprise)
Windows Server 2016 Only x64 from version 1809 From version 1607 From version 1607 Only x64 from version 1607
(All editions with the exception of Core)
Windows Server 2019 Only x64 from version 1809 From version 1809 From version 1809 Only x64 from version 1809
(All editions with the exception of Core)
Windows Server 2022 Only x64 from version 21H2 From version 21H2 From version 21H2 Only x64 from version 21H2
(All editions with the exception of Core)
LTSC VERSIONS
An overview of LTSC versions and their Equivalent GA Channel releases can be found on the Microsoft Homepage
(https://learn.microsoft.com/en-us/windows/whats-new/ltsc/).
3.1.2 Windows Operating Systems (2/2)
Supported operating systems and minimum required Windows Service Pack/version:
Operating system zenon zenon zenon HTML Web Engine IIoT Services
Smart Server Smart Client
Web Visualization Service
Windows 10 From version 1607 From version 1607 From version 1607 From version 1607
(Pro, Enterprise)
Windows 10 From version 2016 From version 2016 From version 2016 From version 2016
(Enterprise LTSC, IoT Enterprise LTSC)
Windows 11 From version 21H2 From version 21H2 From version 21H2 From version 21H2
(Pro, Enterprise)
Windows Server 2016 From version 1607 From version 1607 From version 1607 From version 1607
(All editions with the exception of Core)
Windows Server 2019 From version 1809 From version 1809 From version 1809 From version 1809
(All editions with the exception of Core)
Windows Server 2022 From version 21H2 From version 21H2 From version 21H2 From version 21H2
(All editions with the exception of Core)
3.1.3 Linux
Supported Operating Systems and zenon Services for Linux:
Hardware Operating system Service Engine for Linux Logic Service Legacy T5 Logic Service
for Linux
Key:
X: supported
REQUIREMENTS
IIoT Services:
Data Hub
Data Storage
Certificate Management
Identity Service
Identity Management
Platform Configuration
IIoT API
Persistence Service
Service Configuration Studio
Device Management
Proxy Service
Trend Visualizer
Data Modeling
Note: For extensive projects or several projects loaded at the same time you will need accordingly
faster/stronger hardware. The minimum requirements can increase as a result of this.
Parameter Minimum requirements Recommended
CPU: Single core with SSE2 support. Quad Core or more cores
14 | 168
System requirements
Graphics card driver: The graphics card manufacturer's most recent driver.
(DirectX hardware
only)
Operating system: DirectX Hardware and DirectX Software only work on operating systems
with DirectX 11.1 support.
If the system does not support DirectX 11.1, it is automatically switched
to Windows based .
You can check the DirectX hardware compatibility of the graphics card and the driver with the
dxdiag.exe of the Windows operating system.
As of Windows 8: All supported versions of DirectX are displayed in the Display tab under Feature
Levels. For example, DirectX 11 is displayed as 11.0.
Standard Windows user rights are required for ongoing operation. The user account control (UAC)
can be activated at the highest security level.
15 | 168
System requirements
Attention
Keep in mind that Windows user rights settings are not overridden by internal
security software.
For your planning, also take into account consumption of zenon independent system resources such
as the size of the storage medium, main memory, CPU performance, etc.
Attention
Graphics cards with their own graphics memory and DirectX support are
recommended. Shared-memory graphics cards may require too much working
memory and may thus lead to performance impairments. Note the system
requirements when using DirectX (on page 14) node. The recommended
configuration from this node is to be noted for the use of Multi-Touch.
ENGINEERING
Engineering Studio uses a Microsoft SQL Server as an SQL Server and has higher hardware
requirements than Service Engine. If Engineering Studio and Service Engine are to be running on a
system simultaneously, the requirements increase.
Information
In Service Engine, an automatic check is carried out to determine whether the
computer has sufficient hardware and operating system resources for the current
process.
For further information, see the Service Engine node in the System integrity
monitoring node.
PERFORMANCE OPTIMIZATION
Note that all information stated only constitutes the minimum requirements for your system. Better
hardware equipment improves the performance of zenon considerably.
16 | 168
System requirements
Equip your hardware - both clients and most of all the server - with sufficient memory (RAM).
Optimize the hardware for data backup, for example with fast SSD data storage.
Match the hardware of the clients and the network to one another. A system is only as
powerful as its weakest component.
Optimize your network architecture, for example with the use of cabling with a high data
transfer rate and corresponding devices (switches and routers).
When using a virtual environment, ensure that the virtual system is correspondingly
configured with performance optimization.
Memory From 4 GB 8 GB
Smart Client: 3 GB
IIoT Services: 4 GB
License Management: 1 GB
17 | 168
System requirements
Monitor resolution Extended VGA with 1024 x 768 pixels. Double monitor setup:
2 times 1920 x 1080
Attention: Some dialogs, e.g. the filter of the
AML/CEL image, are difficult to operate or
possibly non-operable at a height of less than
850 pixels.
Note: When using comprehensive multi-user projects, note the information in the hardware
requirements node.
For extensive projects or several projects loaded at the same time you will need accordingly
faster/stronger hardware. The minimum requirements can increase as a result of this.
Hardware Minimum requirements Recommended
18 | 168
System requirements
Smart Client: 3 GB
IIoT Services: 4 GB
License Management: 1 GB
19 | 168
System requirements
Information
The minimum recommended resolution in Service Engine is 1024 x 768 pixels.
Smaller resolutions can also be configured. However it may then not be possible
to operate some online dialogs. If these are not used, the resolution can be
selected as lower.
20 | 168
System requirements
HARDWARE
Report Engine Server:
Parameters Recommended Minimum
Engineering computer:
Parameters Recommended Minimum
CONNECTORS
The following is applicable for the Service Engine Connector:
Timeout: is independent of the report timeout.
Default: 5 minutes (can be configured)
Variables: Only variables that are listed in metadata are requested
String variable: maximum of 4000 characters
21 | 168
System requirements
Attention
Archive data can only be evaluated if the variables and archive configuration are
in the same project.
SCHEDULES
Calendar days in months are limited to 1 - 28 (corresponds to February in non-leap years)
The "Month end" event is not available
Information
Do not use zenon color palettes for dynamic limit values for zenon projects
whose data is to be exported for Report Engine. Limit values cannot be
dynamically changed in Report Engine. Information from color palettes can
therefore not be evaluated. This can lead to illegible graphics.
22 | 168
Platform setup
Storage medium 64 MB of free space for Smart Client plus space for 80 GB free
the projects. harddrive space.
4 Platform setup
In this node, you can find detailed information on setup for apps and components of the zenon
software platform.
23 | 168
Platform setup
The zenon software platform is available in different embodiments with different names. Product
names and the scope may differ from the standard installation described.
Notes:
Administrator rights are required for the installation process on the computer!
A restart may be necessary during installation.
Close all other programs before installation.
The minimum screen resolution for the setup is 1280 x 800 pixels.
The information in the left window shows you the current status of the installation process. You switch
to the next respective window with the Next button.
You can get help on installation by clicking on the Help symbol at the top right.
24 | 168
Platform setup
1. From the drop-down list at the top right, select the desired language for installation.
The following languages are available:
German
English
Italian
French
Spanish
Czech
Japanese
Korean
Chinese
Russian
Note: The language can only be changed on this page. In the following steps, the language
is shown but can no longer be amended.
2. Clicking on the Next button opens the window with the license conditions.
3. Confirm the license conditions by activating the corresponding checkbox.
If you do not accept the license conditions, you cannot install the product.
You can also print the license conditions out by clicking on the Print button.
4. Clicking on the Next button opens the privacy policy.
Read the privacy policy carefully.
You can print out the privacy policy by clicking on the Print button.
5. Activate the checkbox for the privacy policy.
This will confirm that you have read this. If you do not accept the privacy policy, the product
cannot be installed.
6. Clicking on the Next button opens the window to select the desired product.
Note: The Next button is only available if you have agreed to the license conditions by
activating the checkbox.
25 | 168
Platform setup
INSTALLATION PACKAGES
There are 6 collections of packages available for installation. By default, only the pre-selected
components are installed, as well as components that you choose to be installed. You can individually
add or remove further components before installation by using the Customize button.
Note: If an exclamation mark is shown for a package, this indicates incompatibility for the installation.
For example, already-installed components that do not permit the installation of a further version. In
this case, select the adjusted installation.
Package Components
Preselected:
Engineering Studio
Reporting Studio
Device Management Interface components
26 | 168
Platform setup
Package Components
License Manager
Optional:
Service Engine
(pre-selected)
Report Engine
GraphQL Interface
Smart Client
Smart Server
IIoT Services
Preselected:
Service Engine
Device Management Interface components
License Manager
Optional:
Engineering Studio
Report Engine
GraphQL Interface
Reporting Studio
Smart Client
Smart Server
IIoT Services
Reporting & GraphQL Installs Report Engine and the GraphQL Interface.
Preselected:
Report Engine
IIoT Services
License Manager
Optional:
Engineering Studio
27 | 168
Platform setup
Package Components
Service Engine
GraphQL Interface
Reporting Studio
Smart Client
Smart Server
Device Management Interface components
Preselected:
IIoT Services
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
GraphQL Interface
Reporting Studio
Smart Client
Smart Server
Device Management Interface components
Preselected:
Smart Client
License Manager
28 | 168
Platform setup
Package Components
Optional:
Engineering Studio
Service Engine
Report Engine
GraphQL Interface
Reporting Studio
Smart Server
IIoT Services
Device Management Interface components
Preselected:
Smart Server
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
GraphQL Interface
Reporting Studio
Smart Client
IIoT Services
Device Management Interface components
DEFAULT INSTALLATION
To install a package with the preselected components:
29 | 168
Platform setup
CUSTOMIZED INSTALLATION
You can adjust the packages individually.
30 | 168
Platform setup
Attention
If there is already a version of IIoT Services on the system, it is strongly
recommended that the data from this installation be backed up before an
update. You can find information about this in the Backup and Restore –
Persistence Instance section.
31 | 168
Platform setup
- the SYSTEM
user - the LOCAL_SERVICE user
Access to the folders is restricted to members of the SoftwarePlatformAccess and
Administrators groups.
Note: Setting permissions for files and folders takes effect immediately. The token for access by the
user currently logged in is not updated. This means that the new permissions only take effect when
the user logs in again. The setup requests a restart at the end of the installation to force the current
user to log out and log in again.
Distributed engineering: Activating the Harden installation option also has an impact on
distributed engineering in particular due to its restrictions. You must adjust the SQL Server, firewalls
and connection to your requirements after installation. You can find information about the
configuration of hardened systems in the Help in the Security - distributed engineering with hardened
systems node.
After installation, configure the exceptions in the Windows firewall to be more restrictive, suitable to
their environment and the required apps and services.
On multi-homed systems with multiple network cards, zenon apps and services open the TCP
Listening Port for all network cards present in the system by default. However communication
throughout all network cards is often not necessary and not desirable.
32 | 168
Platform setup
After installing zenon, configure the TCP Listening Ports for the respective services and apps,
according to their environment and requirements. Use the Startup Tool to do this. Only allow
communication between the network card or IP address that is absolutely necessary for this. If you
allocate a service to the Loopback adapter or the IP address 127.0.0.1, you only allow local
communication. This way, local Diagnosis Server access to local diagnosis clients can be limited, for
example.
Note the following for platform functionalities that are independent of the configuration of the
services:
Service Platform functionality
Driver Operations Manager The Driver Operations Manager administers the local
33 | 168
Platform setup
License Transfer Service For Remote Licensing of zenon components, they must be
able to communicate via the network. The service can also
be limited again after concluding the licensing.
Logging Service For Remote Logging via the Diagnosis Viewer, the service
must be contactable via the network.
Network Service This service must be reachable via the network for the use
of :
zenon network
Smart Client
Remote Transport Service Serves to manually transfer Service Engine files from an
external instance of Engineering Studio.
Report Engine Licensing Service For Remote Licensing of Report Engine, this service must
be able to communicate via the network. The service can
also be limited again after concluding the licensing.
SCADA Service Engine Connector This service must be able to be contacted via the network
if Report Engine, IIoT Services or remote Service Engine
drivers:
are used with a remote instance
access online data of a Service Engine
Smart Server This service is necessary for the operation of the Smart
Server.
Recommendation: Operate it as a separate instance,
separate from Service Engine.
Smart Server Tunneling This service is necessary for the operation of the Smart
Server.
Recommendation: Operate it as a separate instance,
separate from Service Engine.
SNMP Trap Service This service must be reachable via the network when
using zenon SNMP services.
34 | 168
Platform setup
The installation process may take some time. Do not turn your computer off in this time. Please also
ensure that your computer is not automatically put into sleep mode.
INSTALLATION IS COMPLETED
At the end of installation, you will receive a message about the success of the installation.
35 | 168
Platform setup
2. Configure the newly-installed IIoT Services using the Start Configuration button.
Existing installations of IIoT Services can thus be adapted as required.
CANCEL INSTALLATION
You can cancel the installation by clicking on the Cancel button.
Before canceling the installation there is a security query.
Possible actions:
Yes: The installation is canceled.
The dialog for an invalid installation is shown.
No: The installation is continued.
36 | 168
Platform setup
You can find detailed information on this in the Backup and Restore – Persistence Instance node.
To do this:
1. Start the Setup for the zenon software platform.
Because there are already components on the system, the page with the available
components is opened immediately.
2. Select the desired components by clicking on the respective checkbox.
If a further component is needed for a component, this is automatically selected too.
3. Click on Install.
Note: You uninstall components using the Windows Apps app or the Control Panel.
37 | 168
Platform setup
Uninstall components:
Open the Windows Apps settings.
Click on the zenon Platform Setup entry.
Click on Change.
The dialog to select the components is opened.
Select the desired components.
Click on Uninstall.
Example:
When calling up the Windows functionality for modifying and uninstalling apps, only those
components that have been installed with or updated to the selected version are offered for
modification for the zenon Software Platform.
38 | 168
Platform setup
With the standalone setup for Logic Service for Windows all components for operating the 61131-3
compliant Logic Service are installed on the target system.This includes among other things,
components for licensing and diagnostics.No configuration components are installed.
INSTALLATION REQUIREMENTS
Keep in mind the general system requirements for installing the product. Pre-installation of zenon
Operator/Supervisor or Logic Service for Windows (Standalone) is not permitted.
The product requires software already installed on the target system. You can also find them in the
%AdditionalSoftware% folder of the installation medium. Therefore, if necessary, manually install the
following packages:
Microsoft Visual Studio C++ Redistributables
WIBU-SYSTEMS CodeMeter Runtime Kit
After installation, execute the appropriate installation package (x86 or x64) for your target system.
Information
The installation does not include a license for the product. Therefore Logic
Service starts in test mode. Licensing can be done using the general licensing
tools.
UPDATE
As part of Silent Installation, it is possible to exclude certain standard components from the installation
specifically:
Firewall rules: The CDPROP_INSTALLFIREWALL parameter decides whether rules for the
firewall are set.
Codemeter Software: Can be configured using the PREREQUISITES_ argument for the
ISFeatureInstall parameter. Codemeter is not installed if the argument is not used.
Attention: This argument is applicable for all Prerequisites. Other Prerequisites are also not
installed in this case!
39 | 168
Platform setup
Information
All zenon versions from 7.10 on support silent installation and uninstalling.
Rules:
Default length: 20 characters
Permitted characters:
Letters: A - Z, a - z
Digits: 0 - 9
Special characters: !@$?#%&*
Composition:
at least 1 lower case letter
at least 1 upper case letter
at least 1 number
at least 1 special character
Attention
A user-defined password is not validated.
For example:
SoftwarePlatform.exe -s CDP_WORKLOAD="WlSmartClient"
40 | 168
Platform setup
CDP_WORKLOAD does not make sense for installations that are not silent. The argument is therefore
also not supported and is ignored.
Parameters Arguments Description
Default:1
41 | 168
Platform setup
1034: Spanish
1036: French
1040: Italian
1041: Japanese
1042: Korean
1049: Russian
Default:1033
Default: Empty
Default:0
42 | 168
Platform setup
SILENT UNINSTALLATION
Uninstallation must be carried out using the same SoftwarePlatform.exe that was used for installation.
Because this is saved in a folder with an execution-specific GUID, the following lines are also logged
with each successful installation.
In doing so, {bundleProviderGuid} is always replaced with the execution-specific GUID. The full path to
the EXE is thus given in the LOG file.
In principle, all actions are documented in the log. Certain queries that are displayed as GUI feedback
during normal installation are written here in the LOG file.
Examples:
Installation of Engineering Studio, German, Energy Edition:
scada.exe /silent /language:1031 CDPROP_EDITION=ENERGY CDPROP_TYPE=ED
ISFeatureInstall=PREREQUISITES_EDITOR,SCADA
43 | 168
Platform setup
PARAMETERS
Parameters Arguments Description
1036: French
1040: Italian
1041: Japanese
1042: Korean
1049: Russian
44 | 168
Platform setup
If no password is transferred, a
random password is
generated during installation.
Attention: User-defined
passwords are not validated
for validity and compliance
with password rules!
45 | 168
Platform setup
Examples:
Service Engine with
Prerequistes:
ISFeatureInstall=PRERE
QUISITES_RUNTIME,SC
ADA
Service Engine without
Prerequistes:
ISFeatureInstall=SCADA
46 | 168
Platform setup
1036: French
1040: Italian
Examples:
Installation of Engineering Studio, German, Energy Edition:
scada.exe /silent /language:1031 CDPROP_EDITION=ENERGY CDPROP_TYPE=ED
ISFeatureInstall=WIBU,SCADA,MS,MSALL,SQL,COMMON
47 | 168
Platform setup
ZENON 7.10
ZENON 7.11
If you have already closed the error message window, you can find the log files with the installation
information for the SQL Server in the folder:
C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\LOG
48 | 168
Platform setup
Information
To prevent this:
Deactivate the automatic Windows update during the time of installation.
carry out the Windows update before starting the zenon installation
Note: If the anti-virus software you use leads to problems during installation, deactivate the anti-virus
software for the duration of the installation. The computers concerned can be exposed to higher risks
during this time. Activate your anti-virus software immediately after the installation of zenon.
The zenon program files are stored in a folder that is specified during installation.
49 | 168
Platform setup
Additionally the installation asks for a folder for the SQL databases of the projects. The storage
medium for project archiving (SQL, screens etc.) must have enough free space, because all current
and future project data is stored there.
Folder Path
%CommonProgramFiles(x86)%\COPA-DATA
64-bit system:
%CommonProgramFiles%\COPA-DATA
Engineering Studio generates Service Engine files in the Service Engine folder, or they are transferred
to this folder by means of Remote Transport. The Service Engine folder is created or updated when
50 | 168
Platform setup
compiling a project in Engineering Studio. This folder can be configured in Engineering Studio with
the Service Engine folder project property. With remote transfer, the Service Engine folder is defined
in the Remote Transport settings.
DATA FOLDER
Service Engine saves all data files that were created in Service Engine such as alarm files, archive files
etc. in the data folder. The data folder is created as a subfolder of the Service Engine folder by
default. The folder is automatically assigned the name of the computer that Service Engine is running
on. You can change this save location in the project properties (General/Data folder).
Hint: Never set the data folder to a removable device such as an USB stick or a network device. It is
recommended that the data is recorded locally and backed up externally.
Attention
If the defined path does not exist or is not available, no more data is written
from Service Engine. This means a complete loss of data. Service Engine can still
be operated but must be restarted as soon as the path is available again. The
availability of the folder can be checked via the system driver variable
[Systeminformation] Service Engine folder not available .
51 | 168
Platform setup
These PIDs can be read in the Windows Task Manager. To do this, open the Windows Task
Manager and switch to the Services tab.
52 | 168
Platform setup
manual registration:
1. Run the command line with administrative rights
2. Go to the folder %ProgramFiles%\Common Files\COPA-DATA\zenAdminSrv
3. Start the service zenAdminSrv.exe with the parameter -service
4. Go to the folder %ProgramFiles%\Common Files\COPA-DATA\zenLogSrv
5. Start the service zenLogSrv.exe with the parameter -service
Example
zenAdminSrv:
Folder: C:\Program Files\Common Files\COPA-DATA\zenAdminSrv
Command: zenAdminSrv.exe -service
zenLogSrv:
Folder: C:\Program Files\Common Files\COPA-DATA\zenLogSrv
Command: zenLogSrv.exe -service
53 | 168
Platform setup
This means that the driver is reinstalled and properly linked to the network adapters.
This means that the driver is reinstalled and properly linked to the network adapters.
54 | 168
Platform setup
Info
You can display many default paths with the help of the set command:
start the command line (enter cmd in the Windows start area)
enter command set
By pressing the Enter key, the default folder for Windows and zenon are
displayed
Note: Because absolute paths can differ in different operating systems, the paths are always
displayed as Windows environment variables in this node. For example %ProgramData% instead of
C:\ProgramData.
INSTALLATION
During installation, paths are set for:
Engineering Studio
zenon SQL folder
Only the paths for Engineering Studio and zenon SQL folder can be adjusted.
The setup needs administrator rights. This is also true for changing the installation paths.
REQUIREMENTS
The installation paths of the required third-party software match the standard paths of the respective
manufacturer and cannot be changed during setup.
The additional software packages that need to be installed depend on the type of installation:
Engineering Studio
Service Engine
Smart Client
Logic Service
55 | 168
Platform setup
Key:
X: supported
Note: Microsoft Visual Studio Tools for Applications (VSTA 2.0) is not required and is not installed
during setup. It can be installed separately using the Startup Tool. To do this, the VSTA_AddOn.exe file
must be on the system.
ZENON
56 | 168
Platform setup
ENGINEERING STUDIO
In Engineering Studio, the following paths are used by default:
Object Path
Workspace %CD_USERDATA%
Projects %CD_USERDATA%
zenon6.ini %ProgramData%\COPA-DATA\System
%ProgramData%\COPA-DATA\[SQL folder\GUID]\FILES\[Projects]
Note: Can be set in the project using the file storage property.
SERVICE ENGINE
In Service Engine, the following paths are used by default:
Object Path
Projects %CD_USERDATA%\[Workspace]\[Project]\RT
57 | 168
Version change and build updates
Object Path
ZENON LOGIC
Paths for zenon Logic are created equal to the zenon paths.
With each setup for new build or new versions, you receive a link to the COPA-DATA website with the
changes between the previous version and the newly-installed one.
BUILD UPDATE
An update only updates those files which are more current than the previously installed files. All
projects and individual settings will remain unchanged. Build updates can contain changes for all
installed components. When calling up the setup, the components that have been changed and the
version to which they have been changed are shown.
Note: Build updates may have lower quality assurance standards than release versions.
Note: Build updates can only be installed locally. Installation on network paths (UNC) is not possible.
VERSION CHANGE
If you want to install a new version of zenon, start the installation routine. The new version is being
installed parallel to the old one. All projects and individual settings will remain unchanged. Projects
aren´t converted to the new version during installation. The respective project is converted when it´s
being opened for the first time in Engineering Studio. A dialog box notifies you about this procedure.
58 | 168
Version change and build updates
The old version is automatically backed up. If you want to use only the most up-to-date version, use
the Windows control panel software deinstallation routine to remove the old version.
Attention
If an installation involves changing the SQL server (for example, from zenon 10
to zenon 11 or higher), all projects or the workspace must be backed up before
the installation. This backup is read back after the installation. For details see also
section Multi-user projects/Update with change of SQL servers.
If you want to use multiple versions of zenon simultaneously, you have to manage them using the
Startup Tool. You can start only one version at a time. You can select which version you want to run
using the Startup Tool that automatically adjusts all necessary settings. You can find details in the
Startup Tool node.
Information
New versions always bring about structural changes. Projects and settings
remain untouched during installation. If you open Engineering Studio for the first
time, projects are converted to the new version. Simultaneously, an automatic
backup of the old version is created.
Converted projects cannot be edited in legacy versions. From version 6.2 on,
Engineering Studio is able to generate projects for different Service Engine
versions.
Important tips for converting projects can be found in the revision text and in
the Project conversion node.
MULTI-USER PROJECTS
To ensure a change to a new zenon version in multi-user projects without data loss:
1. Check in all checked out elements on all Clients by clicking Apply changes.
Nothing must be checked out. This is true for all projects.
2. Install the new zenon version on the server computer.
3. Convert all server projects to the new version.
To do this, load each project on the server computer into Engineering Studio and accept the
conversion.
4. Install the new zenon version on the client computers.
5. Load the projects to the clients.
59 | 168
Version change and build updates
If an installation involves changing the SQL Server (e.g. from zenon 8.20 to zenon 14), additional steps
are needed.
These steps are carried out:
after all projects are checked in
before the new version is installed
Attention: Make sure that the settings of the firewall allows the data traffic between the multi-user
Server and the Clients.
60 | 168
Version change and build updates
Procedure:
Checkbox for upgrading IIoT Services is deactivated:
IIoT Services are not updated. They remain in the version already installed on the system.
Checkbox for upgrading IIoT Services is activated:
IIoT Services are updated to the current version.
The task performs a silent installation of the IIoT Services setup without rebooting.
If the installation is successful, a button for manual reboot is offered at the end.
Do a reboot before starting IIoT Services. This ensures the correct operation of all
services.
5.2 Compatibility
Compatibility in zenon concerns:
Service Engine: Cooperation of different Service Engine versions.
Engineering Studio: Up-converting existing projects to new Engineering Studio versions.
61 | 168
Version change and build updates
Engineering Studio: Creating Service Engine files for different Service Engine versions in
Engineering Studio.
SERVICE ENGINE
Service Engine online compatibility enables Service Engine systems to work together in the zenon
network, as well as via Smart Clients.
The following is applicable here: The version of the client Service Engine must be the same or higher
than the version of the server Service Engine.
For example:
An 8.20 client can work together with an 8.10 server.
An 8.00 client does not work together with an 8.10 server. In this case, the Service Engine
client must be upgraded to version 8.10 or higher.
Note: When using the server and standby server, the same zenon version must be used on both of
them.
The current Service Engine can load projects of the following versions:
6.20 SP4
6.21 SP0
6.21 SP1
6.22 SP0
6.22 SP1
6.50 SP0
6.51 SP0
7.00 SP0
7.10 SP0
7.11 SP0
7.20 SP0
7.20 SP0[current build no.]
7.50 SP0
7.60 SP0
8.00 SP0
8.10 SP0
8.20 SP0
10.00
62 | 168
Version change and build updates
11.00
12.00
14.00
Due to the multi-project administration, projects from different versions can be loaded. For example,
the integration project can be version 8.20, a subproject from version 8.10 and another subproject
from version 7.60.
ENGINEERING STUDIO
Engineering Studio can open projects from the previous versions in each new version. These can be
edited further in the new version. If adjustments are required by the user, information can be found in
the current revision text and in the Project conversion node. When opening a project with a lower
version number in a higher Engineering Studio version:
the project is automatically converted
a backup of the project is automatically created
Attention
There is no backward compatibility between Engineering Studio versions.
Backward compatibility is only ensured between Engineering Studio and Service
Engine.
That means:
Converted projects can no longer be opened in a Engineering Studio with a
lower version number.
The project backup created during conversion can still be opened and
edited.
Also avoid transferring projects via XML import from newer to older versions.
This can lead to undesirable results. Drivers in particular can perform differently
than expected.
For example: A project that has been configured with Engineering Studio version 10.00 and
compiled for 8.00, can also be started with Service Engine8.00.
63 | 168
Version change and build updates
Attention
If possible, the same version of Engineering Studio and Service Engine should
always be used. Configurations of properties that are not available in older
versions can lead to unwanted results in older versions of Service Engine.
Attention: In order to ensure consistency of Service Engine files, all Service Engine files must be
newly created each time this property is changed. The configurations for all drivers are converted.
Settings that do not exist in the configured version are set to the default setting.
In certain configurations, an error may occur when creating Service Engine files:
You can create Service Engine files on a computer with:
Windows 10
operating system and
Office 365.
The creation of Service Engine files has failed and is ended with an error message.
Solution:
1. Go to the folder: %AppData%\Microsoft\FORMS.
2. Delete the file zenone32.box.
3. This file is created new automatically by the zenon.
XML
Data exported in XML is then available for import into later Engineering Studio versions.
64 | 168
Installation of Service Engine
Exception: If data from the RGM is saved in Service Engine directly as an XML file using the export
function, this cannot be reimported.
Recommendation: Avoid transferring projects via XML import from newer to older versions. This
can lead to undesired events in Engineering Studio and Service Engine.
To do this:
Save your project files on an external data medium.
Use Drag&Drop or Copy&Paste to transfer these to your Service Engine device.
or
Get the project from the server on the Service Engine device.
Create a Client using the network topology.
A license is required after installation of Service Engine in order to put it into operation. The license is
transferred with the License Manager.
Note: The storage medium of the device you are operating may stop working after many years of
use in a harsh industrial environment. To avoid loss of data, it may be a good idea to ensure that
there is a redundant environment, for example working with both a Server and a Standby Server.
6.1 Installation
For the installation of Service Engine, start the installation process from your zenon installation
medium.
This process automatically starts when the zenon installation medium is connected and guides you
through the whole installation. Alternatively, it is possible to start the installation by executing the
START.exe file in the root folder of your zenon installation medium.
65 | 168
Installation of Service Engine
Information
You can find further information in the Installation and updates (on page 6)
node in the zenon standard installation (on page 24) node.
Note: For extensive projects or several projects loaded at the same time you will need accordingly
faster/stronger hardware. The minimum requirements can increase as a result of this.
Parameter Minimum requirements Recommended
CPU: Single core with SSE2 support. Quad Core or more cores
Graphics card driver: The graphics card manufacturer's most recent driver.
(DirectX hardware
only)
Operating system: DirectX Hardware and DirectX Software only work on operating systems
with DirectX 11.1 support.
66 | 168
Installation of Service Engine
You can check the DirectX hardware compatibility of the graphics card and the driver with the
dxdiag.exe of the Windows operating system.
As of Windows 8: All supported versions of DirectX are displayed in the Display tab under Feature
Levels. For example, DirectX 11 is displayed as 11.0.
The zenon program files are stored in a folder that is specified during installation.
Additionally the installation asks for a folder for the SQL databases of the projects. The storage
medium for project archiving (SQL, screens etc.) must have enough free space, because all current
and future project data is stored there.
Folder Path
%CommonProgramFiles(x86)%\COPA-DATA
64-bit system:
%CommonProgramFiles%\COPA-DATA
67 | 168
Installation of Service Engine
Folder Path
Engineering Studio generates Service Engine files in the Service Engine folder, or they are transferred
to this folder by means of Remote Transport. The Service Engine folder is created or updated when
compiling a project in Engineering Studio. This folder can be configured in Engineering Studio with
the Service Engine folder project property. With remote transfer, the Service Engine folder is defined
in the Remote Transport settings.
DATA FOLDER
Service Engine saves all data files that were created in Service Engine such as alarm files, archive files
etc. in the data folder. The data folder is created as a subfolder of the Service Engine folder by
default. The folder is automatically assigned the name of the computer that Service Engine is running
on. You can change this save location in the project properties (General/Data folder).
Hint: Never set the data folder to a removable device such as an USB stick or a network device. It is
recommended that the data is recorded locally and backed up externally.
Attention
If the defined path does not exist or is not available, no more data is written
from Service Engine. This means a complete loss of data. Service Engine can still
be operated but must be restarted as soon as the path is available again. The
availability of the folder can be checked via the system driver variable
[Systeminformation] Service Engine folder not available .
68 | 168
Installation of Service Engine
69 | 168
Installation of Service Engine
Examples of this:
Communication with CodeMeter --> USB dongle
Loading VBA or VSTA code
Embedding ActiveX elements in screens
Frequent file access, for example for archiving, CEL, AML...
70 | 168
Installation of Service Engine
Note: There are compatibility problems with Ahnlabs V3 virus scanner. If zenon refuses to start and
displays an error message, put V3 into Game-Mode or uninstall V3.
PORTS USED
For communication within zenon, only TCP ports are used; no UDP ports are used. zenon requires the
following ports in the network:
Service File Task TCP
port
Port numbers can be changed individually via the Listening ports tab in the Startup Tool. In this case,
the measuring range must be adapted manually.
Furthermore, zenon and Report Engine services use a range of default ports.
DEFAULT PORTS
ZENON
Application Startup Tool naming Standard port
71 | 168
Installation of Service Engine
ZENON LOGIC
Application Standard port
Assigned port for zenon Logic or straton depends on the project and 1200 - 1210
service.
4500 - 4510
e.g.: First zenon Logic project used 1200 and 9000, second project 1201
7000 - 7010
and 9001 etc.
9000 - 9010
REPORT ENGINE
Application Standard port
72 | 168
Installation of Service Engine
DRIVERS
Application Standard port
IIOT SERVICES
Application Standard port
Note: zenon drivers that communicate by means of Ethernet use TCP and may therefore require
authorizations in the firewall in this case, depending on the port used. Therefore you must ensure that
you can share the necessary ports.
73 | 168
Installation of Service Engine
The minimum requirements are listed in the following table. These are based on a complete
installation of Service Engine. For extensive projects or several projects loaded at the same time you
will need accordingly faster/stronger hardware. The minimum requirements can increase as a result
of this.
Hardware Minimum requirements Recommended
74 | 168
Installation of Service Engine
Network 64 kBits/s for standard Client/Server projects. 100 Mbits/s full duplex
connection for standard
100 Mbit/s full duplex for redundant
(optional) Client/Server projects.
operation.
Information
You can display many standard paths with the help of the set command:
start the command line (enter cmd in the Windows start area)
enter command set
Press the Enter key to display standard folders for Windows and zenon
Note: As absolute paths differ in different operating system, the paths are displayed as Windows
environment variables in this node. For example %ProgramData% instead of C:\ProgramData.
75 | 168
Installation of Service Engine
SETUP
During setup, paths are set for required third-party software and the Service Engine folder.
Setup requires administrator rights, which also applies to changing the installation paths. You can
read more information about prerequisites in the Installation and updates (on page 6) node, in the
Software and paths for installation and operation (on page 55) node.
SERVICE ENGINE
Service Engine uses the path that is set in zenon6.ini for projects. This path can be set using the
Startup Tool as well as using the Remote Transport from a Engineering Studio.
Object Path
ZENON LOGIC
Paths for zenon Logic are created in the same way as zenon paths.
Each installation contains at least one demo license. This has a pre-defined duration or number of
permitted starts. If these are used up, the component can continue to be used in demo mode, but it
is automatically ended after running for a defined duration however. You can find out what usage
period is available in the License Manager. To do this, open the details of the license in the License
Manager tab.
76 | 168
Installation of Service Engine
COPA-DATA components:
Engineering Studio with Logic Studio as a service
Demo license:
30 Starts, with a duration of 30 minutes each
10 minutes, if the number of demo starts has been used up
Service Engine und Logic Service:
Runtime period for demo licenses:
43200 minutes on hardware computers
1440 minutes for virtual machines
30 minutes if the time allocation has been used up
Logic Studio (as an integrated solution in Engineering Studio)
Term for demo licenses:
256 TAGs
120 minutes
Process Gateway and OPC DA Server
Report Engine
Certificate Management
IIoT API
Identity Service
Demo licenses have their own software dongles. These cannot be used for other licenses. The last
existing demo license cannot be deactivated using the License Manager.
The remaining duration and the number of the starts that are still possible for demo licenses and
demo mode are shown in the start screen and in the version and license information.
77 | 168
Installation of Service Engine
Note: If there is also no demo license available in License Manager, contact your COPA-DATA sales
partner.
Hint
You can use demo licenses to test components and editions. To do this, place
the demo license at the first location of the license list in the License Manager.
This license is used the next time the component is started.
This table only states the figures that are different to the standard installation. The other parameters
correspond to the figures described in the Hardware requirements for Service Engine (on page 18)
node.
Hardware Minimum requirement Recomme
nded
78 | 168
Installation of Service Engine
Attention: If you log historical data (e.g. archived data or alarm/CEL data), there will need to be
sufficient memory available or the configuration has to ensure that the historical data is evacuated or
deleted.
This is also the case if the stated overall CPU load is low.
79 | 168
Installation of Service Engine
Example: The illustration shows a situation in which a logical processor is constantly under a high
load of 80%. However, because the CPU speed has not achieved peak values (2.8 GHz of a nominal
3.30 GHz), this system can be seen as just about powerful enough.
If the computers continually work with a high load, it is recommended that they are operated in an
air-conditioned environment.
Note: In the zenon network, the Standby Server needs the highest CPU capacities, because it must
process both the tasks of the server and those of the client. If a CPU load that is too high is detected,
the zenon project should be scaled to several projects and distributed to further servers. You can find
more information in the Multi-Project Administration node.
80 | 168
Report Engine
5. Click on Uninstall.
6. Follow the uninstall wizard.
7 Report Engine
This section provides information for installing the Report Engine.
Attention
Ensure that you have the appropriate licenses.
Note: For each user, up to three different devices at the same time per license are
permitted.
You can find the hardware and software requirements in the Prerequisites node.
NOTES
Note the following before installation:
Theme Description
User authorizations: Local administrator rights are required for the installation of Report
Engine.
Ensure that, after installation, there is at least one user who can log
into Report Engine.
81 | 168
Report Engine
Theme Description
installation. Report Engine is used by User 2 however. User 1 must add
User 2 in the Reporting Studio after installation.
ISOs and restart: The content of ISO images must be copied to a local storage medium
before the installation and setup can be started from here.
The inclusion of an ISO image and the installation of Report Engine by
the mounted driver cannot be completed successfully if a restart is
required during installation.
Licensing: Licensing is carried out using the License Manager. This can be started
from Reporting Studio or from the operating system directly.
.NET Framework 4.8: .NET Framework 4.8 must already be installed and running on the
target computer in order to carry out the installation successfully.
Otherwise, an error notification from the Report Engine setup will show
up and the installation process will be canceled.
Remote installation: The installation medium must be on the local computer. Network
drives may not be available punctually for a reboot during installation.
For remote installations and virtual installations, copy the content of
the installation medium to a temporary folder on the computer and
start the setup.
Server: The Report Engine server and the Domain Controller must not be
installed on the same computer.
IIoT Services Some components need a connection to the IIoT Services in order to
connect with the Service Engine. You can configure this with the IIoT
Services Connection Wizard.
SQL Server If the SQL Server Management Studio (SSMS) is to be available, it must
Management Studio: be installed manually.
Wizards Several wizards are available for Report Engine. They work with
different Report Engine versions and zenon versions. For details, read
the Report Engine wizard compatibility node.
82 | 168
Report Engine
Notes on update: When switching version, the version of the assemblies contained in the database
is checked before the update of the structure. If the version to be installed is more recent, the SQL
elements contained are updated.
83 | 168
Report Engine
The information in the left window shows you the current status of the installation process. You switch
to the next respective window with the Next button.
You can get help on installation by clicking on the Help symbol at the top right.
1. From the drop-down list at the top right, select the desired language for installation.
The following languages are available:
German
English
Italian
French
Spanish
Czech
Japanese
Korean
Chinese
Russian
Note: The language can only be changed on this page. In the following steps, the language
is shown but can no longer be amended.
2. Clicking on the Next button opens the window with the license conditions.
84 | 168
Report Engine
85 | 168
Report Engine
INSTALLATION PACKAGES
There are 6 collections of packages available for installation. By default, only the pre-selected
components are installed, as well as components that you choose to be installed. You can individually
add or remove further components before installation by using the Customize button.
Note: If an exclamation mark is shown for a package, this indicates incompatibility for the installation.
For example, already-installed components that do not permit the installation of a further version. In
this case, select the adjusted installation.
Package Components
Preselected:
Engineering Studio
Reporting Studio
Device Management Interface components
License Manager
Optional:
Service Engine
(pre-selected)
Report Engine
GraphQL Interface
Smart Client
Smart Server
IIoT Services
Preselected:
Service Engine
Device Management Interface components
License Manager
Optional:
Engineering Studio
Report Engine
GraphQL Interface
86 | 168
Report Engine
Package Components
Reporting Studio
Smart Client
Smart Server
IIoT Services
Reporting & GraphQL Installs Report Engine and the GraphQL Interface.
Preselected:
Report Engine
IIoT Services
License Manager
Optional:
Engineering Studio
Service Engine
GraphQL Interface
Reporting Studio
Smart Client
Smart Server
Device Management Interface components
Preselected:
IIoT Services
License Manager
Optional:
Engineering Studio
87 | 168
Report Engine
Package Components
Service Engine
Report Engine
GraphQL Interface
Reporting Studio
Smart Client
Smart Server
Device Management Interface components
Preselected:
Smart Client
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
GraphQL Interface
Reporting Studio
Smart Server
IIoT Services
Device Management Interface components
Preselected:
Smart Server
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
GraphQL Interface
88 | 168
Report Engine
Package Components
Reporting Studio
Smart Client
IIoT Services
Device Management Interface components
Notes:
1. Packages can only be deselected if they are not required by any other package.
Already-installed packages cannot be deselected.
2. If necessary, configure the paths for installation in the Options tab.
3. The computer may be restarted automatically during installation.
7.1.4 Updates
In zenon, you can change to new versions for example, from 10 to 11. Or you can install updates
within a version.
New versions can be installed in parallel with existing versions. They mainly offer new
features.
Build updates modify a previously installed version. They mainly fix bugs.
89 | 168
Report Engine
With each setup for new build or new versions, you receive a link to the COPA-DATA website with the
changes between the previous version and the newly-installed one.
BUILD UPDATE
An update only updates those files which are more current than the previously installed files. All
projects and individual settings will remain unchanged. Build updates can contain changes for all
installed components. When calling up the setup, the components that have been changed and the
version to which they have been changed are shown.
Note: Build updates may have lower quality assurance standards than release versions.
Note: Build updates can only be installed locally. Installation on network paths (UNC) is not possible.
Note: An upgrade is a higher-level configuration or version. For example, if Analyzer 3.40 and Report
Engine 10 are installed side-by-side, this is not an upgrade.
90 | 168
IIoT Services
8 IIoT Services
In this section you will find information for installing IIoT Services and for the initial setup on Windows
or Docker.
91 | 168
IIoT Services
8.1 Installation
It is recommended to always install the latest IIoT Services release. Existing installations can be upgraded within the recommended update paths (on page
97).
Method of installation Configuration files Configuration files As native Windows application via a .ISO file
Internal services Docker services as a Linux Docker services as a Linux Windows Services
container container
Minimum number of 1 computer for the 1 computer for the IIoT 1 computer for the IIoT Services and all clients (Windows
computers for test IIoT Services and all Services (Linux host host OS)
environment clients (Windows OS)
host OS)
1 computer for
clients (Windows
host OS)
Minimum number of 1 dedicated 1 dedicated computer 1 dedicated computer for the IIoT Services.
computers for produtive computer for the for the IIoT Services.
Separate computers for clients.
environment IIoT Services.
Separate computers
Separate computers for clients.
for clients.
Note: The installation options of IIoT Services are basically the same for the administration in the Service Configuration Studio.
IIoT Services
Example: User A installs IIoT Services using Docker Desktop for Windows.
User A has access to IIoT Services through their user account.
User B does not have access to IIoT Services through their user account
on the same computer.
Hint: You can get around this limitation on a test system by using a shared user
account.
IIoT Services
STANDALONE INSTALLATION
With a standalone installation, other than IIoT Services, no further zenon services are installed.
PARALLEL INSTALLATION
In a parallel installation, both IIoT Services as well as other zenon services are installed on the same
computer.
Parallel installation is only recommended for separately documented cases. An example of this is the
test environment in the Getting Started Guide for the IIoT Services (Docker on Windows) installation
option.
Attention
If you run IIoT Services on a virtual machine with Docker containers: First check
whether AVX commands are supported by the underlying hypervisor.
95 | 168
IIoT Services
Procedure:
Checkbox for upgrading IIoT Services is deactivated:
IIoT Services are not updated. They remain in the version already installed on the system.
Checkbox for upgrading IIoT Services is activated:
IIoT Services are updated to the current version.
The task performs a silent installation of the IIoT Services setup without rebooting.
If the installation is successful, a button for manual reboot is offered at the end.
Do a reboot before starting IIoT Services. This ensures the correct operation of all
services.
8.1.2 Kubernetes
In the Docker installation option, the IIoT Services services are installed in Linux containers. This meets
the requirements for operating IIoT Services in a Kubernetes cluster.
96 | 168
IIoT Services
The configuration files docker-compose.yml and .env provided with IIoT Services can be
used as a foundation for creating Kubernetes configuration files.
You must create customized Kubernetes configuration files for your specific environment.
By using the Kubernetes container management, you can provide, scale and manage containers
automatically.
Hint
The use of IIoT Services in a Kubernetes cluster requires relevant prior
knowledge and is generally recommended only for enterprise environments.
Available configurations will be automatically carried over during the update. It is recommended to
perform a backup of Persistence Instance before every version update.
8.1.4 Compatibility
The IIoT Services typically connect zenon applications and third-party applications to one another. It
must be ensured that all connected applications are compatible with one another.
97 | 168
IIoT Services
All connected zenon applications must be compatible with the installed IIoT Services version.
Information
Backward compatibility:
The IIoT Services support components of the zenon software platform from version
10 and higher.
For existing project configurations in Engineering Studio, it is expressly recommended that the
connections to the IIoT Services and the configuration for individual services are reconfigured.
You can find detailed information on the configuration in the IIoT Services - configuration in
Engineering Studio section.
98 | 168
IIoT Services
If the central IIoT Services URL is entered in a web browser, Service Configuration Studio starts.
The following is applicable in order to work seamlessly with a zenon installation with IIoT Services:
Service Engine or Engineering Studio in version 11 communicate with IIoT Services version
11.2 or higher:
Build 111398 or higher for Service Engine or Engineering Studio must be installed.
The following configurations must also be updated:
Service Node Configuration Tool
When entering a Connection setting, add the /hub-controller sub-path to the central
URL.
Example: https://hostname.local/hub-controller
Attention: From version 12, the Service Node Configuration Tool has been replaced
with the IIoT Services Connection Wizard.
Configuration in Engineering Studio
It is not necessary to specify a subpath for configurations in Engineering Studio. The
same URL is used for Identity Service and Data Storage. Entering the central URL is
sufficient. The URL of the corresponding properties must be configured as URL + port.
Examples:
URL for Identity Service (Network property group, Identity Service, property: URL)
URL for Data Storage (Network property group, Data Storage, property: URL)
hostname.local:9443
99 | 168
IIoT Services
IIoT Services (Docker): The .env file for the new version must be configured with the
necessary values. Afterwards, the IIoT Services are initialized with the
docker-compose.yml.
IIoT Services (Windows-native): Carry out the setup of the new version.
4. Restart the IIoT Services.
Hint
Existing certificate bundles of an old IIoT Services version are usually compatible
with the new version and do not need to be issued again.
The Persistence Instance with all configurations of the IIoT Services is migrated
automatically.
The backup of the Persistence Instance is a security precaution. This means that a
restore is possible in the event of an error.
Please also note the Backup and restore – persistence instance node in order to back up your data
before an update.
The updating of MongoDB for Windows operating systems is fully integrated into the setup. No
additional manual steps are necessary.
The following requirements are necessary for updating MongoDB in a Docker environment:
The tool CopaData.ServiceGrid.Tools.PersistenceManagementCli.exe is installed on the
computer running Docker Desktop for Windows.
The installation is done by running PersistenceManagementCli.x64.msi.
The data are stored in the following folder:
%programfiles%\zenon\zenon Platform 14\IIoT Services\PersistenceManagementCli.
The MongoDB Command Line Database Tools are installed.
100 | 168
IIoT Services
The PATH environment variable has been extended with the path to the MongoDB
Command Line database tools (see previous step), e.g.:
C:\Tools\mongodb-database-tools-windows-x86_64-100.7.0\bin
The current version of the IIoT Services is installed and running.
The .ENV file with the current settings and the docker-compose .YML file for the new version
are available in their own Windows folder.
Port 27017 is available on the computer for connecting to the MongoDB database.
RUN UPDATE
In this case, clear the cache of your web browser. In addition, you can call up the login screen in a
private window of the web browser.
Information
Recommendation: Generally speaking, you should always use the version of IIoT
Services Gateway that corresponds to the installed version of IIoT Services.
101 | 168
IIoT Services
VERSION CHECK
Different versions of IIoT Services and IIoT Services Gateway can communicate with one another on
the basis of a common protocol.
For communication, a check is carried out to see which version of the protocol is used by the
individual components. The check is successful if all components use the same major version of the
protocol. Minor versions can be different. If the major version is different for a component,
communication is no longer possible.
Example:
Components with 20.00 can communicate with 20.10.
Components with 20.10 cannot communicate with 30.10
Information
Valid major version for IIoT Services 14: 20
Note: For versions of the zenon Software Platform prior to version 14, all components must
correspond exactly. This also includes the minor version.
8.1.4.7.1 Installation
For the connection between zenon applications and IIoT Services, the appropriate version of the IIoT
Services Gateway must be selected and installed.
Important: You must always execute both installers (x86 and x64) on each client. This way, you
ensure that these clients can connect to the IIoT Services.
102 | 168
IIoT Services
Tip
Check the installation:
Under Apps and features, the Windows operating system shows a separate
entry for each installed version of the IIoT Services Gateway.
8.1.4.7.2 Configuration
PRIOR CONSIDERATIONS
Several versions of the IIoT Services Gateway can be installed on a computer at the same time. The
system cannot use these versions at the same time however. Only one version of the IIoT Services
Gateway can ever be centrally configured and used.
In practice, several versions of the IIoT Services Gateway are typically installed on a computer at the
same time.
Hint
Use several versions alternately:
You can use several versions of the IIoT Services Gateway alternately on one
computer. For each change, you must configure the respective required version
of the IIoT Services Gateway manually in zenon6.ini.
DEFAULT CONFIGURATION
By default, zenon applications always connect to IIoT Services via the most-recently-installed version
of the IIoT Services Gateway.
The default configuration covers the usual application purposes and therefore does not generally
need to be adjusted manually by the user.
MANUAL CONFIGURATION
Manual configuration of the IIoT Services Gateway by the user is only required in a few cases.
103 | 168
IIoT Services
You can use manual configuration to stipulate to the system which version of the IIoT Services
Gateway zenon applications connect to the IIoT Services.
General requirement:
Several versions of the IIoT Services Gateway are installed on the computer.
Hint
Restart applications and services:
You must restart the following components after manual configuration of the
IIoT Services Gateway:
All zenon apps connected to the IIoT Services: Service Engine, Engineering
Studio and Reporting Studio
The Windows service for the Report Engine service node (if you are using
Report Engine): zanMQTTClientxxxx
The new configuration is only effective after restarting these applications and
services.
[ServiceGridGateway]
Version=LAST
In this configuration, zenon applications connect to the most recent version of the IIoT Services
Gateway that is installed on the computer.
104 | 168
IIoT Services
[ServiceGridGateway]
Version=11_0
SYNTAX
The syntax for manual configuration of the version is "MM_N". The first two figures "MM" define the
version number of the major release. The last figure "N" defines the minor release.
Hint
Configure the figure for the minor release:
The last figure must always be given, including for major releases, such as IIoT
Services Gateway 11 for example. In this case, you must configure the value
"11_0".
105 | 168
© 2024 Ing. Punzenberger COPA-DATA GmbH
Distribution and/or reproduction of this document or parts thereof in any form are permitted solely
with the written permission of the company COPA-DATA. Technical data is only used for product
description and are not guaranteed properties in the legal sense. Subject to change, technical or
otherwise.
IIoT Services
GENERAL HELP
If you cannot find any information you require in this help chapter or can think of anything that you
would like added, please send an email to [email protected].
PROJECT SUPPORT
You can receive support for any real project you may have from our customer service team, which
you can contact via email at [email protected].
Information
These instructions were written on an operating system in English.
107 | 168
IIoT Services
Browser
The following browsers are supported:
Google Chrome
Mozilla Firefox
Microsoft Edge
Apple Safari
Note: Always use the most recent version of the respective browser.
Storage space
For the installation of IIoT Services, at least 6 GB of free storage space is required on the
storage medium.
You can find the required storage space for further zenon components in the Installation and
update (on page 6) section in the Engineering Studio (on page 17) node.
Requirements
Ensure that the following points have been met:
Sufficient resources for the smooth operation of all installed applications (CPU, RAM,
storage space).
Working internet connection.
There must be Windows administrator rights.
Info
This installation can be present on your own computer or on the same
computer as the Windows installation.
108 | 168
IIoT Services
Note: You must select, for the Components step, IIoT Services. The Lizenzmanagement
component is already preselected and cannot be deselected. All other components are
optional.
4. Ensure, after the necessary restarting of the computer, that you can activate (mount) the ISO
file again. Otherwise the installation will not be carried out correctly.
109 | 168
IIoT Services
Note: Do not close the Installation successful window. You still need it to activate the licenses and to
configure IIoT Services.
Attention
If you have nevertheless unintentionally closed the Installation successful
window, you can continue configuration via the Service Configuration Studio
home page and zenon Lizenzmanagement.
* Replace mycomputer.mydomain.com in the URLs with your computer’s FQDN (on page 126).
110 | 168
IIoT Services
You can also use your own, pre-existing zenon licenses. You can find information about licensing in
the Licensing node in the Licensing in a few steps node.
Attention
All zenon components that you use in IIoT Services must also be licensed.
You can find information in relation to this in the Licensing node in the Licensing
components - overview node.
Note: In Service Configuration Studio, you can continue the configuration of the platform at
a later point in time by clicking on the Platform Configuration button. The configuration is
continued from the point where it was stopped.
111 | 168
IIoT Services
6. Click on this button. The creation of the administrator account is thus completed.
Note: This user is also authorized to configure IIoT Services and to create further users
Attention
Note the password in a secure place. If the password is forgotten, there is no
possibility to retrieve it.
112 | 168
IIoT Services
2. Open the downloaded certificate and install it in the Trusted Root Certification Authorities
Store. You can find information on the procedure in the HTTPS-Vertrauensstellung node in
the Vertrauensstellung konfigurieren node.
3. After successful installation of the root certificate, click on the Summary and next steps
button.
Attention
When installing IIoT Services for the first time, your browser will issue a security
warning. At this stage, you cannot verify the certificate yet. To complete the
installation, you must ignore the security warnings this one time.
Note: Also install the root certificate on all clients that you want to connect to IIoT Services.
Click, in the Connect Services window, on the Configure all components and continue button.
Information
In Service Configuration Studio, you have at all times the possibility to connect
further zenon components to IIoT Services.
113 | 168
IIoT Services
114 | 168
IIoT Services
Tip
Create the link for Service Configuration Studio as a bookmark in your browser.
* Replace mycomputer.mydomain.com in the URLs with your computer’s FQDN (on page 126).
8.2.2.4 Configuration
In this node, you can find information on setting up the following components:
1. Engineering Studio
2. Service Engine
3. IIoT API
115 | 168
IIoT Services
5. Click on the ... button . The IIoT Services Connection Wizard is started.
6. Enter the URL of your IIoT Services installation and follow the instructions in the wizard.
Skip the step for Report Engine.
7. Once the IIoT Services Connection Wizard has been successfully configured, you will find the
used IIoT Service URL and the Client-ID in the input field of the connection settings.
Note: You can find further information on the IIoT Services Connection Wizard in the IIoT Services
Connection Wizard node in the Welcome section.
To configure variables:
1. Select the desired variable.
2. Open the Authorization/eSignature group in the properties.
3. Switch to the IIoT Services settings subgroup.
4. Configure the variable for use in IIoT Services.
Configurable properties:
Access permission
Note: For reasons of security, access permission should only be set to the extent that they are
actually required.
116 | 168
IIoT Services
Assign the Administrator user the right to access Service Engine via IIoT Services.
117 | 168
IIoT Services
You have thus added the Administrator user of the Users user group.
You have thus added the resource to the Users user group.
You have thus assigned the necessary role to the resource. Tthe Administrator user can access the
released variables in Service Engine via IIoT API.
118 | 168
IIoT Services
119 | 168
IIoT Services
iiotServicesAPI
dataStorageAPI
Note: You thus determine the scope of the application.
7. Click on the Authorize button.
8. After successful authorization, the system shows the message Authorized.
9. Click on the Close button. Authorization remains active.
Note: If you are authorized, you will see the locked icon.
Info
You can find the complete list of IIoT API error codes in the Troubleshooting
node in the IIoT API error codes node.
SELECT ENDPOINT
1. Ensure that Service Engine has been started.
2. Start Service Configuration Studio.
3. Go to the IIoT API button.
4. Ensure that the user authorization for the IIoT API (on page 119) has been carried out.
120 | 168
IIoT Services
5. Check whether the value REST v1.0 is set as API version in the header.
6. Go to the DataSourcesApi category.
7. Go within the category to the line with the /api/v1/datasources endpoint.
QUERY PROJECT
1. Click on the blue GET button in the line. This expands the endpoint.
2. Click on the Try it out button.
3. Click on the Execute button.
121 | 168
IIoT Services
4. Copy the dataSourceId into a text file. You need this value for the following test.
Note: It is identical to the project ID of your project.
RESULT
The query shows the available project.
OPEN ENDPOINT
1. Ensure that Service Engine is running.
2. Ensure that the user authorization for the IIoT API (on page 119) has been carried out.
3. Start Service Configuration Studio.
4. Go to the IIoT API menu item.
5. Check whether the value REST v1.0 is set as API version in the header.
6. Go to the Variables API category.
7. Go to the the line with the /api/v1/datasources/{dataSourceId}/variables/query} endpoint.
122 | 168
IIoT Services
CONFIGURE QUERY
1. Click on the green Post button.
2. Click on the Try it out button. You have thus activated the input field for the dataSourceId.
3. Enter the dataSourceId (identical to the zenon project ID).
Note: You have thus defined the target project for the query. (Example: Initial query (on
page 125))
4. Change the following points in the Query specification:
a) fields: Replace the predefined "string" with "name", "value".
You thus define the data fields for the query.
b) nameFilter: Replace the predefined "string" with "*".
You use this placeholder to query all values unfiltered. (Example: custom query (on page
125))
5. Then click on Execute to perform the query.
6. The query is acknowledged as follows: "Code 200" "Ok. Returns the queried variables.”
7. The "Response body" section shows the query result. (Example: query result (on page 126)).
123 | 168
IIoT Services
The query result shows the released variables and their variable values from the specified zenon
project.
124 | 168
IIoT Services
Code Sample:
{
"fields": [
"string"
],
"nameFilter": {
"variableNames": [
"string"
]
}}
Initial query
Code Sample:
{
"fields": [
"name", "value"
],
"nameFilter": {
"variableNames": [
"*"
]
}}
Query of variables and variable values
125 | 168
IIoT Services
Code Sample:
{
"variables": [
{
"name": "MY_VARIABLE",
"value": "1"
}
]
}
The shared variable and the variable value are in the "Response body" section.
8.2.2.5 Appendix
In this node, you can find further information on the following topics:
1. Determine FQDN (on page 126)
2. Monitoring services (on page 126)
3. Test environment vs. productive environment (on page 127)
You have now determined the FQDN that you need for use in the IIoT Services.
126 | 168
IIoT Services
2. Enter services.msc.
3. Confirm the entry with Enter. This then opens the console for the administration of services.
4. You can find the services at: zenon <servicename>
5. All zenon services must in principle be in running state.
Note: Data Storage can also be in exited state (because it is not used).
Network topology All applications run on the The applications run on different
same computer. computers.
Passwords It is possible to use For all logins, it is essential that you assign
predefined passwords in a your own secure passwords.
protected test environment.
127 | 168
© 2024 Ing. Punzenberger COPA-DATA GmbH
Distribution and/or reproduction of this document or parts thereof in any form are permitted solely
with the written permission of the company COPA-DATA. Technical data is only used for product
description and are not guaranteed properties in the legal sense. Subject to change, technical or
otherwise.
IIoT Services
GENERAL HELP
If you cannot find any information you require in this help chapter or can think of anything that you
would like added, please send an email to [email protected].
PROJECT SUPPORT
You can receive support for any real project you may have from our customer service team, which
you can contact via email at [email protected].
The container images supplied by COPA-DATA are based on Linux and can be run on Docker for
Windows as well as on Docker for Linux and other container platforms.
The target group is users who have little or no experience with Docker.
Info
These instructions were written on an operating system in English.
129 | 168
IIoT Services
Browser
The following browsers are supported:
Google Chrome
Mozilla Firefox
Microsoft Edge
Apple Safari
Note: Always use the most recent version of the respective browser.
Storage space
For the installation of IIoT Services, at least 6 GB of free storage space is required on the
storage medium.
You can find the required storage space for further zenon components in the Installation and
update (on page 6) section in the Engineering Studio (on page 17) node.
Requirements
Ensure that the following points have been met:
Sufficient resources for the smooth operation of all installed applications (CPU, RAM,
storage space).
The CPU must support hardware virtualization.
CPU hardware virtualization must be activated in the BIOS.
Working internet connection.
Ensure that you have Windows administrator rights on the computer.
Information
In this guide, the entire installation is carried out on one computer.
130 | 168
IIoT Services
Attention
If you run IIoT Services on a virtual machine with Docker containers:
First check whether AVX commands are supported by the underlying hypervisor.
Note: You can obtain the container images from Docker Hub (https://hub.docker.com/u/copadata).
The Hyper-V hardware visualization layer from Microsoft hosts the Windows operating system and
the Windows Subsystem for Linux 2 (WSL 2).
131 | 168
IIoT Services
3. Download the current version of Docker for Windows from the Docker manufacturer’s web
site (docker.com) (https://www.docker.com/).
4. Install Docker for Windows with the WSL2 engine.
5. Follow the link shown to https://aka.ms/wsl2kernel.
6. Download the WSL2 Linux kernel update package for x64 machines.
7. Install the update package
8. Start Docker for Windows.
9. Check whether Docker has been configured for the use of Linux containers. This is the default
setting of Docker.
132 | 168
IIoT Services
You must log in to the COPA-DATA website with your user account for this download.
Registration is free.
Then filter for IIoT Services in Select Category
Download the ZIP file with the appropriate version of IIoT Services (Docker).
1. Create a working directory. This is used to store the Docker configuration files.
Note: Under Windows, you can use C:\iiot-servicesas the working directory.
Note: Under Linux, you can use /home/<user>/iiot-servicesas the working directory.
2. Unzip the ZIP file into your working directory. There you will find the ENV file.
3. Open the ENV file with a text editor.
4. Enter the values for the corresponding configuration entries in the ENV.
5. Save the changes.
6. Check whether the .env file still contains the leading period (".").
Note: Some file operations in the Windows operating system can remove the dot. In this
case, rename the file from "env" to ".env".
Datenbank
Machine settings
133 | 168
IIoT Services
8.2.4.5 Commissioning
Once you have entered the configuration values into the ENV file, you can initialize IIoT Services.
134 | 168
IIoT Services
2. Windows only: If necessary, confirm the Windows firewall enable for IIoT Services.
Note: The firewall blocks the services until they are approved. This can lead to timeouts. The
initialization will fail as a result. In this case, you must restart the initialization.
3. Check if all containers are in the Running state.
docker ps -a
Note: Under Windows, you can also check the state of the container in the Docker
Dashboard.
135 | 168
IIoT Services
5. Enter the password again. If the two entries of the password match, the Create administrator
account button is activated.
6. Click on this button. The creation of the administrator account is thus completed.
Note: This user is also authorized to configure IIoT Services and to create further users
Attention
Note the password in a secure place. If the password is forgotten, there is no
possibility to retrieve it.
136 | 168
IIoT Services
3. After successful installation of the root certificate, click on the Summary and next steps
button.
Attention
When installing IIoT Services for the first time, your browser will issue a security
warning. At this stage, you cannot verify the certificate yet. To complete the
installation, you must ignore the security warning this one time.
Note: Also install the root certificate on all clients that you want to connect to IIoT Services.
137 | 168
IIoT Services
3. You can administer users and authorizations In Service Configuration Studio, you can
administer users, groups and permissions, among other things.
Tip
Create the link for Service Configuration Studio as a bookmark in your browser.
* Replace mycomputer.mydomain.com in the URLs with your computer’s FQDN (on page 126).
8.2.4.7 Configuration
In this section, you will find information for setting up the following components:
1. Engineering Studio
2. Service Engine
3. IIoT API
138 | 168
IIoT Services
Note: You can find further information on the IIoT Services Connection Wizard in the IIoT Services
Connection Wizard node in the Welcome section.
To configure variables:
1. Select the desired variable.
2. Open the Authorization/eSignature group in the properties.
3. Switch to the IIoT Services settings subgroup.
4. Configure the variable for use in IIoT Services.
139 | 168
IIoT Services
Configurable properties:
Access permission
Note: For reasons of security, access permission should only be set to the extent that they are
actually required.
140 | 168
IIoT Services
Assign the Administrator user the right to access Service Engine via IIoT Services.
You have thus added the Administrator user of the Users user group.
141 | 168
IIoT Services
You have thus added the resource to the Users user group.
You have thus assigned the necessary role to the resource. Tthe Administrator user can access the
released variables in Service Engine via IIoT API.
142 | 168
IIoT Services
Info
You can find the complete list of IIoT API error codes in the Troubleshooting
node in the IIoT API error codes node.
143 | 168
IIoT Services
SELECT ENDPOINT
1. Ensure that Service Engine has been started.
2. Start Service Configuration Studio.
3. Go to the IIoT API button.
4. Ensure that the user authorization for the IIoT API (on page 119) has been carried out.
5. Check whether the value REST v1.0 is set as API version in the header.
6. Go to the DataSourcesApi category.
7. Go within the category to the line with the /api/v1/datasources endpoint.
144 | 168
IIoT Services
QUERY PROJECT
1. Click on the blue GET button in the line. This expands the endpoint.
2. Click on the Try it out button.
3. Click on the Execute button.
4. Copy the dataSourceId into a text file. You need this value for the following test.
Note: It is identical to the project ID of your project.
145 | 168
IIoT Services
RESULT
The query shows the available project.
OPEN ENDPOINT
1. Ensure that Service Engine is running.
2. Ensure that the user authorization for the IIoT API (on page 119) has been carried out.
3. Start Service Configuration Studio.
4. Go to the IIoT API menu item.
5. Check whether the value REST v1.0 is set as API version in the header.
6. Go to the Variables API category.
7. Go to the the line with the /api/v1/datasources/{dataSourceId}/variables/query} endpoint.
CONFIGURE QUERY
1. Click on the green Post button.
146 | 168
IIoT Services
2. Click on the Try it out button. You have thus activated the input field for the dataSourceId.
3. Enter the dataSourceId (identical to the zenon project ID).
Note: You have thus defined the target project for the query. (Example: Initial query (on
page 125))
4. Change the following points in the Query specification:
a) fields: Replace the predefined "string" with "name", "value".
You thus define the data fields for the query.
b) nameFilter: Replace the predefined "string" with "*".
You use this placeholder to query all values unfiltered. (Example: custom query (on page
125))
5. Then click on Execute to perform the query.
6. The query is acknowledged as follows: "Code 200" "Ok. Returns the queried variables.”
7. The "Response body" section shows the query result. (Example: query result (on page 126)).
147 | 168
IIoT Services
The query result shows the released variables and their variable values from the specified zenon
project.
148 | 168
IIoT Services
Code Sample:
{
"fields": [
"string"
],
"nameFilter": {
"variableNames": [
"string"
]
}}
Initial query
Code Sample:
{
"fields": [
"name", "value"
],
"nameFilter": {
"variableNames": [
"*"
]
}}
Query of variables and variable values
149 | 168
IIoT Services
Code Sample:
{
"variables": [
{
"name": "MY_VARIABLE",
"value": "1"
}
]
}
The shared variable and the variable value are in the "Response body" section.
8.2.4.8 Appendix
Here you can find information on the following topics:
1. Test environment vs. productive environment (on page 150)
2. Determine FQDN (on page 126)
3. Check CPU hardware virtualization (on page 151)
4. Elevated PowerShell (on page 152)
Network topology All applications run on the The applications run on different computers.
same computer.
The computers are usually distributed across
different remote sites.
150 | 168
IIoT Services
Passwords It is possible to use predefined For all logins, it is essential that you assign
passwords in a protected test your own secure passwords.
environment.
Windows on-premises installation Getting started guide - Windows (on page 107)
Installation of Docker on Windows Follow the instructions in this guide (on page 131)
Installation of Docker on Linux Follow the instructions in this guide (on page 132)
Docker in the cloud Follow the basic steps in this guide and adapt the
configuration files for your preferred cloud platform.
Kubernetes Follow the basic steps in this guide and adapt the
configuration files for Kubernetes.
You have now determined the FQDN that you need for use in the IIoT Services.
151 | 168
IIoT Services
152 | 168
Smart Server & Smart Client
Detailed information on the configurations required to operate the Smart Server and the Smart Client
can be found in the Commissioning Smart Server and Smart Client section.
153 | 168
Service Engine for Linux - installation and putting into operation
ServiceGrid subfolder with the connection details (Certificate Bundles) and relevant
certificates.
zenon6.ini
Note: You can find further information in the Configuration of the zenon6.ini file (on
page 162) section.
LOGIC SERVICE
The files required for Logic Service are installed with the zenon Software Platform.
You can find these files on the Windows computer in the following folder:
%ProgramFiles(x86)%\COPA-DATA\zenon Software Platform 1400\Linux\
OPTIONAL INSTALLATION
154 | 168
Service Engine for Linux - installation and putting into operation
1. Device Management
Transports zenon projects automatically to Linux computers.
2. IIoT API & IIoT Services Gateway (on page 101)
Offers additional functionalities of the supported services via API, e.g. alarm
acknowledgment.
Information
You can find further Linux sources for components of the zenon software
platform on github
(https://github.com/COPA-DATA/service-engine-linux-how-to).
155 | 168
Service Engine for Linux - installation and putting into operation
Perform the following step to install Service Engine on your Linux computer:
This command installs Service Engine and all associated software packages on your Linux computer.
Hint
Make sure that the system also installs the locales-all and iiot-cli-14-0 packages,
as these packages are required for the proper functioning of Service Engine.
These packages are installed by default together with the service-engine
package.
12.1.3 Licensing
A valid license is required for the operation of Service Engine on your Linux computer.
Attention
If you start Service Engine on your Linux computer without a valid license, the
Service Engine start will fail.
As an alternative to the configuration of the .INI file, you can also carry out the licensing with the
command line tool LicenseManagerAutomation. Note that .NET must be installed on the Linux
computer (on page 158) for the execution of this tool.
Information
You can find more detailed information in relation to this in the Licensing via
command line - automation section.
Perform the following steps to license Service Engine on your Linux computer:
156 | 168
Service Engine for Linux - installation and putting into operation
1. Make sure that your Linux computer has a functioning network connection to your license
server.
2. Open the /etc/copa-data/License.ini file, for example, with the nano program or another text
editor.
Execute the following command to open the License.ini file with nano:
sudo nano /etc/copa-data/License.ini
3. Add the necessary licensing configurations to the License.ini file.
Please note: Inputs for Linux are case sensitive
Service Engine-related entries:
[Runtime]
SERIAL0 = Serial number of the license according to the license certificate
SERIAL0_LOCATION = Computer name of the licensing server under which the
licensing server can be reached in the network.
Logic Service-related entries:
[LogicRuntime]
SERIAL0 = Serial number of the license according to the license certificate
SERIAL0_LOCATION = Computer name of the licensing server under which the
licensing server can be reached in the network.
SERIAL0_LOCATION = <machine name of the license server>
Process Gateway-related entries:
[ProcessGateway]
SERIAL0 = Serial number of the license according to the license certificate
SERIAL0_LOCATION = Computer name of the licensing server under which the
licensing server can be reached in the network.
Information
You can find further information in relation to this in the License.ini section.
157 | 168
Service Engine for Linux - installation and putting into operation
158 | 168
Service Engine for Linux - installation and putting into operation
Information
You can find detailed information on .NET for Linux on the Microsoft homepage
(https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#register-the
-microsoft-package-repository).
declare repo_version=$(if command -v lsb_release &> /dev/null; then lsb_release -r -s; else grep -oP
'(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"'; fi)
wget https://packages.microsoft.com/config/ubuntu/$repo_version/packages-microsoft-prod.deb -O
packages-microsoft-prod.deb
# Clean up
rm packages-microsoft-prod.deb
# Update packages
159 | 168
Service Engine for Linux - installation and putting into operation
Attention
We recommend that you only use one repository to administer all your .NET
installations. If you have previously installed .NET with the Ubuntu repository,
you must clear the system of .NET packages and configure the APT so that the
Ubuntu feed is ignored.
Replace [package name] with the name of the .NET package that you would like to install. To install
.NET SDK 8.0, for example, use the command sudo apt install aspnetcore-runtime-8.0.
.NET version Product Type Package name
dotnet --list-runtimes
160 | 168
Service Engine for Linux - installation and putting into operation
If .NET has been installed using an install script, the environment variable must be set accordingly. In
the environment variable, the save location of the .NET installation must be declared.
Additional information:
Install .NET on Linux by using an install script or by extracting binaries
(https://learn.microsoft.com/en-gb/dotnet/core/install/linux-scripted-manual)
Deploy .NET apps on ARM single-board computers
(https://learn.microsoft.com/en-us/dotnet/iot/deployment)
12.3.5 Uninstallation
If you have installed .NET via a package manager, uninstall it in the same way with the following
command:
161 | 168
Service Engine for Linux - installation and putting into operation
Attention
If the project contains content that is not supported on the Linux operating
system, the project will not start correctly. You can find an overview in the Scope
of functions node.
162 | 168
Service Engine for Linux - installation and putting into operation
Attention
When a package is installed, you will be asked if the zenon6.ini file should be
overwritten by a default file. If this file is overwritten, any customizations made
so far to this file must be configured again.
If you already have a running installation of IIoT Services on the Linux computer and this IIoT Services
already uses a trusted certificate, it is not necessary to install the CA certificate again.
Hint
As an alternative to manual installation of a certificate, certificates can also be
generated directly on the Linux client via the IIoT Services CLI.
Carry out the following steps to install the CA certificate of IIoT Services on your Linux computer:
1. Open Service Configuration Studio and download the CA certificate on your local computer.
Note: If your Linux computer has a graphical user interface and a browser, you can
download Service Configuration Studio directly on the Linux computer.
2. Transfer the CA certificate to the Linux computer using a suitable mechanism such as scp, ftp
or network file shares.
Note: You can find further information on scp on the ubuntu manual website
(https://manpages.ubuntu.com/manpages/trusty/man1/scp.1.html).
3. Copy the CA certificate file on the Linux computer to the /usr/local/share/ca-certificates
directory. The name of the certificate file is of no importance.
163 | 168
Service Engine for Linux - installation and putting into operation
Information
You can find detailed information on the certificate handling of IIoT Services in
the Certificate Management and Certificates sections.
Attention
Device Management is not available for Service Engine in Docker environments.
You can find detailed instructions for installation on Linux systems in the Service Engine on Linux
section.
Carry out the following steps to install the service for Device Management (= Device Agent) on a Linux
device:
1. Update the list of the zenon software packages available. Execute the following command:
sudo apt update
2. Install the command line interface on the Linux device. Execute the following command:
sudo apt install iiot-cli-14-0
3. Carry out the installation of the Device Agent service. To do this, enter the following
command:
a) If you have web access for authentication on the Linux device:
iiot-cli setup-agent -u [URL to the IIoT Services]:Port -n [Name of the device]
The name of the device is optional. If the command is entered without a device name,
the pre-configured CLI client is used for the connection (=
DeviceManagementAgentCliClientId).
Example: iiot-cli setup-agent -u https://iiot-docu-v8.testenv.local:9443 -n LinuxDevice
b) If you do not have web access for authentication on the Linux device:
iiot-cli setup-agentsetup-agent -u https://iiot-docu-v8.testenv.local:9443 -n LinuxDevice
--use-device-code
164 | 168
Service Engine for Linux - installation and putting into operation
The --use-device-code command tag is used for authorization via the Identity Service
in Service Configuration Studio.
The URL and code for this authorization is visualized in the command line.
After successful authorization, installation on the Linux device will be complete.
4. If you have installed more than one version of IIoT-CLI , you can switch between the versions.
To do this, execute the following command:
sudo update-alternatives --config iiot-cli
Then follow the instructions of CLI.
5. Check the status of the device agent:
Check the connection status of the device in the user interface of Device Management
device administration in Service Configuration Studio. The Linux device must display the
status Online.
On the Linux computer, the status of the device agent is checked with the following
command:
sudo systemctl status device-agent.service
Information
Ensure that the following language settings (Locales) are installed on your
system:
- en_US.UTF-8
- UTF-8/en_US.UTF-8
- UTF-8
If these Locales are missing, it can happen that the Device Agent is closed with
the following error message:
165 | 168
Service Engine for Linux - installation and putting into operation
You can find detailed information for the transfer of a project from Engineering Studio in the Device
Management node in the IIoT Services - configuration in Engineering Studio node.
Start Service Engine on your Linux client with the following command: sudo systemctl start
serviceEngine
RESTARTING
Enter the following command to restart a running Service Engine on your Linux client: sudo systemctl
restart <service-name>
166 | 168
FAQ
12.6 Uninstallation
Perform the following steps to uninstall the zenon installation on your Linux computer.
1. Go to the appropriate folder. To do this, enter the following command:
sudo apt remove [package name]
Example: sudo apt remove service-engine
This deletes all the content installed with the package.
2. Repeat this step for all installed packages.
3. The zenon6.ini file will not be deleted. Enter the following command to also delete the
configuration file:
sudo apt purge [package name]
13 FAQ
Errors during the installation mostly occur when the replacement or creation of files is prevented by a
virus scanner or by existing installations. Here you can find the most frequent reasons for installation
errors and their solution.
ZENON
Problem Solution
Demo projects were installed but are not Check the computer name. The computer:
displayed. New projects cannot be created.
must not consist of more than 15 characters
must be in accordance with the convention
of the NetBIOS computer name
167 | 168
Technical support
SQL SERVER
GENERAL
Problem Solution
The installation is unsuccessful because the The installation of SQL Server is not possible if the
password does not meet the requirements. security requirements do not permit a password
length of 20 characters (A-Z, a-z, 0-9 and special
characters). Each character can only be used once.
14 Technical support
BASIC SUPPORT
If you need support for the installation, our employees in Technical Consulting would be happy to
help you.
User with basic support can reach the hotline at the following e-mail address:
[email protected].
168 | 168