Click or drag to resize

AddressArea Structure

Describes an addressable area within an address space.

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 17.00.05
Syntax
C#
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public readonly struct AddressArea : IComparable<AddressArea>, 
	IComparable

The AddressArea type exposes the following members.

Constructors
  NameDescription
Public methodAddressArea(AddressArea)
Constructs an addressable area within an address space.
Public methodAddressArea(Int64, Int64)
Constructs an addressable area within an address space.
Top
Properties
  NameDescription
Public propertyBitAddress
Absolute address in the address space (in bits).
Public propertyByteAddress
Absolute address rounded down to the nearest byte.
Public propertyFromBits
Absolute address in the addressable area (in bits).
Public propertyNumBits
Length of this address range (in bits).
Public propertyNumBytes
Number of bytes required to contain this addressable area.
Public propertyString
A string that represents the current addressable area.
Public propertyToBits
Absolute address of the first bit beyond this addressable area.
Public propertyStatic memberZero
The empty address area.
Top
Methods
  NameDescription
Public methodCompareTo(AddressArea)
Compares two addressable areas.
Public methodCompareTo(Object)
Compares two addressable areas.
Public methodToString
Returns a string that represents the current addressable area.
(Overrides ValueTypeToString.)
Top
See Also