Skip to content

Latest commit

 

History

History
164 lines (96 loc) · 8.82 KB

File metadata and controls

164 lines (96 loc) · 8.82 KB

1517V Getting Started: Installation

Overview of example environment

Overview installation

Important

To be able to make the changes to ESXI and the VM described in the next sections, you need to turn off the IEVD VM.

Configure the ESXi settings

The settings described in the following subsections need to be done in the ESXi environment to ensure the best possible performance.

More information can be found in this manual which is used as reference for this section.

Configure power management

To achieve maximum performance and improve stability and reliability, change the power management policy to "High performance." Go to the Navigator in your ESXi Host Client UI -> Host -> Manage -> open the Hardware tab. In this tab click on "Change policy", select "High performance" and click on OK.

ESXi_server_settings_1

Configure PCI passthrough

To meet the realtime requirements, the 1517V must be assigned to a physical network card using PCI passthrough. This feature needs to be enabled on the designated card and then assigned to the 1517V PLC. For more details on how PCI passthrough works, please refer to the provided information.

In your ESXi Host Client UI go to the Navigator -> Host -> Manage and open your hardware tab. In this tab select your network card to use for the new 1517V. And click on "Toggle passthrough".

ESXi_server_settings_2

Configure the ESXi IEVD settings

This chapter deals with the configuration of the IEVD. These changes must be made whenever a new IEVD is used. Make sure, that the IEVD has 2 CPU Cores to ensure the realtime behavior of the 1517V and 6 GB of RAM. The reservation of computation power in MHz can be calculated using the following formula:

Reservation (MHz) = Number of CPU cores of IEVD VM * Frequency of the host CPU (MHz)

Set also the limit to "Unlimited" for save measure.

ESXi_server_settings_SUP_1

ESXi_server_settings_6

Change to the Memory tab and check the check box "Reserve all guest memory (All blocked)". Finally, click on Save.

ESXi_server_settings_6

Proceed by setting up the latency sensitivity.

Latency_sensitivity

Finally, add the network card to your VM as a PCI device.

ESXi_server_settings_3

ESXi_server_settings_4

Configure 1517V NIC isolation on IEVD

Note

NIC is abbreviation of Network Interface Controller.

NIC isolation enables Industrial Edge applications to directly access a network interface within the application container. To set this up, open your IEVD UI and go to Settings -> Connectivity -> LAN Network. Verify which NIC is assigned to the 1517V and take note of its name (in this case, it's "ens192").

IED_resource_manager_NIC_isolation_1

IED_resource_manager_NIC_isolation_2

Then, after closing the LAN Network window change to Resource Manager and see that there isn't any NIC under Enabled Resources -> siemens.com/isolated_network. In order to configure the isolated NIC, click on "+" on the right side.

IED_resource_manager_NIC_isolation_3

Proceed by adding the noted NIC name ("ens192" in this case). Next, add Annotation of this NIC isolation by clicking on another "+" on the right handed side. For the CPU1517V, use the 'vplc_x1' annotation and enter it in the appropriate field. To complete the process, click 'Submit'.

IED_resource_manager_NIC_isolation_4

Note

After isolating the 1517V NIC, the isolated NIC should disappear from the settings.

Install 1517V application and setup its IP address

  1. Install the CPU 1517V app from IEM onto your IEVD, just like any other app. Once the installation is complete, the app will appear in the IEVD user interface:

Installed_apps

Important

If you use IEVD and cannot install the CPU 1517V application, then double check if you have the required HW configuration (at least 2 CPU cores and 6 GB of Memory) and followed to steps in the previous chapter Configure 1517V NIC isolation on IEVD correctly.

  1. Open the app, setup the IP Address and Subnet Mask of Virtual PLC. Finally, click on button "Set IP":

vPLC_IP_address_setup

Configure TIA Portal project

Option 1: Change device

Download the TIA Portal project from miscellenous repository. Open it in TIA Portal V20 and let it upgrade to latest version. Then, right click on PLC and change device to "CPU 1517V-1 PN" (article number "6ES7 587-1AP00-0AB0").

TIA_project_1

TIA_project_2

Option 2: Start from scratch

In case if you configure the 1517V from scratch, click on Add new device and in HW catalog navigate to Controllers -> SIMATIC S7-1500 -> CPU. Select the "CPU 1517V-1 PN" with article number "6ES 587-1AP00-0AB0" and click on OK.

TIA_HW_catalog_1

TIA_HW_catalog_2

Networking configuration

Then, configure the desire IP address of your PLC in its Properties (Devices & Networks -> double click on CPU of PLC) -> PROFINET Interface [X1].

TIA_project_3

Important

If the vPLC should be accessible from different network over router, configure also router in here. So far (in version CPU1517V V2.0.1, May 2025) it is only option to configure router on vPLC.

Download TIA Portal project into 1517V

In TIA Portal select the PLC and press the button for downloading the project into PLC.

Download_TIA_project_3

In the next window select the PG/PC Interface where IEVD is connected and proceed by selecting "Show all compatible devices" as a target device. Then, click on Start search. From the list, choose the accessible device with the same IP address as specified in the CPU 1517V application. Alternatively, you can select the device by its MAC address, which is also mentioned in the IEVD UI. Assigning an IP address is unnecessary at this stage, as TIA will assign one after the first download.

Download_TIA_project_4

Finally, click on Load. After loading, you can run the PLC. Then, you can go online, check if the status of all components is OK.

Download_TIA_project_5

If the PLC's Web server is activated (Properties -> Web server -> General -> "Activate web server on this module" check box is checked) and access to it via PROFINET Interface [X1] is enabled in the Properties of PLC (Properties -> PROFINET Interface [X1] -> Web server access -> "Enable Web server via IP address of this interface" check box is checked), then the Web server should be accessible in the browser.

Download_TIA_project_6

Finally, the changing values of the variables can be checked.

Download_TIA_project_8

To learn how to assign a license to the Industrial Edge Hub and verify a license, please refer to the License chapter.