Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcMemberAttribute type exposes the following members.
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
The address
is a null reference (Nothing in Visual Basic).
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
The specified address
is not a valid PLC address.
Gets the address associated with the PlcMember.
C#
public PlcAddress Address { get; }
Property Value
The PlcAddress of the member to that the PlcMemberAttribute does belong.
Gets or sets a value indicating whether the member can be read.
C#
public bool CanRead { get; set; }
Property Value
The value true, if the member can be read; otherwise the value false.
Gets or sets a value indicating whether the member can be written to.
C#
public bool CanWrite { get; set; }
Property Value
The value true, if the member can be written to; otherwise the value false.
Gets or sets the maximum length of the value that can be assigned to the PlcMember.
C#
public int Length { get; set; }
Property Value
The maximum length of the value that can be assigned to the member to that the PlcMemberAttribute does belong.