PlcObjectInfo Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcObjectInfo type exposes the following members.

PlcObjectInfo(PlcName, PlcObjectType)

Initializes a new instance of the PlcObjectInfo class using the specified name and type.

C#

public PlcObjectInfo(PlcName name, PlcObjectType type)


Parameters

name PlcName

The name of the member.

type PlcObjectType

The type of the member.


Exceptions

ArgumentNullException

The name or type is a null reference (Nothing in Visual Basic).

PlcObjectInfo(PlcName, PlcTypeLayout, IEnumerable<IPlcMemberInfo>)

Initializes a new instance of the PlcObjectInfo class using the specified name and members.

C#

public PlcObjectInfo(PlcName name, PlcTypeLayout layout, IEnumerable<IPlcMemberInfo> members)


Parameters

name PlcName

The name of the member.

layout PlcTypeLayout

An instance of the PlcTypeLayout class which provides the characteristics to use to absolutely align the members.

members IEnumerable<IPlcMemberInfo>

The IPlcMemberInfo objects which are to be associated with the PlcObjectType of the member.


Exceptions

ArgumentNullException

The name, layout or members or one of its items is a null reference (Nothing in Visual Basic).

PlcObjectInfo(PlcName, PlcTypeLayout, IPlcMemberInfo[])

Initializes a new instance of the PlcObjectInfo class using the specified name and members.

C#

public PlcObjectInfo(PlcName name, PlcTypeLayout layout, params IPlcMemberInfo[] members)


Parameters

name PlcName

The name of the member.

layout PlcTypeLayout

An instance of the PlcTypeLayout class which provides the characteristics to use to absolutely align the members.

members IPlcMemberInfo[]

The IPlcMemberInfo objects which are to be associated with the PlcObjectType of the member.


Exceptions

ArgumentNullException

The name, layout or members or one of its items is a null reference (Nothing in Visual Basic).

MakeAbsoluteMember(PlcIdentity)

Retrieves the PlcObjectInfo as an absolute addressable PLC data member.

C#

public override IPlcMemberInfo MakeAbsoluteMember(PlcIdentity identity)


Parameters

identity PlcIdentity

The PlcIdentity to use to define the absolute location. This identity is used to define the basis starting from that the member is be located.


Returns

IPlcMemberInfo

In case there IsAbsolute is equals true the reference to this member; otherwise a new instance of the member which refers to an absolute PlcType.



Exceptions

ArgumentException

The identity specified does not provide the necessary information required to address the type of data.

ArgumentNullException

The identity is a null reference (Nothing in Visual Basic).

RelocateCore(PlcType)

Relocates the member to the type specified.

C#

protected override PlcMemberInfo RelocateCore(PlcType type)


Parameters

type PlcType

The PlcType to that the member is to be relocated.


Returns

PlcMemberInfo

A new instance of the same type as this PLC member instance relocated to the type specified.