2using Siemens.Automation.ModularApplicationCreator.Tia.Openness;
3using Siemens.Automation.ModularApplicationCreator.Tia.Openness.TO;
25 public const string TOType = OpennessConstants.TO_POSITIONING_AXIS;
35 public string Name =
"myTO";
81 foreach (var toInfo
in module.ProvidedTechnologicalObjects)
84 var generatedTO = plcDevice.TechnologicalObjects.GetOrCreateRootTO(toInfo, module);
98 var toPath =
"DynamicLimits.MaxVelocity";
101 toPath =
"VirtualAxis.Mode";
105 toPath =
"DynamicDefaults.Velocity";
This is the main class in which the workflow starts. Here are all sections for creating or generating...
static void CreateTOs(PlcDevice plcDevice, MAC_use_casesEM module)
This function creates all TOs (toInfo objects) that the user added to module.ProvidedTechnologicalObj...
string MaximumVelocity
This attribute is the used MaximumVelocity of the TechnologyObject.
string Name
This attribute is the used name of the TechnologyObject.
const string TOType
This attribute is the used Type of the TechnologyObject.
TechnologyObjectClass()
constructor for deserialization
TechnologicalObjectInfo TechnologicalObject
This object property is the used instance of the class TechnologyObjectInfo.
TechnologyObjectClass(MAC_use_casesEM myModule)
Creates a new object of the class, sets the MainTelegramNumber of the TechnologyObject add it to myMo...
const int MainTelegramNumber
This attribute is the used MainTelegramNumber.
const string MotionControlVersion
This attribute is the used MotionControlVersion.
void ConfigureTO(TechnologicalObjectInfo TechnologicalObject, MAC_use_casesEM myModule)
This function configures the TechnologyObject (toInfo objects) and add it to the myModule....
string VirtualAxisMode
This attribute is the used VirtualAxisMode of the TechnologyObject.