PlcAddress Class

Represents an address which refers to a specific data area stored within a programmable logic controller (PLC).

System.Object
IPS7Lnk.Advanced.PlcAddress

Namespace:  IPS7Lnk.Advanced
Assembly:  IPS7LnkNet.Advanced (in IPS7LnkNet.Advanced.dll) Version: 1.0.0.0 (1.7.2.0)

C#

[SerializableAttribute]
public class PlcAddress : IEquatable<PlcAddress>, 
	IComparable, IComparable<PlcAddress>, ISerializable


The PlcAddress type exposes the following members.

—– Name Description
PlcAddress(SerializationInfo, StreamingContext) Initializes a new instance of the PlcAddress class with serialized data.
PlcAddress(PlcOperand, PlcRawType, Int32) Initializes a new instance of the PlcAddress class using the specified operand, rawType and byteNumber.
PlcAddress(PlcOperandType, PlcRawType, Int32) Initializes a new instance of the PlcAddress class using the specified operandType, rawType, and byteNumber.
PlcAddress(PlcOperand, PlcRawType, Int32, Int32) Initializes a new instance of the PlcAddress class using the specified operand, rawType, byteNumber and bitNumber.
PlcAddress(PlcOperandType, PlcRawType, Int32, Int32) Initializes a new instance of the PlcAddress class using the specified operandType, rawType, byteNumber and bitNumber.
PlcAddress(PlcOperandType, Int32, PlcRawType, Int32) Initializes a new instance of the PlcAddress class using the specified operandType, operandNumber, rawType and byteNumber.
PlcAddress(PlcOperandType, Int32, PlcRawType, Int32, Int32) Initializes a new instance of the PlcAddress class using the specified operandType, operandNumber, rawType, byteNumber and bitNumber.

Top

—– Name Description
CompareTo(Object) Compares the current PlcAddress with the other.
CompareTo(PlcAddress) Compares the current PlcAddress with another PlcAddress.
Distinct Returns distinct addresses from the sequence.
Equals(Object) Determines whether the specified other is equal to this PlcAddress.
(Overrides Object.Equals(Object).)
Equals(PlcAddress) Determines whether the specified other is equal to this PlcAddress.
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode Retrieves a hash code for this PlcAddress.
(Overrides Object.GetHashCode().)
GetObjectData Sets the SerializationInfo with information about the exception.
GetType Gets the Type of the current instance.
(Inherited from Object.)
Group Groups the addresses of the sequence according to their Operand.
Max(PlcAddress[]) Returns the maximum address in a sequence of PlcAddress instances.
Max(IEnumerable<PlcAddress>) Returns the maximum address in a sequence of PlcAddress instances.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object.)
Min(PlcAddress[]) Returns the minimum address in a sequence of PlcAddress instances.
Min(IEnumerable<PlcAddress>) Returns the minimum address in a sequence of PlcAddress instances.
Offset(Int32) Creates and returns an adjusted copy of the PlcAddress class. The copy is adjusted by the specified amount. The original PlcAddress class remains unmodified.
Offset(Int32, Int32) Creates and returns an adjusted copy of the PlcAddress class. The copy is adjusted by the specified amount. The original PlcAddress class remains unmodified.
Offset(Int32, Int32, Int32) Creates and returns an adjusted copy of the PlcAddress class. The copy is adjusted by the specified amount. The original PlcAddress class remains unmodified.
Parse Converts an address string to a PlcAddress instance.
ToString() Converts the address to its string representation.
(Overrides Object.ToString().)
ToString(PlcOperandStandard) Converts the address to its string representation using the specified standard.
ToString(PlcOperandStandard, PlcAddressFormat) Converts the address to its string representation using the specified standard and format.
TryParse Determines whether a string is a valid address.

Top

—– Name Description
Equality Returns a value indicating whether two instance of PlcAddress are equal.
GreaterThan Determines whether the first specified PlcAddress object is greater than the second specified PlcAddress object.
GreaterThanOrEqual Determines whether the first specified PlcAddress object is greater than or equal to the second specified PlcAddress object.
Implicit(String to PlcAddress) Converts a string formatted as address to an PlcAddress object.
Inequality Returns a value indicating whether two instances of PlcAddress are not equal.
LessThan Determines whether the first specified PlcAddress object is less than the second specified PlcAddress object.
LessThanOrEqual Determines whether the first specified PlcAddress object is less than or equal to the second PlcAddress object.

Top

—– Name Description
MaxBitNumber Specifies the maximum value that can be assigned to the BitNumber property.
MaxByteNumber Specifies the maximum value that can be assigned to the ByteNumber property.
MaxOperandNumber Specifies the maximum value that can be assigned to the OperandNumber property.
MinBitNumber Specifies the minimum value that can be assigned to the BitNumber property.
MinByteNumber Specifies the minimum value that can be assigned to the ByteNumber property.
MinOperandNumber Specifies the minimum value that can be assigned to the OperandNumber property.

Top

—– Name Description
BitNumber Gets the bit number part of the address, which defines to which bit the address refers.
ByteNumber Gets the byte number part of the address, which defines to which byte the address refers.
Operand Gets the operand part of the address, which defines to which memory block the address refers.
OperandNumber Gets the operand number part of the address, which defines to which operand the address refers.
OperandType Gets the type of operand to which the address refers.
RawType Gets the raw type of to which the address refers.

Top

Reference