Click or drag to resize

BuiltinMemAddress Class

A Built-in Memory Server address.
Inheritance Hierarchy

Namespace:  Demo3D.PLC.Comms.Builtin
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public class BuiltinMemAddress : TypedMemoryAddress

The BuiltinMemAddress type exposes the following members.

Constructors
  NameDescription
Public methodBuiltinMemAddress
The default constructor for deserializing addresses.
Public methodBuiltinMemAddress(Int32, Int64, Int64)
Constructs a new address for the Built-in Memory Server.
Public methodBuiltinMemAddress(BuiltinAddressSpace, Int64, DataType, Boolean)
Constructs a new address for the Built-in Memory Server.
Top
Properties
  NameDescription
Public propertyAccessName
Printable string representation of the address.
(Overrides MemoryAddressAccessName.)
Public propertyAddressSpace
The memory address space.
(Inherited from MemoryAddress.)
Public propertyAllowedAccess
The access defined by this address.
(Inherited from StringAddress.)
Public propertyArea
The memory area.
(Inherited from MemoryAddress.)
Public propertyBit
Bit within byte.
(Inherited from MemoryAddress.)
Public propertyBitAddress
Absolute address in the address space (in bits).
(Inherited from MemoryAddress.)
Public propertyByteAddress
Byte offset.
(Inherited from MemoryAddress.)
Public propertyDataType
The data type of the address.
(Inherited from TypedMemoryAddress.)
Public propertyDataTypeName
A string representation of the data type of the address.
(Inherited from TypedMemoryAddress.)
Public propertyElementSizeBits
Size of each element in array (in bits).
(Inherited from TypedMemoryAddress.)
Public propertyElementType
The element .Net type.
(Inherited from TypedMemoryAddress.)
Public propertyElementTypeName
A string representation of the element type.
(Inherited from TypedMemoryAddress.)
Public propertyNumBits
Length of this address range (in bits).
(Inherited from MemoryAddress.)
Public propertyNumBytes
Number of bytes.
(Inherited from MemoryAddress.)
Public propertyNumElements
Number of elements in array.
(Inherited from TypedMemoryAddress.)
Public propertyStronglyTyped
The address is strongly typed.
(Inherited from TypedMemoryAddress.)
Top
Methods
  NameDescription
Public methodCompareTo(MemoryAddress)
Compares two memory addresses.
(Inherited from MemoryAddress.)
Public methodCompareTo(Object)
Compares two memory addresses.
(Inherited from MemoryAddress.)
Public methodContains
Determines whether the current address contains the specified address.
(Inherited from MemoryAddress.)
Public methodEquals(IAddress)
Determines whether the address equals the current address.
(Inherited from StringAddress.)
Public methodEquals(MemoryAddress)
Determines whether the specified address equals the current address.
(Inherited from MemoryAddress.)
Public methodEquals(Object)
Determines whether the specified address equals the current address.
(Inherited from StringAddress.)
Public methodEquals(StringAddress)
Determines whether the specified address equals the current address.
(Inherited from MemoryAddress.)
Public methodGetDataType
Returns the type defined by this address.
(Inherited from TypedMemoryAddress.)
Public methodGetHashCode
Returns a hash code for this address.
(Inherited from MemoryAddress.)
Public methodOverlaps
Determines whether the specified address overlaps the current address at any point.
(Inherited from MemoryAddress.)
Public methodStatic memberParseAddress
Parse a string address.
Public methodToString
Returns a string representation of the current address.
(Inherited from StringAddress.)
Top
Fields
  NameDescription
Protected fieldaccessName
A cache of the string representation of the address.
(Inherited from StringAddress.)
Top
Remarks

A memory server is primarily accessed by address, and so you must provide a class that knows about the memory addresses for the server.

Addresses must inherit from MemoryAddress and include both a pointer into memory and the length of the memory area being addressed. Optionally an address can also define the data type of the data being addressed, in which case it inherits from TypedMemoryAddress.

See Also