F_iecCreateTableHnd

From product version: TwinCAT PLC Library IEC60870-5-104 controlling station v1.0.0 and higher.

F_iecCreateTableHnd 1:

The function F_iecCreateTableHnd initializes the application object data base handle (hash tabele handle). The table handle has to be initialized once before using.

FUNCTION F_iecCreateTableHnd: UDINT

VAR_INPUT
    pAOEntries      : POINTER TO ST_IEC870_5_101AODBEntry := 0;
    cbAOEntries     : UDINT := 0;
END_VAR
VAR_IN_OUT
    hTable      : T_HAODBTable;
ENd_VAR

pAOEntries: Address of application object data base variable.

cbAOEntries: Byte size of application object data base variable.

hTable: Application object data base handle (hash table handle) to be initialized.

Return parameter

Description

0

No error

<> 0

Error: IEC60870-5-10x error code

 

Example in ST:

See description of F_iecAddTableEntry

Requirements

Development Environment

Target System

PLC Libraries to include

TwinCAT v2.10.0 Build >= 1301

PC or CX (x86, ARM)

TcIEC870_5_101.Lib
( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib;  are included automatically )