ST_ConfigDB

This structure is used for the Read method of the function block FB_ConfigTcDBSrvEvt. All configured database connections are read into the PLC in an array of this structure.

Syntax

Definition:

TYPE ST_ConfigDB :
STRUCT
    sName: T_MaxString;
    hDBID: DINT;
    eDBType: E_DatabaseType;
    sServer: STRING(80);
    sDatabase: STRING(80);
    bTemp: BOOL;
END_STRUCT
END_TYPE

Name

Type

Parameter

sName

T_MaxString

Connection name

hDBID

DINT

ID of the declared database

eDBType

E_DatabaseType

Database type

sServer

STRING (80)

Server name

sDatabase

STRING (80)

Database name

bTemp

BOOL

TRUE if the connection was only stored temporarily.

Requirements

Development environment

Target platform

PLC libraries to be linked

TwinCAT v3.1 Build 4020.10

PC or CX (x86)

Tc3_Database