r/PLC • u/Guilty_Aardvark494 • 3d ago
PLC Question TIA Portal V20 Openness e Python.NET
TIA Portal V20 Openness – How to configure WinCC Unified encrypted transfer settings?
Hi everyone,
I'm developing an engineering automation tool using TIA Portal V20 Openness with Python.NET.
I'm trying to programmatically configure the following WinCC Unified HMI settings:
- Activate encrypted transfer
- Password and password confirmation
- Allow initial password transfer via unencrypted download
These settings are located under Runtime settings → General.
I've already investigated the public API using reflection, engineering attributes, services and HmiRuntimeSetting properties, but couldn't find the corresponding API members.
I successfully created an HMI from a Master Copy using:
project.Devices.CreateFrom(masterCopy)
However, I would prefer to configure these settings directly instead of maintaining separate templates for every HMI model and firmware version.
Has anyone successfully accessed these settings through Openness V20 or V21?
Is there an undocumented attribute, supported engineering service or alternative approach?
Any C# or Python examples would be greatly appreciated.
Thanks!