Professional Documents
Culture Documents
S7-PLCSIM Advanced in Der Cloud en
S7-PLCSIM Advanced in Der Cloud en
a communication
between two
different S7-PLCSIM
Advanced instances
running on different
virtual computers and
hosted in a cloud
environment?
Siemens
S7-PLCSIM Advanced / V3.0 Up 2 / Cloud Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109793856 Support
This entry originates from Siemens Industry Online Support. The conditions of use
specified there apply (www.siemens.com/nutzungsbedingungen).
Security Siemens provides products and solutions with industrial security functions that support the
Informati secure operation of plants, systems, machines and networks.
on In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions only form one element of such a
concept.
Customers are responsible to prevent unauthorized access to their plants, systems,
machines and networks. Systems, machines and components should only be connected
to the enterprise network or the internet if and to the extent necessary and with
appropriate security measures (e.g. use of firewalls and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into
account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends to apply product updates as soon as available and
to always use the latest product versions. Use of product versions that are no longer
supported, and failure to apply latest updates may increase the customer’s exposure to
cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security
RSS Feed under http://www.siemens.com/industrialsecurity.
© Siemens 2021 All rights reserved
Contents
1 Introduction ........................................................................................................ 3
2 SoftEther ............................................................................................................. 4
2.1 Configuration ........................................................................................ 4
2.2 Server Settings ..................................................................................... 6
2.3 Client .................................................................................................. 18
3 S7-PLCSIM Advanced ..................................................................................... 22
3.1 S7-PLCSIM Advanced Settings on the Client .................................... 22
3.2 S7-PLCSIM Advanced Setting on the TIA Portal Page ..................... 23
4 Download Settings in the TIA Portal .............................................................. 24
1 Introduction
The demand for computing power and computer resources in the field of virtual
commissioning is growing continuously. More and more complex simulations
require splitting the S7-PLCSIM Advanced instances across multiple VM instances.
Therefore, it is a logical step to outsource this required computing power to a cloud
and run the simulation there.
The Layer 2 tunneling protocol is supported with the open source software
"SoftEther VPN".
Requirements
You need S7-PLCSIM Advanced V3.0 Update 2 or higher.
2 SoftEther
2.1 Configuration
For a working configuration, install a SoftEther VPN and a VPN client for each
communication partner.
© Siemens AG 2021 All rights reserved
To reduce the number of VMs required, you can optionally install the VPN server
and the VPN client on the same computer.
© Siemens AG 2021 All rights reserved
2. To configure the server setting, select the setting name in the "Setting Name"
pop-up window, "PLCSIM_Adv", for example.
3. Enable the option "Connect to Localhost".
4. Then select one of the available TCP ports for "Port Number".
Note
To select the "Port Number", you need to enable it in the network.
5. Define the password for the connection to the Administration Mode and confirm
with OK.
© Siemens AG 2021 All rights reserved
6. Open the server settings by double-clicking the newly created setting, in this
example "PLCSIM_Adv".
© Siemens AG 2021 All rights reserved
7. Create a virtual hub in the following dialog. You do this by clicking "Create a
Virtual Hub".
© Siemens AG 2021 All rights reserved
10. Open the Settings of the virtual hub by clicking the "Manage Virtual Hub"
button.
© Siemens AG 2021 All rights reserved
15. Then open the access management by clicking the "Manage Access Lists"
button.
© Siemens AG 2021 All rights reserved
2.3 Client
After successfully configuring the VPN server, you must make the following
configuration settings for each VM that participates in the cross-communication.
1. Start the Client Manager and add a VPN connection.
© Siemens AG 2021 All rights reserved
3. Enter the name of the virtual network adapter in the dialog that opens. The
name of the virtual network adapter must be VPN optionally followed by any
number between 2 and 127.
4. In the pop-up window for "Setting Name" you select the name of the setting, in
this example "PLCSIM_Adv".
5. For "Host Name" you enter the IP address of the server. To do this, select the
IP address of the network interface connected to the cloud network.
6. Select the same port number that was configured in the Server Manager
© Siemens AG 2021 All rights reserved
settings.
7. Select the name of the virtual hub from the "Virtual Hub Name" drop-down
menu, in this example "VPN_PLCSIM_Adv".
8. The VPN network adapter and PLCSIM Advanced must be in the same
subnetwork. Therefore, configure a unique IP address and the corresponding
subnet mask.
© Siemens AG 2021 All rights reserved
9. Connect the client to the VPN network. For this you right-click the created VPN
connection "PLCSIM_Adv” and select the "Connect" in the pop-up menu.
© Siemens AG 2021 All rights reserved
3 S7-PLCSIM Advanced
Install S7-PLCSIM Advanced V3.0 Update 2 or higher on all participating VMs
including the VM that you are using for the TIA Portal Engineering Station.