Skip to main content

Deploy and connect from EAE

This article refers to Platform v3.4.0. The current Platform version is v3.4.0.

Overview​

You deploy the Schneider Softdpac Portable Runtime - EAE Security application on a single edge node, and then you add it in EcoStruxure Automation Expert (EAE) as a secured device. The only values you change in Barbara are the administrator account and the plant-network settings; keep the defaults for everything else.

The application must be in your App Library first. If it isn't, add it as described in Add a Marketplace application to your library.

Deploy to your node​

Read the plant network and its gateway from the node's Network card, as in Deploy from the Marketplace. Then, on the node's Workloads tab, select Add Application.

1) Command settings​

Choose Schneider Softdpac Portable Runtime - EAE Security and keep the latest v26.0.26152.07 version. Select Next.

Selecting the Schneider Softdpac Portable Runtime - EAE Security application and its latest version

Selecting the application and version

2) App secrets​

The App secrets are grouped by service. Set the values below and keep the defaults for the rest.

VariableValueTabMeaning
SOFTDPAC_ADMIN_USERadminsoftdpac-initAdministrator account of the runtime, used until you configure security from EAE.
SOFTDPAC_ADMIN_PASSWORDYour passwordsoftdpac-initIts password, at least 8 characters.
BBR_VLAN_SUBNET172.16.50.0/24softdpac-initYour plant network in CIDR.
BBR_VLAN_GATEWAY172.16.50.1softdpac-initYour plant-network gateway.
BBR_VLAN_IP172.16.50.23cs-serverA free IP for the runtime on your LAN, different from the node's own IP.

The gateway and the runtime IP must belong to the range in BBR_VLAN_SUBNET. Leave BBR_VLAN_PARENT set to auto, which picks the interface of the node that has an address in that range; if the node has none, enter the interface yourself, such as eno1.

Keep the default BBR_VLAN_MODE value, macvlan, on physical nodes, and select ipvlan on virtual machines. This edition always needs its own IP on the plant network, because that is where EAE discovers it.

Keep the default Runtime Hostname (BBR_HOSTNAME), softdpac-runtime. It must be at least 12 characters long: with a shorter name, the runtime does not start. Select Next.

App secrets softdpac-init tab with the administrator account and the plant-network settings

App secrets on the softdpac-init tab

App secrets cs-server tab with the runtime IP and the Runtime Hostname

Runtime IP on the cs-server tab

Set your own administrator account

If you leave SOFTDPAC_ADMIN_USER and SOFTDPAC_ADMIN_PASSWORD empty, the account is Schneider's default, installer / Inst@ller1. That password is public, so it is only suitable for a first test: set your own account before production.

3) Compose config​

Keep the default ports 4840 (OPC UA), 51443 (encrypted EAE connection), 51499 (runtime API) and 8080 (the security service EAE configures), and the default volume names. Select Next.

Compose config step showing the default volume names

Keeping the default ports and volumes

4) App config​

This application needs no App config, so leave it empty and send the application with Skip and send.

Verify the workload​

A workload card appears under Workloads. It reads Started with its four services running: softdpac, cs-server, dpws and softdpac-init.

Workload card for the EAE Security edition in the Started state with four running services

Runtime started

Add the runtime in EAE​

In the EAE System editor, drag a Secured Windows Workstation from Workstations & Servers → Generic onto the canvas and give its network interface the runtime IP, 172.16.50.23 in this guide (the BBR_VLAN_IP from the deployment). The workstation already includes the Soft dPAC runtime. The steps are the same as in Model the device for the Portable Runtime edition, with their screenshots.

Use the runtime IP, and do not add a Softdpac Manager

The device address is always the runtime IP, never the IP address of the edge node itself. Barbara installs and manages the runtime, so the application does not include Schneider's Soft dPAC Manager: a Softdpac Manager server that points at the edge node is never detected by EAE, and you do not need one.

Trust the runtime and configure security​

The first time EAE connects, it asks you to trust the device certificate. It is issued by Barbara SoftdPAC CA followed by the name of your edge node. Accept it.

Then log in with the administrator account you set in SOFTDPAC_ADMIN_USER / SOFTDPAC_ADMIN_PASSWORD, and configure the security of your solution from EAE. The accounts of your solution replace the administrator account, and the runtime uses them straight away, also for the HMI.

From then on, you change accounts and roles from EAE, and the administrator account in Barbara is no longer used.

EAE shows "Device cannot be authenticated"?

Check the user name: until you configure security from EAE, log in with the administrator account you set in Barbara; afterwards, with a user of your solution. Check also that the engineering PC reaches the runtime IP: a PC with two network cards may need a route to the plant network.

Using your own certificate authority

If your plant already has a certificate authority, set it in SOFTDPAC_CA_CERT and SOFTDPAC_CA_KEY, each PEM file encoded in base64 and the key without a password. The runtime certificates are then issued by it, so your clients already trust them.

Deploy and run your application​

In the Deploy and Diagnostic editor, log in, clean, deploy and run, as in Connect from EAE and run your application. EAE deploys over the encrypted port 51443.

Deploy and Diagnostic editor in EAE 26 with the secured runtime at 172.16.50.23 logged in with a solution user, deployed and running

The secured runtime (172.16.50.23) logged in with a user of the solution, deployed and running

To keep the application running after a node reboot or a power cut, save the boot project and set Boot → Behavior on reboot to Run or LastState, as described in Keep the application running after a restart.

Connect an OPC UA client​

The runtime includes an OPC UA server on port 4840. In this edition you set up its security in EAE, like the accounts, and nothing about it is configured in Barbara.

Choose the security in EAE​

Select the logical device of the runtime and, in Properties → OPCUA Stack Configuration → Server configuration, open Security. The OPCUA Server Security dialog has two parts:

  • Communication Security lists the encryption your clients may use, for example Basic256Sha256 - Sign and Encrypt.
  • Authentication offers User Authentication, where the client logs in with a user and a password, and Anonymous.
OPCUA Server Security dialog with the communication security policies and the Anonymous and User Authentication options

OPC UA security of the device in EAE

Send it to the runtime​

These settings do not travel with the application deployment. In the Deploy and Diagnostic editor, log in to the device, open its action menu and select Device configuration → Deploy Device Configuration, then Deploy and Restart.

The runtime restarts for a few seconds and comes back with the new settings. EAE loses its session with the device, so log in again to continue.

Log in from your client​

With User Authentication, the client logs in with an account of your EAE solution whose role includes OPC UA access. Until you configure security from EAE, that account is the administrator account you set in Barbara.

The first time, trust the server certificate in your client. It is issued by Barbara SoftdPAC CA followed by the name of your edge node, or by your own certificate authority if you set one. The certificate names the runtime by its IP address, so set Runtime Hostname (BBR_HOSTNAME) to the runtime IP for the endpoint your client receives to match it.

Treat OPC UA access as read and write

Give OPC UA access only to accounts you trust: a client that connects should be considered able to read the values of your application and to write the ones your application makes writable.

What about clients without a user?​

The Portable Runtime edition has an anonymous access setting in Barbara; this edition does not, because its accounts belong to your EAE solution.

Ticking Anonymous in the OPCUA Server Security dialog makes the server offer that option, but the runtime still refuses the session unless the security of your solution has an account for it. Keep Anonymous off unless you need it, and remember that such a client could write as well as read.

Automate delivery​

The Pipeline and Integration modes work as in the Portable Runtime edition: see Deploy your application from a URL (Pipeline mode) and Update your application from a shared volume (Integration mode). In this edition, the default integration volume is eae-softdpac-integration.

An application delivered this way also brings the accounts of its EAE solution.

Sharing a network interface with another application

Two applications can share one network interface only if they use the same plant-network name (BBR_VLAN_NAME), range and gateway. If a workload fails to start with already using parent interface after you removed another application, run Docker Prune Networks from the node's actions menu and start it again.

Summary​

The SoftdPAC runtime is running on your node as a secured device: EAE trusts its certificate, manages its accounts and deploys your IEC 61499 application.

Barbara runs the controller on standard edge hardware and keeps it running across restarts and updates, while security stays in EAE, where your engineers already manage it.