<< Click to Display Table of Contents >> Navigation: »No topics above this level« Base.Address Property |
Gets or sets the logical address of this instance.
[Visual Basic]
Public Property Address() As String
Public Get
End Get
Public Set
End Set
End Property
[C#]
public string Address { public get; public set; }
For normal use its not necessary to set this property. In this case the value of the Address property equals the Name property value. Sometimes its useful to use descriptive names for objects on the plc (tasks, variables):
// Creating a variable object with logical name
Variable boiler_1_Temp = new Variable(cpuObj,"boiler_1_Temperature");
// Setting Address property
boiler_1_Temp.Address = "bArray[1].tmp";
boiler_1_Temp.Connect();
...
...
// So the Address property describes the name of the processvariable on the plc
Base Class | BR.AN.PviServices Namespace
Generated from assembly BR.AN.PviServices [8.1.0.4]