1using Siemens.Automation.ModularApplicationCreator.Tia.Openness;
2using Siemens.Automation.ModularApplicationCreator.Tia.Openness.SoftwareUnit;
21 ISoftwareUnit ssw = plcDevice.SoftwareUnits.GetOrCreateSoftwareUnit(myUnitName, macUseCasesEm);
22 ssw.NamespacePreset = nameSpace;
38 return plcDevice.SoftwareUnits.GetSafetySoftwareUnit();
This is the main class in which the workflow starts. Here are all sections for creating or generating...
static ISafetySoftwareUnit GetSafetySoftwareUnit(PlcDevice plcDevice)
Retrieves the safety software unit from the specified PLC device.
static ISoftwareUnit GetOrCreateSoftwareUnit(PlcDevice plcDevice, string myUnitName, MAC_use_casesEM macUseCasesEm, string nameSpace="")
Retrieves an existing software unit or creates a new one if it doesn't exist in the specified PLC dev...