PlcBooleanArrayInfo Members

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

PlcBooleanArrayInfo(PlcBooleanArrayType, PlcName)

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

C#

public PlcBooleanArrayInfo(PlcBooleanArrayType type, PlcName name)


Parameters

type PlcBooleanArrayType

The type of array member.

name PlcName

The name of the array member.


Exceptions

ArgumentException

The type is not a one dimensional array type.

ArgumentNullException

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

PlcBooleanArrayInfo(PlcIdentity, PlcName, Int32)

Initializes a new instance of the PlcBooleanArrayInfo class using the specified identity, name and length.

C#

public PlcBooleanArrayInfo(PlcIdentity identity, PlcName name, int length)


Parameters

identity PlcIdentity

The PlcIdentity of the type of array member.

name PlcName

The name of the array member.

length Int32

The length of the array member.


Exceptions

ArgumentException

The identity does not refer to the Bit.

ArgumentNullException

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

ArgumentOutOfRangeException

The length is out of the bounds defined by MinLength and MaxLength.

PlcBooleanArrayInfo(PlcName, Int32)

Initializes a new instance of the PlcBooleanArrayInfo class using the specified name and length.

C#

public PlcBooleanArrayInfo(PlcName name, int length)


Parameters

name PlcName

The name of the array member.

length Int32

The length of the array member.


Exceptions

ArgumentNullException

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

ArgumentOutOfRangeException

The length is out of the bounds defined by MinLength and MaxLength.

MakeAbsoluteMember(PlcIdentity)

Retrieves the PlcBooleanArrayInfo 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.