PlcNull Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Represents a logical null value which will not inferred with a PLC device.

C#

public sealed class PlcNull : IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize


Inheritance Object › PlcNull


Implements IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize

Remarks

This specific implementation of the IPlcValue interface can be used to reserve PLC values by code or to align structural memory layouts.

Name Description
PlcNull(PlcAddress) Initializes a new instance of the PlcNull class using the specified address.
PlcNull(PlcAddress, Int32) Initializes a new instance of the PlcNull class using the specified address and length.
Name Description
Description Gets or sets more meaningful information about the value and its usage than only using the Name property.
Name Gets the name of the value represented.
Tag Gets or sets the object that contains additional user data about the value.
Type Gets the type of value represented by the PLC value.
Name Description
IsValidType(Object) Determines whether a specified value is acceptable for this PlcNull.
IsValidValue(Object) Determines whether the provided value is accepted for the type of PLC value through basic type checking and also potentially if it is within the allowed range of value for that type.
Relocate(Int32) Relocates the PlcNull using the specified offset. The original PlcNull remains unmodified.
Relocate(Int32, Int32) Relocates the PlcNull using the specified offset. The original PlcNull remains unmodified.
Relocate(Int32, Int32, Int32) Relocates the PlcNull using the specified offset. The original PlcNull remains unmodified.
Relocate(PlcAddress) Relocates the PlcNull using the specified address. The original PlcNull remains unmodified.
ToString Converts the value to its string representation.
ValidateValue(Object) Validates the specified value whether it can be assigned to this PlcValue´1.