Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions 21.0.1765368573

Prefix Reserved
dotnet add package Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions --version 21.0.1765368573
                    
NuGet\Install-Package Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions -Version 21.0.1765368573
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions" Version="21.0.1765368573" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions" Version="21.0.1765368573" />
                    
Directory.Packages.props
<PackageReference Include="Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions --version 21.0.1765368573
                    
#r "nuget: Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions, 21.0.1765368573"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions@21.0.1765368573
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions&version=21.0.1765368573
                    
Install as a Cake Addin
#tool nuget:?package=Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions&version=21.0.1765368573
                    
Install as a Cake Tool

Nuget Nuget
Nuget Nuget Nuget Nuget Nuget Nuget

Includes Nuget Nuget Nuget

TIA Portal Openness SINAMICS Startdrive Extensions

Siemens Collaboration Openness SINAMICS Startdrive Extensions provide extensions for Siemens Engineering SINAMICS Startdrive types to help you write cleaner and more efficient code.

[!WARNING] Important Compatibility Notice

TIA Portal Openness Extensions V21 are only compatible with TIA Portal V21 and above.

TIA Portal V21 introduces breaking changes in the Openness API. Applications built against TIA Portal versions below V21 are not compatible with V21 and above.

Installation

  • install package Siemens.Collaboration.Net.TiaPortal.Openness.Startdrive.Extensions and select a matching version (20.* = TIA Portal V20, 21.* = TIA Portal V21)
  • reload and build the project

Dependencies

By installing this package, the following packages are automatically installed and must not be installed individually:

  • TIA Portal Openness References
    All Siemens.Engineering assemblies are referenced automatically. Please see README for further documentation.

  • TIA Portal Openness Resolver
    Using Api.Global.Openness().Initialize() will resolve all Siemens.Engineering assemblies at runtime. Please see README for further documentation.

  • TIA Portal Openness Extensions
    TIA Portal Openness Core Extensions for Siemens Engineering types. Please see README for further documentation.

Extensions

TIA Portal Openness SINAMICS Startdrive Extensions provide a lot of extensions for various Siemens Engineering SINAMICS Startdrive types. The following chapters are an excerpt of the most frequently used extensions.

All DriveObjectContainer based extensions are also available for OnlineDriveObjectContainer

Common

Get all DriveObjectContainer in this project recursively

IEnumerable<DriveObjectContainer> driveObjectContainers = tiaProject.AllDriveObjectContainers()

Check if the given Device is a SINAMICS Startdrive device

bool isSinamics = device.IsSinamics()

Additional extensions (e.g. IsSinamicsS120) are available respectively

DriveObjectContainer

Get the DriveObjectContainer of a DeviceItem

DriveObjectContainer driveObjectContainer = deviceItem.AsDriveObjectContainer()

Get all DriveObject of a Startdrive device

IEnumerable<DriveObject> driveObjects = drive.DeviceItems.DriveObjects()

Change the telegram number of a telegram

driveObject.ChangeTelegramNumber(5, TelegramType.MainTelegram);
driveObject.ChangeTelegramNumber(31, TelegramType.SafetyTelegram);

Parameters

Get a parameter by symbolic name (can also handle bit parameters)

DriveParameter parameter = driveObject.Parameters.Get("p9316.1")

Get a bit parameter of a DriveParameter

DriveParameter parameter = parameter.Bit(1)

Check if the parameter is a BiCo parameter

bool isBico = parameter.IsBiCo()

Type safe access to common parameters

float referenceSpeed = parameters.P2000().Get();

Type safe access to G120 parameters

var acknowledgeParameter = parameters.Parameters.G120().P3981();
acknowledgeParameter.SetAndWaitUntilReset(1);

TO - DO Connection

Connect DriveObject to a Technological Object

TechnologicalInstanceDB redAxis = ...;
driveObject.ConnectToTechnologyObject(redAxis)

Connect actor / sensor / torque to a drive telegram

TechnologicalInstanceDB redAxis = ...;
Telegram telegram = driveObject.Telegrams.First(x => x.Type == TelegramType.MainTelegram);
redAxis.ConnectActor(telegram);
redAxis.ConnectSensor(...);
redAxis.ConnectTorque(...);
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
21.0.1765368573 148 12/12/2025
20.0.1744193698 769 4/11/2025
19.0.1725480563 678 9/6/2024
18.0.1725480535 275 9/6/2024
18.0.1685432506 681 5/30/2023
18.0.1685386093 316 5/29/2023
17.0.1725480506 226 9/6/2024
17.0.1685432475 369 5/30/2023
16.0.1725480463 213 9/6/2024
16.0.1685432427 278 5/30/2023
16.0.1685386021 276 5/29/2023