pascalSCADA OPM: PLCBlock: Class TPLCBlock

Pascal SCADA OPM

Class TPLCBlock

Unit

PLCBlock

Declaration

type TPLCBlock = class(TTagBlock, IScanableTagInterface)

Description

TPLCBlock

Hierarchy

Overview

Methods

Protected procedure AsyncNotifyChange(data:Pointer); override;
Protected function GetValueChangeData: Pointer; override;
Protected procedure ReleaseChangeData(data: Pointer); override;
Protected function IsMyCallBack(Cback: TTagCommandCallBack): Boolean; override;
Protected procedure TagCommandCallBack(Values:TArrayOfDouble; ValuesTimeStamp:TDateTime; TagCommand:TTagCommand; LastResult:TProtocolIOResult; Offset:LongInt); override;
Public procedure WriteByScan;
Public procedure WriteDirect;
Public procedure ScanRead; override;
Public procedure Read; override;
Public procedure ScanWrite(Values:TArrayOfDouble; Count, Offset:Cardinal); override;
Public procedure Write(Values:TArrayOfDouble; Count, Offset:Cardinal); override;
Public procedure MapElements(InsertHook:TAddTagInEditorHook; CreateProc:TCreateTagProc); virtual;

Properties

Public property ValueRaw[index:LongInt]: Double read GetValue write SetValue;
Public property ValuesRaw: TArrayOfDouble read GetValues write SetValues;
Published property Size write SetSize;
Published property OnValueChange stored false;
Published property OnValueChangeFirst;
Published property OnValueChangeLast;
Published property OnUpdate;
Published property OnAsyncValueChange;
Published property SyncWrites;
Published property TagType;
Published property SwapBytes;
Published property SwapWords;
Published property SwapDWords;
Published property TagSizeOnProtocol;
Published property AvgUpdateRate;
Published property Modified;

Description

Methods

Protected procedure AsyncNotifyChange(data:Pointer); override;

:

See also
TTag.AsyncNotifyChange
Protected function GetValueChangeData: Pointer; override;

:

See also
TTag.GetValueChangeData
Protected procedure ReleaseChangeData(data: Pointer); override;

:

See also
TTag.ReleaseChangeData
Protected function IsMyCallBack(Cback: TTagCommandCallBack): Boolean; override;

:

See also
TPLCTag.IsMyCallBack
Protected procedure TagCommandCallBack(Values:TArrayOfDouble; ValuesTimeStamp:TDateTime; TagCommand:TTagCommand; LastResult:TProtocolIOResult; Offset:LongInt); override;

:

See also
TPLCTag.TagCommandCallBack
Public procedure WriteByScan;

: WriteByScan writes asynchronously the values stored in the block. Only works if AutoWrite = False.

Public procedure WriteDirect;

: WriteDirect writes synchronously the values stored in the block. Only works if AutoWrite = False.

Public procedure ScanRead; override;

:

See also
TPLCTag.ScanRead
Public procedure Read; override;

:

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

:

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

:

See also
TPLCTag.Write
Public procedure MapElements(InsertHook:TAddTagInEditorHook; CreateProc:TCreateTagProc); virtual;

: Opens the block/struct item mapper wizard.

Properties

Public property ValueRaw[index:LongInt]: Double read GetValue write SetValue;

: Read/Writes a raw value asynchronously on a block item.

Public property ValuesRaw: TArrayOfDouble read GetValues write SetValues;

: Read/Writes a raw values asynchronously on block.

Published property Size write SetSize;

: Number of elements of the block.

Published property OnValueChange stored false;

:

See also
TTag.OnValueChange
Published property OnValueChangeFirst;

:

See also
TTag.OnValueChangeFirst
Published property OnValueChangeLast;

:

See also
TTag.OnValueChangeLast
Published property OnUpdate;

:

See also
TTag.OnUpdate
Published property OnAsyncValueChange;

:

See also
TTag.OnAsyncValueChange
Published property SyncWrites;

:

See also
TPLCTag.SyncWrites
Published property TagType;

:

See also
TPLCTag.TagType
Published property SwapBytes;

:

See also
TPLCTag.SwapBytes
Published property SwapWords;

:

See also
TPLCTag.SwapWords
Published property SwapDWords;

:

See also
TPLCTag.SwapDWords
Published property TagSizeOnProtocol;

:

See also
TPLCTag.TagSizeOnProtocol
Published property AvgUpdateRate;

:

See also
TPLCTag.AvgUpdateRate
Published property Modified;

:

See also
TPLCTag.Modified

Generated by PasDoc 0.14.0.