Copyright: Generated with JADD - Just Another DelphiDoc. Compiled at   Wednesday, March 08, 2006 10:41:39


Legend for List of Fields

 = private

 = protected

 = public

 = published

 = automated

 = deprecated

 = library specific

 = platform specific


Legend for List of Fields

 = private

 = protected

 = public

 = published

 = automated

 = read-only

 = deprecated

 = library specific

 = platform specific


Legend for List of Fields

 = private

 = protected

 = public

 = published

 = automated

 = abstract

 = deprecated

 = library specific

 = platform specific


Legend for List of Identifiers in Files

 = unit implementation

 = unit interface

 = deprecated

 = library specific

 = platform specific


Legend for List of Record-like Types

 = unit implementation

 = unit interface

 = deprecated

 = library specific

 = platform specific


List of Files
Records   Objects   Classes   Interfaces   Dispatch-Interfaces   Files

Independent Units

NoDaveComponent

Figure-Source: UnitUse.fig
WMF-File: UnitUse.wmf


NoDaveComponent.BAF
Unit NoDaveComponent   Constants

BAF =  TSzlLed( 8)


NoDaveComponent.BUS1F
Unit NoDaveComponent   Constants

BUS1F =  TSzlLed( 11)


NoDaveComponent.BUS2F
Unit NoDaveComponent   Constants

BUS2F =  TSzlLed( 12)


NoDaveComponent.CRST
Unit NoDaveComponent   Constants

CRST =  TSzlLed( 7)


NoDaveComponent.daveAnaIn
Unit NoDaveComponent   Constants

daveAnaIn =  TNoDaveArea( 2)

Analog input words of 200 family

Used in

TNoDave.AreaCode


NoDaveComponent.daveAnaOut
Unit NoDaveComponent   Constants

daveAnaOut =  TNoDaveArea( 3)

Analog output words of 200 family

Used in

TNoDave.AreaCode


NoDaveComponent.daveComSpeed115_2k
Unit NoDaveComponent   Constants

daveComSpeed115_2k =  TNoDaveComSpeed( 4)

Used in

TNoDave.DoConnect


NoDaveComponent.daveComSpeed19_2k
Unit NoDaveComponent   Constants

daveComSpeed19_2k =  TNoDaveComSpeed( 1)

Used in

TNoDave.DoConnect


NoDaveComponent.daveComSpeed38_4k
Unit NoDaveComponent   Constants

daveComSpeed38_4k =  TNoDaveComSpeed( 2)

Used in

TNoDave.Create, TNoDave.DoConnect


NoDaveComponent.daveComSpeed57_6k
Unit NoDaveComponent   Constants

daveComSpeed57_6k =  TNoDaveComSpeed( 3)

Used in

TNoDave.DoConnect


NoDaveComponent.daveComSpeed9_6k
Unit NoDaveComponent   Constants

daveComSpeed9_6k =  TNoDaveComSpeed( 0)

Used in

TNoDave.DoConnect


NoDaveComponent.daveCounter
Unit NoDaveComponent   Constants

daveCounter =  TNoDaveArea( 11)

Counter

Used in

TNoDave.AreaCode


NoDaveComponent.daveDB
Unit NoDaveComponent   Constants

daveDB =  TNoDaveArea( 7)

Data Blocks (global data)

Used in

TNoDave.AreaCode, TNoDave.Create


NoDaveComponent.daveDebugByte
Unit NoDaveComponent   Constants

daveDebugByte =  TNoDaveDebugOption( 7)


NoDaveComponent.daveDebugCompare
Unit NoDaveComponent   Constants

daveDebugCompare =  TNoDaveDebugOption( 8)


NoDaveComponent.daveDebugConnect
Unit NoDaveComponent   Constants

daveDebugConnect =  TNoDaveDebugOption( 5)


NoDaveComponent.daveDebugExchange
Unit NoDaveComponent   Constants

daveDebugExchange =  TNoDaveDebugOption( 9)


NoDaveComponent.daveDebugInitAdapter
Unit NoDaveComponent   Constants

daveDebugInitAdapter =  TNoDaveDebugOption( 4)


NoDaveComponent.daveDebugListReachables
Unit NoDaveComponent   Constants

daveDebugListReachables =  TNoDaveDebugOption( 3)


NoDaveComponent.daveDebugMPI
Unit NoDaveComponent   Constants

daveDebugMPI =  TNoDaveDebugOption( 12)


NoDaveComponent.daveDebugPacket
Unit NoDaveComponent   Constants

daveDebugPacket =  TNoDaveDebugOption( 6)


NoDaveComponent.daveDebugPassive
Unit NoDaveComponent   Constants

daveDebugPassive =  TNoDaveDebugOption( 14)


NoDaveComponent.daveDebugPDU
Unit NoDaveComponent   Constants

daveDebugPDU =  TNoDaveDebugOption( 10)


NoDaveComponent.daveDebugPrintErrors
Unit NoDaveComponent   Constants

daveDebugPrintErrors =  TNoDaveDebugOption( 13)


NoDaveComponent.daveDebugRawRead
Unit NoDaveComponent   Constants

daveDebugRawRead =  TNoDaveDebugOption( 0)


NoDaveComponent.daveDebugRawWrite
Unit NoDaveComponent   Constants

daveDebugRawWrite =  TNoDaveDebugOption( 2)


NoDaveComponent.daveDebugSpecialChars
Unit NoDaveComponent   Constants

daveDebugSpecialChars =  TNoDaveDebugOption( 1)


NoDaveComponent.daveDebugUpload
Unit NoDaveComponent   Constants

daveDebugUpload =  TNoDaveDebugOption( 11)


NoDaveComponent.daveDI
Unit NoDaveComponent   Constants

daveDI =  TNoDaveArea( 8)

Data Blocks (instance data) ?

Used in

TNoDave.AreaCode


NoDaveComponent.daveFlags
Unit NoDaveComponent   Constants

daveFlags =  TNoDaveArea( 6)

Flags/Markers

Used in

TNoDave.AreaCode


NoDaveComponent.daveInputs
Unit NoDaveComponent   Constants

daveInputs =  TNoDaveArea( 4)

Input memory image

Used in

TNoDave.AreaCode


NoDaveComponent.daveLocal
Unit NoDaveComponent   Constants

daveLocal =  TNoDaveArea( 9)

Data Blocks (local data) ?

Used in

TNoDave.AreaCode


NoDaveComponent.daveOutputs
Unit NoDaveComponent   Constants

daveOutputs =  TNoDaveArea( 5)

Output memory image

Used in

TNoDave.AreaCode


NoDaveComponent.daveP
Unit NoDaveComponent   Constants

daveP =  TNoDaveArea( 13)

Peripherie Input/Output

Used in

TNoDave.AreaCode


NoDaveComponent.daveProtoAS511
Unit NoDaveComponent   Constants

daveProtoAS511 =  TNoDaveProtocol( 10)

S5 via programmer-port

Used in

TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoIBH
Unit NoDaveComponent   Constants

daveProtoIBH =  TNoDaveProtocol( 7)

IBH-Link TCP/MPI-Adapter

Used in

TNoDave.DoConnect, TNoDave.ProtCode, TNoDave.ResetInterface


NoDaveComponent.daveProtoIBH_PPI
Unit NoDaveComponent   Constants

daveProtoIBH_PPI =  TNoDaveProtocol( 8)

IBH-Link TCP/MPI-Adapter with PPI-Protocol

Used in

TNoDave.DoConnect, TNoDave.ProtCode, TNoDave.ResetInterface


NoDaveComponent.daveProtoISOTCP
Unit NoDaveComponent   Constants

daveProtoISOTCP =  TNoDaveProtocol( 5)

ISO over TCP

Used in

TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoISOTCP243
Unit NoDaveComponent   Constants

daveProtoISOTCP243 =  TNoDaveProtocol( 6)

ISO over TCP (for CP243)

Used in

TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoMPI
Unit NoDaveComponent   Constants

daveProtoMPI =  TNoDaveProtocol( 0)

MPI-Protocol

Used in

TNoDave.Create, TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoMPI2
Unit NoDaveComponent   Constants

daveProtoMPI2 =  TNoDaveProtocol( 1)

MPI-Protocol (Andrew's version without STX)

Used in

TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoMPI3
Unit NoDaveComponent   Constants

daveProtoMPI3 =  TNoDaveProtocol( 2)

MPI-Protocol (Step 7 Version version)

Used in

TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoMPI4
Unit NoDaveComponent   Constants

daveProtoMPI4 =  TNoDaveProtocol( 3)

MPI-Protocol (Andrew's version with STX)

Used in

TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoNLPro
Unit NoDaveComponent   Constants

daveProtoNLPro =  TNoDaveProtocol( 11)

Deltalogic NetLink-PRO TCP/MPI-Adapter

Used in

TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoPPI
Unit NoDaveComponent   Constants

daveProtoPPI =  TNoDaveProtocol( 4)

PPI-Protocol

Used in

TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveProtoS7Online
Unit NoDaveComponent   Constants

daveProtoS7Online =  TNoDaveProtocol( 9)

use S7Onlinx.dll for transport via Siemens CP

Used in

TNoDave.Disconnect, TNoDave.DoConnect, TNoDave.ProtCode


NoDaveComponent.daveSpeed1500k
Unit NoDaveComponent   Constants

daveSpeed1500k =  TNoDaveSpeed( 4)


NoDaveComponent.daveSpeed187k
Unit NoDaveComponent   Constants

daveSpeed187k =  TNoDaveSpeed( 2)

Used in

TNoDave.Create


NoDaveComponent.daveSpeed19k
Unit NoDaveComponent   Constants

daveSpeed19k =  TNoDaveSpeed( 1)


NoDaveComponent.daveSpeed45k
Unit NoDaveComponent   Constants

daveSpeed45k =  TNoDaveSpeed( 5)


NoDaveComponent.daveSpeed500k
Unit NoDaveComponent   Constants

daveSpeed500k =  TNoDaveSpeed( 3)


NoDaveComponent.daveSpeed93k
Unit NoDaveComponent   Constants

daveSpeed93k =  TNoDaveSpeed( 6)


NoDaveComponent.daveSpeed9k
Unit NoDaveComponent   Constants

daveSpeed9k =  TNoDaveSpeed( 0)


NoDaveComponent.daveSysFlags
Unit NoDaveComponent   Constants

daveSysFlags =  TNoDaveArea( 1)

System flag area of 200 family

Used in

TNoDave.AreaCode


NoDaveComponent.daveSysInfo
Unit NoDaveComponent   Constants

daveSysInfo =  TNoDaveArea( 0)

System information of 200 family

Used in

TNoDave.AreaCode


NoDaveComponent.daveTimer
Unit NoDaveComponent   Constants

daveTimer =  TNoDaveArea( 12)

Timer

Used in

TNoDave.AreaCode


NoDaveComponent.daveV
Unit NoDaveComponent   Constants

daveV =  TNoDaveArea( 10)

unknown Area

Used in

TNoDave.AreaCode


NoDaveComponent.EXTF
Unit NoDaveComponent   Constants

EXTF =  TSzlLed( 3)


NoDaveComponent.FRCE
Unit NoDaveComponent   Constants

FRCE =  TSzlLed( 6)


NoDaveComponent.IFM1F
Unit NoDaveComponent   Constants

IFM1F =  TSzlLed( 18)


NoDaveComponent.IFM2F
Unit NoDaveComponent   Constants

IFM2F =  TSzlLed( 19)


NoDaveComponent.INTF
Unit NoDaveComponent   Constants

INTF =  TSzlLed( 2)


NoDaveComponent.MSTR
Unit NoDaveComponent   Constants

MSTR =  TSzlLed( 14)


NoDaveComponent.NONE
Unit NoDaveComponent   Constants

NONE =  TSzlLed( 0)


NoDaveComponent.RACK0
Unit NoDaveComponent   Constants

RACK0 =  TSzlLed( 15)


NoDaveComponent.RACK1
Unit NoDaveComponent   Constants

RACK1 =  TSzlLed( 16)


NoDaveComponent.RACK2
Unit NoDaveComponent   Constants

RACK2 =  TSzlLed( 17)


NoDaveComponent.REDF
Unit NoDaveComponent   Constants

REDF =  TSzlLed( 13)


NoDaveComponent.RUN
Unit NoDaveComponent   Constants

RUN =  TSzlLed( 4)


NoDaveComponent.SF
Unit NoDaveComponent   Constants

SF =  TSzlLed( 1)


NoDaveComponent.STOP
Unit NoDaveComponent   Constants

STOP =  TSzlLed( 5)


NoDaveComponent.USR
Unit NoDaveComponent   Constants

USR =  TSzlLed( 9)


NoDaveComponent.USR1
Unit NoDaveComponent   Constants

USR1 =  TSzlLed( 10)


Constants of Unit NoDaveComponent
Unit NoDaveComponent Legend

Constants of Unit NoDaveComponent

BAF
BUS1F
BUS2F
CRST
daveAnaIn
daveAnaOut
daveComSpeed115_2k
daveComSpeed19_2k
daveComSpeed38_4k
daveComSpeed57_6k
daveComSpeed9_6k
daveCounter
daveDB
daveDebugByte
daveDebugCompare
daveDebugConnect
daveDebugExchange
daveDebugInitAdapter
daveDebugListReachables
daveDebugMPI
daveDebugPacket
daveDebugPassive
daveDebugPDU
daveDebugPrintErrors
daveDebugRawRead
daveDebugRawWrite
daveDebugSpecialChars
daveDebugUpload
daveDI
daveFlags
daveInputs
daveLocal
daveOutputs
daveP
daveProtoAS511
daveProtoIBH
daveProtoIBH_PPI
daveProtoISOTCP
daveProtoISOTCP243
daveProtoMPI
daveProtoMPI2
daveProtoMPI3
daveProtoMPI4
daveProtoNLPro
daveProtoPPI
daveProtoS7Online
daveSpeed1500k
daveSpeed187k
daveSpeed19k
daveSpeed45k
daveSpeed500k
daveSpeed93k
daveSpeed9k
daveSysFlags
daveSysInfo
daveTimer
daveV
EXTF
FRCE
IFM1F
IFM2F
INTF
MSTR
NONE
RACK0
RACK1
RACK2
REDF
RUN
SF
STOP
USR
USR1


NoDaveComponent.Register
Unit NoDaveComponent   Functions

procedure Register

Installation of TNoDave in the component palette


Functions of Unit NoDaveComponent
Unit NoDaveComponent Legend

Functions of Unit NoDaveComponent

Register


NoDaveComponent.PSzlBGDiagInfo
Unit NoDaveComponent   Simple Types

PSzlBGDiagInfo =  ^TSzlBGDiagInfo


NoDaveComponent.PSzlBGIdent
Unit NoDaveComponent   Simple Types

PSzlBGIdent =  ^TSzlBGIdent


NoDaveComponent.PSzlBGState
Unit NoDaveComponent   Simple Types

PSzlBGState =  ^TSzlBGState


NoDaveComponent.PSzlBlockType
Unit NoDaveComponent   Simple Types

PSzlBlockType = TSzlBlockType


NoDaveComponent.PSzlDiagMessage
Unit NoDaveComponent   Simple Types

PSzlDiagMessage =  ^TSzlDiagMessage


NoDaveComponent.PSzlLedState
Unit NoDaveComponent   Simple Types

PSzlLedState =  ^TSzlLedState


NoDaveComponent.PSzlStationState
Unit NoDaveComponent   Simple Types

PSzlStationState =  ^TSzlStationState


NoDaveComponent.PSzlSystemMemory
Unit NoDaveComponent   Simple Types

PSzlSystemMemory =  ^TSzlSystemMemory


NoDaveComponent.PSzlUserMemory
Unit NoDaveComponent   Simple Types

PSzlUserMemory =  ^TSzlUserMemory


NoDaveComponent.TNoDaveArea
Unit NoDaveComponent   Simple Types

TNoDaveArea = ( daveSysInfo, daveSysFlags, daveAnaIn, daveAnaOut, daveInputs, daveOutputs, daveFlags, daveDB, daveDI, daveLocal, daveV, daveCounter, daveTimer, daveP)

The area of the PLC-Data for the TNoDave-Component.


NoDaveComponent.TNoDaveComSpeed
Unit NoDaveComponent   Simple Types

TNoDaveComSpeed = ( daveComSpeed9_6k, daveComSpeed19_2k, daveComSpeed38_4k, daveComSpeed57_6k, daveComSpeed115_2k)

The speed of the COM-Port for the TNoDave-Component.


NoDaveComponent.TNoDaveDebugOption
Unit NoDaveComponent   Simple Types

TNoDaveDebugOption = ( daveDebugRawRead, daveDebugSpecialChars, daveDebugRawWrite, daveDebugListReachables, daveDebugInitAdapter, daveDebugConnect, daveDebugPacket, daveDebugByte, daveDebugCompare, daveDebugExchange, daveDebugPDU, daveDebugUpload, daveDebugMPI, daveDebugPrintErrors, daveDebugPassive)

The debug-options for the libnodave.dll


NoDaveComponent.TNoDaveDebugOptions
Unit NoDaveComponent   Simple Types

TNoDaveDebugOptions = set of TNoDaveDebugOption


NoDaveComponent.TNoDaveOnErrorEvent
Unit NoDaveComponent   Simple Types

TNoDaveOnErrorEvent = procedure (Sender: TComponent; ErrorMsg: String) of object

This is the type of the Event-Handler for the OnError-Event of the TNoDave component.

Parameters

Sender

The TNoDave-instance which is the source of the event.

ErrorMsg

A clear text message describing the error.


NoDaveComponent.TNoDaveProtocol
Unit NoDaveComponent   Simple Types

TNoDaveProtocol = ( daveProtoMPI, daveProtoMPI2, daveProtoMPI3, daveProtoMPI4, daveProtoPPI, daveProtoISOTCP, daveProtoISOTCP243, daveProtoIBH, daveProtoIBH_PPI, daveProtoS7Online, daveProtoAS511, daveProtoNLPro)

The type of the communication-protocol for the TNoDave-Component.


NoDaveComponent.TNoDaveReachablePartnersMPI
Unit NoDaveComponent   Simple Types

TNoDaveReachablePartnersMPI = array [ 0 .. 126] of Boolean

List of reachable Partners in the MPI-Network, True = Station is available at this address.


NoDaveComponent.TNoDaveSpeed
Unit NoDaveComponent   Simple Types

TNoDaveSpeed = ( daveSpeed9k, daveSpeed19k, daveSpeed187k, daveSpeed500k, daveSpeed1500k, daveSpeed45k, daveSpeed93k)

The speed of the MPI-protocol for the TNoDave-Component.


NoDaveComponent.TSzlLed
Unit NoDaveComponent   Simple Types

TSzlLed = ( NONE, SF, INTF, EXTF, RUN, STOP, FRCE, CRST, BAF, USR, USR1, BUS1F, BUS2F, REDF, MSTR, RACK0, RACK1, RACK2, IFM1F, IFM2F)


Simple Types of Unit NoDaveComponent
Unit NoDaveComponent Legend

Simple Types of Unit NoDaveComponent

PSzlBGDiagInfo
PSzlBGIdent
PSzlBGState
PSzlBlockType
PSzlDiagMessage
PSzlLedState
PSzlStationState
PSzlSystemMemory
PSzlUserMemory
TNoDave
TNoDaveArea
TNoDaveComSpeed
TNoDaveConnectThread
TNoDaveDebugOption
TNoDaveDebugOptions
TNoDaveOnErrorEvent
TNoDaveProtocol
TNoDaveReachablePartnersMPI
TNoDaveReadThread
TNoDaveSpeed
TSzlBGDiagInfo
TSzlBGIdent
TSzlBGState
TSzlBlockType
TSzlDiagMessage
TSzlLed
TSzlLedState
TSzlStationState
TSzlSystemMemory
TSzlUserMemory


Records of Unit NoDaveComponent
Unit NoDaveComponent Legend

Records in Unit NoDaveComponent

TSzlBGDiagInfo
TSzlBGIdent
TSzlBGState
TSzlBlockType
TSzlDiagMessage
TSzlLedState
TSzlStationState
TSzlSystemMemory
TSzlUserMemory


Classes of Unit NoDaveComponent
Unit NoDaveComponent Legend

Classes in Unit NoDaveComponent

TNoDave
TNoDaveConnectThread
TNoDaveReadThread


Record-Like Types of
Unit NoDaveComponent

Records
Classes


Unit NoDaveComponent
Files         Constants      Functions   Simple Types   Record-Like Types

Used Units:

Used in interface:

System, SysInit, SysUtils, Classes, NoDave, SyncObjs, Windows

Used in implementation:

None

Description:

TODO

Before Installation:
Please copy the file \pascal\nodave.pas into the directory, where the file nodavecomponent.pas is located !

Delphi-Installation:
1. Select Component - Install in the Delphi-menu
2. Select Add... button
3. Select Browse
4. Select NoDaveComponent.pas
5. Select OK

Lazarus-Installation:
1. Select Components - Open package file
2. Select nodavepackage.lpk
3. Select Open
4. Select Compile
5. Select Install
6. Select Yes

The Unit NoDaveComponent implements the class TNoDave, which encapsulates the access to the libnodave.dll.
With TNoDave and libnodave.dll it is very easy to read and write data from and to a S7 PLC.

Simatic, Simatic S5, Simatic S7, S7-200, S7-300, S7-400 are registered Trademarks of Siemens Aktiengesellschaft, Berlin und Muenchen.

Author:

Axel Kinting - Gebr. Schmid GmbH + Co.


List of Records
Records   Objects   Classes   Interfaces   Dispatch-Interfaces   Files

All Records

TSzlBGDiagInfo

TSzlBGIdent

TSzlBGState

TSzlBlockType

TSzlDiagMessage

TSzlLedState

TSzlStationState

TSzlSystemMemory

TSzlUserMemory

Figure-Source: RecordList.fig
WMF-File: RecordList.wmf


record TSzlBGDiagInfo
Unit NoDaveComponent            Records

TSzlBGDiagInfo

Not used by any known Class

Description:


record TSzlBGIdent
Unit NoDaveComponent            Records

TSzlBGIdent

Not used by any known Class

Description:


record TSzlBGState
Unit NoDaveComponent            Records

TSzlBGState

Not used by any known Class

Description:


record TSzlBlockType
Unit NoDaveComponent            Records

TSzlBlockType

Not used by any known Class

Description:


record TSzlDiagMessage
Unit NoDaveComponent            Records

TSzlDiagMessage

This type is packed!
Not used by any known Class

Description:


record TSzlLedState
Unit NoDaveComponent            Records

TSzlLedState

This type is packed!
Not used by any known Class

Description:


record TSzlStationState
Unit NoDaveComponent            Records

TSzlStationState

Not used by any known Class

Description:


record TSzlSystemMemory
Unit NoDaveComponent            Records

TSzlSystemMemory

Not used by any known Class

Description:


record TSzlUserMemory
Unit NoDaveComponent            Records

TSzlUserMemory

Not used by any known Class

Description:


List of Objects
Records   Objects   Classes   Interfaces   Dispatch-Interfaces   Files

No types of this kind!


List of Classes
Records   Objects   Classes   Interfaces   Dispatch-Interfaces   Files

TComponent

TNoDave

TThread

TNoDaveConnectThread

TNoDaveReadThread

Figure-Source: ClassList.fig
WMF-File: ClassList.wmf


TNoDave.Active
class TNoDave   Properties

property Active: Boolean read GetActive write SetActive

Property for the connection-status.

Used in

Connect, Disconnect, DoConnect, ListReachablePartners, ReadBytes, ReadSZL, ResetInterface, WriteBytes, TNoDaveConnectThread.Execute, TNoDaveReadThread.Execute


TNoDave.Area
class TNoDave   Properties

property Area: TNoDaveArea read FArea write SetArea

Property for the PLC-area

Used in

TNoDaveReadThread.Execute


TNoDave.Buffer
class TNoDave   Properties

property Buffer: String read GetBuffer

Property for the pointer to the internal buffer memory.


TNoDave.BufLen
class TNoDave   Properties

property BufLen: Integer read FBufLen write SetBufLen

Property for the length of the buffer.

Used in

TNoDaveReadThread.Execute


TNoDave.BufOffs
class TNoDave   Properties

property BufOffs: Integer read FBufOffs write SetBufOffs

Property for the offset of the buffer within the address-range of the PLC.

Used in

TNoDaveReadThread.Execute


TNoDave.COMPort
class TNoDave   Properties

property COMPort: String read FComPort write SetComPort

Property for the name of the COM-Port used for the serial-to-MPI adapter.


TNoDave.COMSpeed
class TNoDave   Properties

property COMSpeed: TNoDaveComSpeed read FComSpeed write SetComSpeed

Property for the speed of the COM-Port used for the serial-to-MPI adapter.

Used in

DoConnect


TNoDave.CPURack
class TNoDave   Properties

property CPURack: Integer read FCpuRack write SetCpuRack

Property for the number of the rack containing the CPU of the PLC.


TNoDave.CPUSlot
class TNoDave   Properties

property CPUSlot: Integer read FCpuSlot write SetCpuSlot

Property for the number of the slot containing the CPU of the PLC.


TNoDave.CycleTime
class TNoDave   Properties

property CycleTime: Cardinal read FCycleTime

Property for the duration in ms of the last communication cycle.


TNoDave.DBNumber
class TNoDave   Properties

property DBNumber: Integer read FDBNumber write SetDBNumber

Property for the number of the datablock in the PLC.

Used in

TNoDaveReadThread.Execute


TNoDave.DebugOptions
class TNoDave   Properties

property DebugOptions: TNoDaveDebugOptions read GetDebugOptions write SetDebugOptions

Property for the debug-options.


TNoDave.Interval
class TNoDave   Properties

property Interval: Cardinal read FInterval write SetInterval

Property for the minimal round-trip cycle time for the background-communication with the PLC in milliseconds.

Used in

TNoDaveReadThread.Execute


TNoDave.IntfName
class TNoDave   Properties

property IntfName: String read FIntfName write SetIntfName

Property for the symbolic name of the interface.


TNoDave.IntfTimeout
class TNoDave   Properties

property IntfTimeout: Integer read FIntfTimeout write SetIntfTimeout

Property for the timeout of the interface in milliseconds.


TNoDave.IPAddress
class TNoDave   Properties

property IPAddress: String read FIPAddress write SetIPAddress

Property for the IP-address or name of the TCP/IP partner station.


TNoDave.IPPort
class TNoDave   Properties

property IPPort: Integer read FIPPort write SetIPPort

Property for the IP-port of the TCP/IP partner station.


TNoDave.LastErrMsg
class TNoDave   Properties

property LastErrMsg: String read GetLastErrMsg

Property for the text describing the code in LastError.

Used in

TNoDaveReadThread.Execute


TNoDave.LastError
class TNoDave   Properties

property LastError: Integer read FLastError

Property for the return-code of the last call of a communication-method.

Used in

TNoDaveReadThread.Execute


TNoDave.MaxPDUData
class TNoDave   Properties

property MaxPDUData: Integer read GetMaxPDUData

Property for the maximum datasize of one read-request

Used in

DoReadBytes, DoWriteBytes


TNoDave.MPILocal
class TNoDave   Properties

property MPILocal: Integer read FMPILocal write SetMPILocal

Property for the local MPI-address used for the MPI-communication.


TNoDave.MPIRemote
class TNoDave   Properties

property MPIRemote: Integer read FMPIRemote write SetMPIRemote

Property for the remote MPI-address used for the MPI-communication.


TNoDave.MPISpeed
class TNoDave   Properties

property MPISpeed: TNoDaveSpeed read FMPISpeed write SetMPISpeed

Property for the MPI-speed used for the MPI-communication.


TNoDave.OnConnect
class TNoDave   Properties

property OnConnect: TNotifyEvent read FOnConnect write FOnConnect

Property for the OnConnect-eventhandler

Used in

DoOnConnect


TNoDave.OnDisconnect
class TNoDave   Properties

property OnDisconnect: TNotifyEvent read FOnDisconnect write FOnDisconnect

Property for the OnDisconnect-eventhandler

Used in

DoOnDisconnect


TNoDave.OnError
class TNoDave   Properties

property OnError: TNoDaveOnErrorEvent read FOnError write FOnError

Property for the OnError-eventhandler

Used in

DoOnError


TNoDave.OnRead
class TNoDave   Properties

property OnRead: TNotifyEvent read FOnRead write FOnRead

Property for the OnRead-eventhandler

Used in

DoOnRead


TNoDave.OnWrite
class TNoDave   Properties

property OnWrite: TNotifyEvent read FOnWrite write FOnWrite

Property for the OnWrite-eventhandler

Used in

DoOnWrite


TNoDave.Protocol
class TNoDave   Properties

property Protocol: TNoDaveProtocol read FProtocol write SetProtocol

Property for the Protocol used for the communication with the PLC.

Used in

ResetInterface


TNoDave.SZLCount
class TNoDave   Properties

property SZLCount: Integer read GetSZLCount

Property for the number of items in the internal SZL-Buffer


TNoDave.SZLItem
class TNoDave   Properties

property SZLItem [Index: Integer]: Pointer read GetSZLItem

Property for the items in the internal SZL-Buffer


TNoDave.SZLItemSize
class TNoDave   Properties

property SZLItemSize: Integer read GetSZLItemSize

Property for the size of one item in the internal SZL-Buffer


Properties of class TNoDave
class TNoDave alphabetically Legend

Properties in TNoDave

 Active
 Area
 Buffer
 BufLen
 BufOffs
 COMPort
 COMSpeed
 CPURack
 CPUSlot
 CycleTime
 DBNumber
 DebugOptions
 Interval
 IntfName
 IntfTimeout
 IPAddress
 IPPort
 LastErrMsg
 LastError
 MaxPDUData
 MPILocal
 MPIRemote
 MPISpeed
 OnConnect
 OnDisconnect
 OnError
 OnRead
 OnWrite
 Protocol
 SZLCount
 SZLItem
 SZLItemSize


Properties of class TNoDave by Name
class TNoDave by class Legend

 Active
 Area
 Buffer
 BufLen
 BufOffs
 COMPort
 COMSpeed
 CPURack
 CPUSlot
 CycleTime
 DBNumber
 DebugOptions
 Interval
 IntfName
 IntfTimeout
 IPAddress
 IPPort
 LastErrMsg
 LastError
 MaxPDUData
 MPILocal
 MPIRemote
 MPISpeed
 OnConnect
 OnDisconnect
 OnError
 OnRead
 OnWrite
 Protocol
 SZLCount
 SZLItem
 SZLItemSize


TNoDave.AreaCode
class TNoDave   Methods

function AreaCode(Area: TNoDaveArea): Integer

Determine the S7-ID of an Area.

Parameters

Area

Requested Area.

Result

S7-ID of the Area.

Called by

DoReadBytes, DoWriteBytes, DoWriteValue, WriteBit


TNoDave.BufferAt
class TNoDave   Methods

function BufferAt(Address: Integer; Size: Integer =  1; Buffer: Pointer = Nil; BufOffs: Integer =  0; BufLen: Integer =  0): Pointer

Return a Pointer to the requested PLC-data point within the buffer.

Parameters

Address

PLC-Address of  the datapoint.

Size

Size of the datapoint in bytes.

Buffer

Pointer to the buffer holding the PLC-data. The internal buffer is used, if Nil (default).

BufOffs

Offset-address of the buffer within the address-range of the PLC.

BufLen

Length of the buffer in bytes.

Result

Pointer to the requested data point if the address is located in the buffer, else Nil.

Called by

GetBit, GetByte, GetDInt, GetDWord, GetFloat, GetInt, GetWord


TNoDave.Connect
class TNoDave   Methods

procedure Connect(Wait: Boolean =  True)

Open the connection to the PLC.

Parameters

Wait

If False the connection is opened asyncronous in a separate thread. Default is True.

Called by

Loaded


TNoDave.Create
class TNoDave   Methods

constructor Create(aOwner: TComponent); override

Initialize a new instance of the TNoDave component.

Parameters

aOwner

Owner of the created instance.

Overrides

Create


TNoDave.Destroy
class TNoDave   Methods

destructor Destroy; override

Close an active connection and call the inherited Destroy method.

Overrides

Destroy


TNoDave.Disconnect
class TNoDave   Methods

procedure Disconnect

Close the connection to the PLC.

Called by

Destroy, TNoDaveReadThread.Execute


TNoDave.DoConnect
class TNoDave   Methods

procedure DoConnect(OnlyIntf: Boolean =  False)

Open the connection to the PLC specified by the properties Protocol, CPURack, CPUSlot, COMPort, IPAddress, IPPort, MPILocal, MPIRemote  and/or MPISpeed

Parameters

OnlyIntf

Open only the interface, don't connect to the PLC

Called by

Connect, ResetInterface, TNoDaveConnectThread.Execute


TNoDave.DoOnConnect
class TNoDave   Methods

procedure DoOnConnect

Create the worker-thread for cyclic reading if neccessary and call the OnConnect-eventhandler if specified.

Called by

Connect, TNoDaveConnectThread.DoOnConnect


TNoDave.DoOnDisconnect
class TNoDave   Methods

procedure DoOnDisconnect

Stop and Destroy the worker-thread for cyclic reading if neccessary and call the OnDisconnect-eventhandler if specified.

Called by

Disconnect


TNoDave.DoOnError
class TNoDave   Methods

procedure DoOnError(ErrorMsg: String)

Call the OnError-eventhandler if specified.

Parameters

ErrorMsg

The text-message for the OnError-event

Called by

BufferAt, Connect, Disconnect, DoConnect, DoReadBytes, DoWriteBytes, DoWriteValue, WriteBit, TNoDaveConnectThread.DoOnError, TNoDaveReadThread.DoOnError


TNoDave.DoOnRead
class TNoDave   Methods

procedure DoOnRead

Call the OnRead-eventhandler if specified.

Called by

ReadBytes, TNoDaveReadThread.DoOnRead


TNoDave.DoOnWrite
class TNoDave   Methods

procedure DoOnWrite

Call the OnWrite-eventhandler if specified.

Called by

WriteBytes


TNoDave.DoReadBytes
class TNoDave   Methods

procedure DoReadBytes(Area: TNoDaveArea; DB, Start, Size: Integer; Buffer: Pointer = Nil)

Read the PLC-data into the buffer.

Parameters

Area

Requested PLC-area.

DB

Number of requested datablock. Only used, if reading from Datablocks in the PLC.

Start

Start-address of the requested data within the address-range of the PLC.

Size

Length of the requested PLC-data in bytes.

Buffer

Pointer to the buffer. The internal buffer of the instance is used, if Nil (default).

Called by

ReadBytes, ReadBytes, TNoDaveReadThread.Execute


TNoDave.DoSetDebug
class TNoDave   Methods

procedure DoSetDebug(Options: Integer)

Set the debug-options of the libnodave.dll

Parameters

Options

Value of the debug-options.


TNoDave.DoWriteBytes
class TNoDave   Methods

procedure DoWriteBytes(Area: TNoDaveArea; DB, Start, Size: Integer; Buffer: Pointer = Nil)

Write the Buffer-data into the PLC.

Parameters

Area

Requested PLC-area.

DB

Number of requested datablock. Only used, if reading from Datablocks in the PLC.

Start

Start-address of the requested data within the address-range of the PLC.

Size

Length of the requested PLC-data in bytes.

Buffer

Pointer to the buffer. The internal buffer of the instance is used, if Nil (default).

Called by

WriteBytes, WriteBytes


TNoDave.DoWriteValue
class TNoDave   Methods

procedure DoWriteValue(Address, Size: Integer; Value: Pointer)

Write a single value into the specified address of the PLC without changing the properties of the TNoDave-instance.

Parameters

Address

PLC-Address of the data point.

Size

Size in bytes of the value.

Value

The value to be written.

Called by

WriteByte, WriteDInt, WriteDWord, WriteFloat, WriteInt, WriteWord


TNoDave.GetBit
class TNoDave   Methods

function GetBit(Address, Bit: Integer; Buffer: Pointer = Nil; BufOffs: Integer =  0; BufLen: Integer =  0): Boolean

Return the Bit-value read last from the PLC at the specified address.

Parameters

Address

Byte-address of the requested value

Bit

Bit-address of the requested value

Buffer

Pointer to the buffer holding the PLC-data. The internal buffer is used, if Nil (default).

BufOffs

Offset-address of the buffer within the address-range of the PLC.

BufLen

Length of the buffer in bytes.

Result

The requested value or False, if the requested address was not found within the buffer.


TNoDave.GetByte
class TNoDave   Methods

function GetByte(Address: Integer; Buffer: Pointer = Nil; BufOffs: Integer =  0; BufLen: Integer =  0): Byte

Return the Byte-value read last from the PLC at the specified address.

Parameters

Address

Address of the requested value

Buffer

Pointer to the buffer holding the PLC-data. The internal buffer is used, if Nil (default).

BufOffs

Offset-address of the buffer within the address-range of the PLC.

BufLen

Length of the buffer in bytes.

Result

The requested value or 0, if the requested address was not found within the buffer.


TNoDave.GetDInt
class TNoDave   Methods

function GetDInt(Address: Integer; Buffer: Pointer = Nil; BufOffs: Integer =  0; BufLen: Integer =  0): LongInt

Return the LongInt-value read last from the PLC at the specified address.

Parameters

Address

Address of the requested value

Buffer

Pointer to the buffer holding the PLC-data. The internal buffer is used, if Nil (default).

BufOffs

Offset-address of the buffer within the address-range of the PLC.

BufLen

Length of the buffer in bytes.

Result

The requested value or 0, if the requested address was not found within the buffer.


TNoDave.GetDWord
class TNoDave   Methods

function GetDWord(Address: Integer; Buffer: Pointer = Nil; BufOffs: Integer =  0; BufLen: Integer =  0): LongWord

Return the LongWord-value read last from the PLC at the specified address.

Parameters

Address

Address of the requested value

Buffer

Pointer to the buffer holding the PLC-data. The internal buffer is used, if Nil (default).

BufOffs

Offset-address of the buffer within the address-range of the PLC.

BufLen

Length of the buffer in bytes.

Result

The requested value or 0, if the requested address was not found within the buffer.


TNoDave.GetErrorMsg
class TNoDave   Methods

function GetErrorMsg(Error: Integer): String

Return the text message for an error code.

Parameters

Error

The error code.

Result

Text message correspondig to the error code.


TNoDave.GetFloat
class TNoDave   Methods

function GetFloat(Address: Integer; Buffer: Pointer = Nil; BufOffs: Integer =  0; BufLen: Integer =  0): Double

Return the Float-value read last from the PLC at the specified address.

Parameters

Address

Address of the requested value

Buffer

Pointer to the buffer holding the PLC-data. The internal buffer is used, if Nil (default).

BufOffs

Offset-address of the buffer within the address-range of the PLC.

BufLen

Length of the buffer in bytes.

Result

The requested value or 0, if the requested address was not found within the buffer.


TNoDave.GetInt
class TNoDave   Methods

function GetInt(Address: Integer; Buffer: Pointer = Nil; BufOffs: Integer =  0; BufLen: Integer =  0): SmallInt

Return the SmallInt-value read last from the PLC at the specified address.

Parameters

Address

Address of the requested value

Buffer

Pointer to the buffer holding the PLC-data. The internal buffer is used, if Nil (default).

BufOffs

Offset-address of the buffer within the address-range of the PLC.

BufLen

Length of the buffer in bytes.

Result

The requested value or 0, if the requested address was not found within the buffer.


TNoDave.GetWord
class TNoDave   Methods

function GetWord(Address: Integer; Buffer: Pointer = Nil; BufOffs: Integer =  0; BufLen: Integer =  0): Word

Return the Word-value read last from the PLC at the specified address.

Parameters

Address

Address of the requested value

Buffer

Pointer to the buffer holding the PLC-data. The internal buffer is used, if Nil (default).

BufOffs

Offset-address of the buffer within the address-range of the PLC.

BufLen

Length of the buffer in bytes.

Result

The requested value or 0, if the requested address was not found within the buffer.

Called by

ReadSZL


TNoDave.ListReachablePartners
class TNoDave   Methods

function ListReachablePartners: TNoDaveReachablePartnersMPI

Scan the MPI-bus for all reachable partners

Result

List with True for available partners and False for unavailable partners.


TNoDave.Loaded
class TNoDave   Methods

procedure Loaded; override

Open the connection to the PLC after the instance is completely loaded from the stream and if Active is True.

Overrides

Loaded


TNoDave.Lock
class TNoDave   Methods

procedure Lock

Lock the communication-routines for the current tread.


TNoDave.ProtCode
class TNoDave   Methods

function ProtCode(Prot: TNoDaveProtocol): Integer

Determine the libnodave.dll-code of a protocol

Parameters

Prot

The requested protocol

Result

The libnodave.dll code for the protocol

Called by

DoConnect


TNoDave.ReadBytes
class TNoDave   Methods

procedure ReadBytes(Area: TNoDaveArea; DB, Start, Size: Integer; Buffer: Pointer = Nil); overload

Read the specified Data from the PLC into the buffer.

Parameters

Area

Requested PLC-area.

DB

Number of requested datablock. Only used, if reading from Datablocks in the PLC.

Start

Start-address of the requested data within the address-range of the PLC.

Size

Length of the requested PLC-data in bytes.

Buffer

Pointer to the buffer for PLC-data. The internal buffer is used, if Nil (default).


TNoDave.ReadBytes
class TNoDave   Methods

procedure ReadBytes(Buffer: Pointer = Nil); overload

Read the Data specified by the properties Area, DBNumber, BufOffs and BufLen from the PLC into the buffer.

Parameters

Buffer

Pointer to the buffer for PLC-data. The internal buffer is used, if Nil (default).

Called by

DoConnect, ReadBytes


TNoDave.ReadSZL
class TNoDave   Methods

function ReadSZL(ID, Index: Integer): Integer

Read a SZL-list from the connected PLC.

Parameters

ID

The SZL-ID of the list.

Index

The SZL-Index of the list.

Result

Error code for the function result, 0 if OK.


TNoDave.ResetInterface
class TNoDave   Methods

procedure ResetInterface

Reset the NetLink-adapter via network-command


TNoDave.Swap16
class TNoDave   Methods

function Swap16(Value: SmallInt): SmallInt

Swap the byte-order in a 16-bit value.

Parameters

Value

The value for the conversion.

Result

The converted value.


TNoDave.Swap32
class TNoDave   Methods

function Swap32(Value: Integer): Integer

Swap the byte-order in a 32-bit value.

Parameters

Value

The value for the conversion.

Result

The converted value.


TNoDave.Unlock
class TNoDave   Methods

procedure Unlock

Unlock the communication-routines for other threads.


TNoDave.WriteBit
class TNoDave   Methods

procedure WriteBit(Area: TNoDaveArea; DB, Address, Bit: Integer; Value: Boolean); overload

Write a Bit-value into the PLC at the specified address without changing the properties of the TNoDave-instance.

Parameters

Area

Requested PLC-area.

DB

Number of requested datablock. Only used, if writing into datablocks of the PLC.

Address

Byte-address of the value

Bit

Bit-address of the value

Value

Value to write into the PLC.

Called by

WriteBit


TNoDave.WriteBit
class TNoDave   Methods

procedure WriteBit(Address, Bit: Integer; Value: Boolean); overload

Write a Bit-value into the PLC at the specified address without changing the properties of the TNoDave-instance.

Parameters

Address

Byte-address of the value

Bit

Bit-address of the value

Value

Value to write into the PLC.


TNoDave.WriteByte
class TNoDave   Methods

procedure WriteByte(Address: Integer; Value: Byte)

Write a Byte-value into the PLC at the specified address without changing the properties of the TNoDave-instance.

Parameters

Address

Byte-address of the value

Value

Value to write into the PLC.


TNoDave.WriteBytes
class TNoDave   Methods

procedure WriteBytes(Area: TNoDaveArea; DB, Start, Size: Integer; Buffer: Pointer = Nil); overload

Write the buffer into the PLC at the specified address after setting up the properties with the given values.

Parameters

Area

Requested PLC-area. Changes the property Area.

DB

Number of requested datablock. Changes the property DBNumber. Only used, if writing into datablocks of the PLC.

Start

Start-address of the buffer within the address-range of the PLC. Changes the property BufOffs.

Size

Length of the buffer in bytes. Changes the property BufLen.

Buffer

Pointer to the buffer for PLC-data. The internal buffer is used, if Nil (default).


TNoDave.WriteBytes
class TNoDave   Methods

procedure WriteBytes(Buffer: Pointer = Nil); overload

Write the buffer into the PLC at the address specified by the properties Area, DBNumber, BufOffs and BufLen.

Parameters

Buffer

Pointer to the buffer for PLC-data. The internal buffer is used, if Nil (default).

Called by

WriteBytes


TNoDave.WriteDInt
class TNoDave   Methods

procedure WriteDInt(Address: Integer; Value: LongInt)

Write a LongInt-value into the PLC at the specified address without changing the properties of the TNoDave-instance.

Parameters

Address

Byte-address of the value

Value

Value to write into the PLC.


TNoDave.WriteDWord
class TNoDave   Methods

procedure WriteDWord(Address: Integer; Value: LongWord)

Write a LongWord-value into the PLC at the specified address without changing the properties of the TNoDave-instance.

Parameters

Address

Byte-address of the value

Value

Value to write into the PLC.


TNoDave.WriteFloat
class TNoDave   Methods

procedure WriteFloat(Address: Integer; Value: Single)

Write a Float-value into the PLC at the specified address without changing the properties of the TNoDave-instance.

Parameters

Address

Byte-address of the value

Value

Value to write into the PLC.


TNoDave.WriteInt
class TNoDave   Methods

procedure WriteInt(Address: Integer; Value: SmallInt)

Write a SmallInt-value into the PLC at the specified address without changing the properties of the TNoDave-instance.

Parameters

Address

Byte-address of the value

Value

Value to write into the PLC.


TNoDave.WriteWord
class TNoDave   Methods

procedure WriteWord(Address: Integer; Value: Word)

Write a Word-value into the PLC at the specified address without changing the properties of the TNoDave-instance.

Parameters

Address

Byte-address of the value

Value

Value to write into the PLC.


Methods of class TNoDave
class TNoDave alphabetically Legend

Methods in TNoDave

 AreaCode
 BufferAt
 Connect
 constructor Create
 destructor Destroy
 Disconnect
 DoConnect
 DoOnConnect
 DoOnDisconnect
 DoOnError
 DoOnRead
 DoOnWrite
 DoReadBytes
 DoSetDebug
 DoWriteBytes
 DoWriteValue
 GetBit
 GetByte
 GetDInt
 GetDWord
 GetErrorMsg
 GetFloat
 GetInt
 GetWord
 ListReachablePartners
 Loaded
 Lock
 ProtCode
 ReadBytes
 ReadBytes
 ReadSZL
 ResetInterface
 Swap16
 Swap32
 Unlock
 WriteBit
 WriteBit
 WriteByte
 WriteBytes
 WriteBytes
 WriteDInt
 WriteDWord
 WriteFloat
 WriteInt
 WriteWord


Methods of class TNoDave by Name
class TNoDave by class Legend

 AreaCode
 BufferAt
 Connect
 constructor Create
 destructor Destroy
 Disconnect
 DoConnect
 DoOnConnect
 DoOnDisconnect
 DoOnError
 DoOnRead
 DoOnWrite
 DoReadBytes
 DoSetDebug
 DoWriteBytes
 DoWriteValue
 GetBit
 GetByte
 GetDInt
 GetDWord
 GetErrorMsg
 GetFloat
 GetInt
 GetWord
 ListReachablePartners
 Loaded
 Lock
 ProtCode
 ReadBytes
 ReadBytes
 ReadSZL
 ResetInterface
 Swap16
 Swap32
 Unlock
 WriteBit
 WriteBit
 WriteByte
 WriteBytes
 WriteBytes
 WriteDInt
 WriteDWord
 WriteFloat
 WriteInt
 WriteWord


class TNoDave
Unit NoDaveComponent      Properties   Methods   Classes

TObject <--  ... <-- TComponent <-- TNoDave

No known Subclasses
Used by Classes:

TNoDaveConnectThread, TNoDaveReadThread

Description:
The Class TNoDave encapsulates the access to the libnodave.dll of Thomas Hergenhahn. All the settings for the communication are available in the properties of TNoDave.

Used in

Register, TNoDaveConnectThread, TNoDaveReadThread


TNoDaveConnectThread.Create
class TNoDaveConnectThread   Methods

constructor Create(Target: TNoDave)

Create the worker-thread for asynchronous connecting with the PLC.

Parameters

Target

The TNoDave-instance to connect with the PLC.

Called by

TNoDave.Connect


TNoDaveConnectThread.DoOnConnect
class TNoDaveConnectThread   Methods

procedure DoOnConnect

Synchronization-method for calling the OnConnect-Event of the TNoDave-instance.

Called by

Execute


TNoDaveConnectThread.DoOnError
class TNoDaveConnectThread   Methods

procedure DoOnError

Synchronization-method for calling the OnError-Event of the TNoDave-instance.

Called by

Execute


TNoDaveConnectThread.Execute
class TNoDaveConnectThread   Methods

procedure Execute; override

Open the connection to the PLC. If successfull then call the OnConnect-Event else call the OnError-Event of the TNoDave-instance.

Overrides

Execute


Methods of class TNoDaveConnectThread
class TNoDaveConnectThread alphabetically Legend

Methods in TNoDaveConnectThread

 constructor Create
 DoOnConnect
 DoOnError
 Execute


Methods of class TNoDaveConnectThread by Name
class TNoDaveConnectThread by class Legend

 constructor Create
 DoOnConnect
 DoOnError
 Execute


class TNoDaveConnectThread
Unit NoDaveComponent         Methods   Classes

TObject <--  ... <-- TThread <-- TNoDaveConnectThread

No known Subclasses
Not used by any known Class

Description:
Worker-thread for asynchronous connecting with the PLC.

Used in

TNoDave.Connect


TNoDaveReadThread.Create
class TNoDaveReadThread   Methods

constructor Create(Target: TNoDave)

Create the worker-thread for the background-communication with the PLC.

Parameters

Target

The TNoDave-instance for the communication with the PLC.

Called by

TNoDave.DoOnConnect


TNoDaveReadThread.DoOnError
class TNoDaveReadThread   Methods

procedure DoOnError

Synchronization-method for calling the OnError-Event of the TNoDave-instance.

Called by

Execute


TNoDaveReadThread.DoOnRead
class TNoDaveReadThread   Methods

procedure DoOnRead

Synchronization-method for calling the OnRead-Event of the TNoDave-instance.

Called by

Execute


TNoDaveReadThread.Execute
class TNoDaveReadThread   Methods

procedure Execute; override

Read the data from the PLC, call the OnRead-Event of the TNoDave-instance, wait until the round-trip cycle time is reached and then start again from the beginning until the Connection of the TNoDave-instance is active. Disconnect the TNoDave-instance if the connection is not longer valid.

Overrides

Execute


Methods of class TNoDaveReadThread
class TNoDaveReadThread alphabetically Legend

Methods in TNoDaveReadThread

 constructor Create
 DoOnError
 DoOnRead
 Execute


Methods of class TNoDaveReadThread by Name
class TNoDaveReadThread by class Legend

 constructor Create
 DoOnError
 DoOnRead
 Execute


class TNoDaveReadThread
Unit NoDaveComponent         Methods   Classes

TObject <--  ... <-- TThread <-- TNoDaveReadThread

No known Subclasses
Not used by any known Class

Description:
Worker-thread for the background-communication with the PLC.

Used in

TNoDave.DoOnConnect


List of Interfaces
Records   Objects   Classes   Interfaces   Dispatch-Interfaces   Files

No types of this kind!


List of Dispatch-Interfaces
Records   Objects   Classes   Interfaces   Dispatch-Interfaces   Files

No types of this kind!


List of unfinished Identifiers
Files

List of unfinished files.


List of unfinished files
Files

NoDaveComponent


List of long Functions

Lines		Name of Function
51		TNoDave.DoConnect
35		TNoDave.ReadSZL
27		TNoDave.ListReachablePartners
26		TNoDave.Create
25		TNoDaveReadThread.Execute
22		TNoDave.AreaCode
22		TNoDave.DoReadBytes


Index of Identifiers and Files starting with "A"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
Active		NoDaveComponent		TNoDave
Area		NoDaveComponent		TNoDave
AreaCode		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "B"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
BAF		NoDaveComponent
Buffer		NoDaveComponent		TNoDave
BufferAt		NoDaveComponent		TNoDave
BufLen		NoDaveComponent		TNoDave
BufOffs		NoDaveComponent		TNoDave
BUS1F		NoDaveComponent
BUS2F		NoDaveComponent


Index of Identifiers and Files starting with "C"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
COMPort		NoDaveComponent		TNoDave
COMSpeed		NoDaveComponent		TNoDave
Connect		NoDaveComponent		TNoDave
CPURack		NoDaveComponent		TNoDave
CPUSlot		NoDaveComponent		TNoDave
Create		NoDaveComponent		TNoDave
Create		NoDaveComponent		TNoDaveConnectThread
Create		NoDaveComponent		TNoDaveReadThread
CRST		NoDaveComponent
CycleTime		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "D"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
daveAnaIn		NoDaveComponent
daveAnaOut		NoDaveComponent
daveComSpeed115_2k		NoDaveComponent
daveComSpeed19_2k		NoDaveComponent
daveComSpeed38_4k		NoDaveComponent
daveComSpeed57_6k		NoDaveComponent
daveComSpeed9_6k		NoDaveComponent
daveCounter		NoDaveComponent
daveDB		NoDaveComponent
daveDebugByte		NoDaveComponent
daveDebugCompare		NoDaveComponent
daveDebugConnect		NoDaveComponent
daveDebugExchange		NoDaveComponent
daveDebugInitAdapter		NoDaveComponent
daveDebugListReachables		NoDaveComponent
daveDebugMPI		NoDaveComponent
daveDebugPacket		NoDaveComponent
daveDebugPassive		NoDaveComponent
daveDebugPDU		NoDaveComponent
daveDebugPrintErrors		NoDaveComponent
daveDebugRawRead		NoDaveComponent
daveDebugRawWrite		NoDaveComponent
daveDebugSpecialChars		NoDaveComponent
daveDebugUpload		NoDaveComponent
daveDI		NoDaveComponent
daveFlags		NoDaveComponent
daveInputs		NoDaveComponent
daveLocal		NoDaveComponent
daveOutputs		NoDaveComponent
daveP		NoDaveComponent
daveProtoAS511		NoDaveComponent
daveProtoIBH		NoDaveComponent
daveProtoIBH_PPI		NoDaveComponent
daveProtoISOTCP		NoDaveComponent
daveProtoISOTCP243		NoDaveComponent
daveProtoMPI		NoDaveComponent
daveProtoMPI2		NoDaveComponent
daveProtoMPI3		NoDaveComponent
daveProtoMPI4		NoDaveComponent
daveProtoNLPro		NoDaveComponent
daveProtoPPI		NoDaveComponent
daveProtoS7Online		NoDaveComponent
daveSpeed1500k		NoDaveComponent
daveSpeed187k		NoDaveComponent
daveSpeed19k		NoDaveComponent
daveSpeed45k		NoDaveComponent
daveSpeed500k		NoDaveComponent
daveSpeed93k		NoDaveComponent
daveSpeed9k		NoDaveComponent
daveSysFlags		NoDaveComponent
daveSysInfo		NoDaveComponent
daveTimer		NoDaveComponent
daveV		NoDaveComponent
DBNumber		NoDaveComponent		TNoDave
DebugOptions		NoDaveComponent		TNoDave
Destroy		NoDaveComponent		TNoDave
Disconnect		NoDaveComponent		TNoDave
DoConnect		NoDaveComponent		TNoDave
DoOnConnect		NoDaveComponent		TNoDave
DoOnConnect		NoDaveComponent		TNoDaveConnectThread
DoOnDisconnect		NoDaveComponent		TNoDave
DoOnError		NoDaveComponent		TNoDave
DoOnError		NoDaveComponent		TNoDaveConnectThread
DoOnError		NoDaveComponent		TNoDaveReadThread
DoOnRead		NoDaveComponent		TNoDave
DoOnRead		NoDaveComponent		TNoDaveReadThread
DoOnWrite		NoDaveComponent		TNoDave
DoReadBytes		NoDaveComponent		TNoDave
DoSetDebug		NoDaveComponent		TNoDave
DoWriteBytes		NoDaveComponent		TNoDave
DoWriteValue		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "E"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
Execute		NoDaveComponent		TNoDaveConnectThread
Execute		NoDaveComponent		TNoDaveReadThread
EXTF		NoDaveComponent


Index of Identifiers and Files starting with "F"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
FRCE		NoDaveComponent


Index of Identifiers and Files starting with "G"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
GetBit		NoDaveComponent		TNoDave
GetByte		NoDaveComponent		TNoDave
GetDInt		NoDaveComponent		TNoDave
GetDWord		NoDaveComponent		TNoDave
GetErrorMsg		NoDaveComponent		TNoDave
GetFloat		NoDaveComponent		TNoDave
GetInt		NoDaveComponent		TNoDave
GetWord		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "H"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Identifiers and Files starting with "I"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
IFM1F		NoDaveComponent
IFM2F		NoDaveComponent
Interval		NoDaveComponent		TNoDave
INTF		NoDaveComponent
IntfName		NoDaveComponent		TNoDave
IntfTimeout		NoDaveComponent		TNoDave
IPAddress		NoDaveComponent		TNoDave
IPPort		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "J"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Identifiers and Files starting with "K"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Identifiers and Files starting with "L"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
LastErrMsg		NoDaveComponent		TNoDave
LastError		NoDaveComponent		TNoDave
ListReachablePartners		NoDaveComponent		TNoDave
Loaded		NoDaveComponent		TNoDave
Lock		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "M"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
MaxPDUData		NoDaveComponent		TNoDave
MPILocal		NoDaveComponent		TNoDave
MPIRemote		NoDaveComponent		TNoDave
MPISpeed		NoDaveComponent		TNoDave
MSTR		NoDaveComponent


Index of Identifiers and Files starting with "N"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
		NoDaveComponent
NONE		NoDaveComponent


Index of Identifiers and Files starting with "O"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
OnConnect		NoDaveComponent		TNoDave
OnDisconnect		NoDaveComponent		TNoDave
OnError		NoDaveComponent		TNoDave
OnRead		NoDaveComponent		TNoDave
OnWrite		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "P"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
ProtCode		NoDaveComponent		TNoDave
Protocol		NoDaveComponent		TNoDave
PSzlBGDiagInfo		NoDaveComponent
PSzlBGIdent		NoDaveComponent
PSzlBGState		NoDaveComponent
PSzlBlockType		NoDaveComponent
PSzlDiagMessage		NoDaveComponent
PSzlLedState		NoDaveComponent
PSzlStationState		NoDaveComponent
PSzlSystemMemory		NoDaveComponent
PSzlUserMemory		NoDaveComponent


Index of Identifiers and Files starting with "Q"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Identifiers and Files starting with "R"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
RACK0		NoDaveComponent
RACK1		NoDaveComponent
RACK2		NoDaveComponent
ReadBytes		NoDaveComponent		TNoDave
ReadBytes		NoDaveComponent		TNoDave
ReadSZL		NoDaveComponent		TNoDave
REDF		NoDaveComponent
Register		NoDaveComponent
ResetInterface		NoDaveComponent		TNoDave
RUN		NoDaveComponent


Index of Identifiers and Files starting with "S"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
SF		NoDaveComponent
STOP		NoDaveComponent
Swap16		NoDaveComponent		TNoDave
Swap32		NoDaveComponent		TNoDave
SZLCount		NoDaveComponent		TNoDave
SZLItem		NoDaveComponent		TNoDave
SZLItemSize		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "T"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
TNoDave		NoDaveComponent
TNoDaveArea		NoDaveComponent
TNoDaveComSpeed		NoDaveComponent
TNoDaveConnectThread		NoDaveComponent
TNoDaveDebugOption		NoDaveComponent
TNoDaveDebugOptions		NoDaveComponent
TNoDaveOnErrorEvent		NoDaveComponent
TNoDaveProtocol		NoDaveComponent
TNoDaveReachablePartnersMPI		NoDaveComponent
TNoDaveReadThread		NoDaveComponent
TNoDaveSpeed		NoDaveComponent
TSzlBGDiagInfo		NoDaveComponent
TSzlBGIdent		NoDaveComponent
TSzlBGState		NoDaveComponent
TSzlBlockType		NoDaveComponent
TSzlDiagMessage		NoDaveComponent
TSzlLed		NoDaveComponent
TSzlLedState		NoDaveComponent
TSzlStationState		NoDaveComponent
TSzlSystemMemory		NoDaveComponent
TSzlUserMemory		NoDaveComponent


Index of Identifiers and Files starting with "U"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
Unlock		NoDaveComponent		TNoDave
USR		NoDaveComponent
USR1		NoDaveComponent


Index of Identifiers and Files starting with "V"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Identifiers and Files starting with "W"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type
WriteBit		NoDaveComponent		TNoDave
WriteBit		NoDaveComponent		TNoDave
WriteByte		NoDaveComponent		TNoDave
WriteBytes		NoDaveComponent		TNoDave
WriteBytes		NoDaveComponent		TNoDave
WriteDInt		NoDaveComponent		TNoDave
WriteDWord		NoDaveComponent		TNoDave
WriteFloat		NoDaveComponent		TNoDave
WriteInt		NoDaveComponent		TNoDave
WriteWord		NoDaveComponent		TNoDave


Index of Identifiers and Files starting with "X"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Identifiers and Files starting with "Y"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Identifiers and Files starting with "Z"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Identifiers and Files starting with "_"
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Identifier		File		Record-Like Type


Index of Documentation
Records   Objects   Classes   Interfaces   Dispatch-Interfaces   Files

This is the index of the documentation generated by JADD - Just Another DelphiDoc.

Documentation has been generated at 10:41:38 on Mittwoch, 8. März 2006.

List of Files.

List of Records
List of Objects
List of Classes
List of Interfaces
List of Dispatch-Interfaces

The list of unfinished identifiers and files.

The list of long functions.

The Index of all identifiers and files.


An Error happened while trying to open a HTTP-Link.

This could mean, you don't have installed a Web-Browser or no default-browser set. It's also possible a wrong link was generated. If you're sure, this isn't a problem of your computer system, contact the author of the generated documentation. If you are author yourself, please contact the author of JADD - Just Another DelphiDoc.


An Error happened while trying to open a XFig-File.

XFig is a simple application on Unix-Systems (like GNU/Linux) to create figures. It uses mainly vector-graphics, like used in Clip-Arts in Windows, why it seems a good choice for drawing the dependance-trees. There are several free programs to view and create XFig-files, some are listed on http://www.xfig.org/.

The reason you see this error page is probably an applicable viewer is not installed. Please check the above mentioned website to solve that problem.
The XFig-file is an external file in the same directory as this help-file. It's also possible you didn't receive a copy of that file. Check the directory of this help-file for that file and contact the author of this documentation if this is the case.


An Error happened while trying to open a WMF-File.

WMF is a really old graphic format of Windows, known since Windows 3.x. It uses vector-graphics, like used in Clip-Arts, why it seems a good choice for drawing the dependance-trees. The reason you see this error page is probably, an applicable viewer is not installed.
Microsoft Office should probably be able to insert these graphics. Better painting programs should be able open them, too.You can probably also use the preview in the Windows Explorer to view them.