pascalSCADA OPM: PLCString: Class TPLCString

Pascal SCADA OPM

Class TPLCString

Unit

PLCString

Declaration

type TPLCString = class(TTagBlock, IScanableTagInterface, ITagInterface, ITagString)

Description

TPLCString

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 SetPLCHack(v:Cardinal); override;
Protected procedure SetPLCSlot(v:Cardinal); override;
Protected procedure SetPLCStation(v:Cardinal); override;
Protected procedure SetMemFileDB(v:Cardinal); override;
Protected procedure SetMemAddress(v:Cardinal); override;
Protected procedure SetMemSubElement(v:Cardinal); override;
Protected procedure SetMemReadFunction(v:Cardinal); override;
Protected procedure SetMemWriteFunction(v:Cardinal); override;
Protected procedure SetPath(v:AnsiString); override;
Protected procedure SetProtocolDriver(p:TProtocolDriver); override;
Protected procedure TagCommandCallBack(Values:TArrayOfDouble; ValuesTimeStamp:TDateTime; TagCommand:TTagCommand; LastResult:TProtocolIOResult; Offset:LongInt); override;
Public procedure Read; override;
Public procedure WriteByScan;
Public procedure WriteDirect;

Properties

Public property Value: UTF8String read PValue write SetValue;
Published property StringSize: Cardinal read PStringSize write SetStringSize;
Published property StringType: TPLCStringTypes read PStringType write SetStringType default stC;
Published property ByteSize: Byte read PByteSize write SetByteSize default 8; deprecated;
Published property OnValueChange stored false;
Published property OnValueChangeFirst;
Published property OnValueChangeLast;
Published property OnAsyncStringChange: TASyncStringValueChange read POnAsyncStringValueChange write POnAsyncStringValueChange;
Published property Size write SetDummySize;
Published property SyncWrites;
Published property StringEncoding: TStringEncodings read FStringEncoding write SetStringEncoding default UTF_8;

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 SetPLCHack(v:Cardinal); override;

:

See also
TPLCTag.SetPLCHack
Protected procedure SetPLCSlot(v:Cardinal); override;

:

See also
TPLCTag.SetPLCSlot
Protected procedure SetPLCStation(v:Cardinal); override;

:

See also
TPLCTag.SetPLCStation
Protected procedure SetMemFileDB(v:Cardinal); override;

:

See also
TPLCTag.SetMemFileDB
Protected procedure SetMemAddress(v:Cardinal); override;

:

See also
TPLCTag.SetMemAddress
Protected procedure SetMemSubElement(v:Cardinal); override;

:

See also
TPLCTag.SetMemSubElement
Protected procedure SetMemReadFunction(v:Cardinal); override;

:

See also
TPLCTag.SetMemReadFunction
Protected procedure SetMemWriteFunction(v:Cardinal); override;

:

See also
TPLCTag.SetMemWriteFunction
Protected procedure SetPath(v:AnsiString); override;

:

See also
TPLCTag.SetPath
Protected procedure SetProtocolDriver(p:TProtocolDriver); override;

:

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

:

See also
TPLCTag.TagCommandCallBack
Public procedure Read; override;

:

See also
TTagBlock.Read
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.

Properties

Public property Value: UTF8String read PValue write SetValue;

: Read/writes a string value on your device

Published property StringSize: Cardinal read PStringSize write SetStringSize;

: Maximum length of your string.

Published property StringType: TPLCStringTypes read PStringType write SetStringType default stC;

: String format.

See also
TPLCStringTypes
Published property ByteSize: Byte read PByteSize write SetByteSize default 8; deprecated;

Warning: this symbol is deprecated.

: Size in bits of each character of string.

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 OnAsyncStringChange: TASyncStringValueChange read POnAsyncStringValueChange write POnAsyncStringValueChange;

: Asynchronous event called when the tag value changes.

Published property Size write SetDummySize;

: Real block size (read-only).

Published property SyncWrites;

:

See also
TPLCTag.SyncWrites
Published property StringEncoding: TStringEncodings read FStringEncoding write SetStringEncoding default UTF_8;
 

Generated by PasDoc 0.14.0.