PlcMemberAttribute Members

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

PlcMemberAttribute(PlcAddress)

Initializes a new instance of the PlcMemberAttribute class using the address.

C#

public PlcMemberAttribute(PlcAddress address)


Parameters

address PlcAddress

The PlcAddress to use for the member.


Exceptions

ArgumentNullException

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

PlcMemberAttribute(String)

Initializes a new instance of the PlcMemberAttribute class using the specified address.

C#

public PlcMemberAttribute(string address)


Parameters

address String

The string representation of the PLC address to use for the member.


Exceptions

FormatException

The specified address is not a valid PLC address.

Address

Gets the address associated with the PlcMember.

C#

public PlcAddress Address { get; }


Property Value

PlcAddress

The PlcAddress of the member to that the PlcMemberAttribute does belong.

CanRead

Gets or sets a value indicating whether the member can be read.

C#

public bool CanRead { get; set; }


Property Value

Boolean

The value true, if the member can be read; otherwise the value false.

CanWrite

Gets or sets a value indicating whether the member can be written to.

C#

public bool CanWrite { get; set; }


Property Value

Boolean

The value true, if the member can be written to; otherwise the value false.

Length

Gets or sets the maximum length of the value that can be assigned to the PlcMember.

C#

public int Length { get; set; }


Property Value

Int32

The maximum length of the value that can be assigned to the member to that the PlcMemberAttribute does belong.