PlcObject Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Represents an object stored within a programmable logic controller (PLC).

C#

public class PlcObject : IPlcSymbol, IPlcEntity, IPlcRelocatable<PlcObject>, IPlcRelocatable, INotifyPropertyChanged, IDynamicMetaObjectProvider


Inheritance Object › PlcObject


Implements IPlcSymbol, IPlcEntity, IPlcRelocatable<PlcObject>, IPlcRelocatable, INotifyPropertyChanged, IDynamicMetaObjectProvider

Name Description
PlcObject Initializes a new instance of the PlcObject class.
PlcObject(PlcIdentity) Initializes a new instance of the PlcObject class using the specified identity
PlcObject(PlcIdentity, PlcName) Initializes a new instance of the PlcObject class using the specified identity and name.
PlcObject(PlcObjectType) Initializes a new instance of the PlcObject class using the specified type
PlcObject(PlcObjectType, PlcName) Initializes a new instance of the PlcObject class using the specified type and name.
Name Description
MemberChanged Occurs when the value of a PlcMember changed.
PropertyChanged Occurs when a property value changes.
Name Description
Description Gets or sets more meaningful information about the value and its usage than only using the Name property.
Item(PlcMember) Gets or sets the value of the member specified which is associated with this PlcObject.
Item(String) Gets or sets the value of the member with the names specified which are associated with this PlcObject.
Item(String) Gets or sets the value of the member with the name specified which is associated with this PlcObject.
Members Gets a collection of PlcMember associated with the PlcObject.
Name Gets the name of the object.
Tag Gets or sets the object that contains additional user data about the object.
Type Gets the PlcType of the object.
Name Description
OnMemberChanged(PlcMemberChangedEventArgs) Raises the MemberChanged event.
OnPropertyChanged(PropertyChangedEventArgs) Raises the PropertyChanged event.
Relocate(Int32) Relocates the PlcObject using the specified offset. The original PlcObject remains unmodified.
Relocate(Int32, Int32) Relocates the PlcObject using the specified offset. The original PlcObject remains unmodified.
Relocate(Int32, Int32, Int32) Relocates the PlcObject using the specified offset. The original PlcObject remains unmodified.
Relocate(PlcAddress) Relocates the PlcObject using the specified address. The original PlcObject remains unmodified.
RelocateCore(PlcType) Relocates the object to the type specified.
ToString Converts the object to its string representation.