pascalSCADA OPM: IBoxDriver: Class TIBoxDriver

Pascal SCADA OPM

Class TIBoxDriver

Unit

IBoxDriver

Declaration

type TIBoxDriver = class(TProtocolDriver)

Description

Driver de comunicação para dispositivos i-Box.

:

Suporta apenas tags da classe TPLCTagNumber.

Para endereçar um tag, preencha com os seguintes propriedades do tag:

PLCStation: Endereço do i-Box. Aceita valores entre 0 e 255. MemAddress: Registrador (PID) que se deseja ler. Aceita os seguintes valores: 0, 96, 168, 200, 201, 202, 203, 204, 205 e 247.

MemSubElement: Indice do item dentro da estrutura caso o seu registrador seja o 200, 201, 202 e 203. Comeca de zero e varia conforme o PID escolhido.

Hierarchy

Overview

Methods

Protected procedure DoAddTag(TagObj:TTag; TagValid:Boolean); override;
Protected procedure DoDelTag(TagObj:TTag); override;
Protected procedure DoScanRead(Sender:TObject; var NeedSleep:LongInt); override;
Protected procedure DoGetValue(TagRec:TTagRec; var values:TScanReadRec); override;
Protected function DoWrite(const tagrec:TTagRec; const Values:TArrayOfDouble; Sync:Boolean):TProtocolIOResult; override;
Protected function DoRead (const tagrec:TTagRec; out Values:TArrayOfDouble; Sync:Boolean):TProtocolIOResult; override;
Public destructor Destroy; override;

Description

Methods

Protected procedure DoAddTag(TagObj:TTag; TagValid:Boolean); override;

:

See also
TProtocolDriver.DoAddTag
Protected procedure DoDelTag(TagObj:TTag); override;

:

See also
TProtocolDriver.DoDelTag
Protected procedure DoScanRead(Sender:TObject; var NeedSleep:LongInt); override;

:

See also
TProtocolDriver.DoScanRead
Protected procedure DoGetValue(TagRec:TTagRec; var values:TScanReadRec); override;

:

See also
TProtocolDriver.DoGetValue
Protected function DoWrite(const tagrec:TTagRec; const Values:TArrayOfDouble; Sync:Boolean):TProtocolIOResult; override;

:

See also
TProtocolDriver.DoWrite
Protected function DoRead (const tagrec:TTagRec; out Values:TArrayOfDouble; Sync:Boolean):TProtocolIOResult; override;

:

See also
TProtocolDriver.DoRead
Public destructor Destroy; override;

constructor Create(AOwner:TComponent); override;

Author


Generated by PasDoc 0.14.0.