pascalSCADA OPM: PLCBlockElement: Class TPLCBlockElement

Pascal SCADA OPM

Class TPLCBlockElement

Unit

PLCBlockElement

Declaration

type TPLCBlockElement = class(TPLCNumberMappable, ITagInterface, ITagNumeric)

Description

:

Class of Block element tag. Used to get a single value from a set of values (block).

See also
TPLCBlock

Hierarchy

Overview

Fields

Protected PIndex:Cardinal;

Methods

Protected procedure SetBlock(blk:TPLCBlock);
Protected procedure SetIndex(i:Cardinal); virtual;
Protected function GetVariantValue:Variant;
Protected procedure SetVariantValue(V:Variant);
Protected function IsValidValue(aValue:Variant):Boolean;
Protected function GetValueTimestamp:TDatetime;
Protected procedure WriteFaultCallback(Sender:TObject); virtual;
Protected procedure TagChangeCallback(Sender:TObject); virtual;
Protected procedure RemoveTagCallBack(Sender:TObject); virtual;
Protected function GetValueRaw:Double; override;
Protected procedure SetValueRaw(aValue:Double); override;
Public procedure ScanRead; override;
Public procedure ScanWrite(Values:TArrayOfDouble; Count, Offset:Cardinal); override;
Public procedure Read; override;
Public procedure Write(Values:TArrayOfDouble; Count, Offset:Cardinal); override;

Properties

Published property PLCBlock: TPLCBlock read PBlock write SetBlock;
Published property Index: Cardinal read PIndex write SetIndex;
Published property EnableMaxValue;
Published property EnableMinValue;
Published property MaxValue;
Published property MinValue;

Description

Fields

Protected PIndex:Cardinal;
 

Methods

Protected procedure SetBlock(blk:TPLCBlock);
 
Protected procedure SetIndex(i:Cardinal); virtual;
 
Protected function GetVariantValue:Variant;
 
Protected procedure SetVariantValue(V:Variant);
 
Protected function IsValidValue(aValue:Variant):Boolean;
 
Protected function GetValueTimestamp:TDatetime;
 
Protected procedure WriteFaultCallback(Sender:TObject); virtual;
 
Protected procedure TagChangeCallback(Sender:TObject); virtual;
 
Protected procedure RemoveTagCallBack(Sender:TObject); virtual;
 
Protected function GetValueRaw:Double; override;

:

See also
TPLCNumber.GetValueRaw
Protected procedure SetValueRaw(aValue:Double); override;

:

See also
TPLCNumber.SetValueRaw
Public procedure ScanRead; override;

:

See also
TPLCTag.ScanRead
Public procedure ScanWrite(Values:TArrayOfDouble; Count, Offset:Cardinal); override;

:

See also
TPLCTag.ScanWrite
Public procedure Read; override;

:

See also
TPLCTag.Read
Public procedure Write(Values:TArrayOfDouble; Count, Offset:Cardinal); override;

:

See also
TPLCTag.Write

Properties

Published property PLCBlock: TPLCBlock read PBlock write SetBlock;

: Communication Block of the element.

Published property Index: Cardinal read PIndex write SetIndex;

: Index of tag element on the Tag Block.

Published property EnableMaxValue;

:

See also
TPLCNumber.EnableMaxValue
Published property EnableMinValue;

:

See also
TPLCNumber.EnableMinValue
Published property MaxValue;

:

See also
TPLCNumber.MaxValue
Published property MinValue;

:

See also
TPLCNumber.MinValue

Author


Generated by PasDoc 0.14.0.