beckhoff TS6420 — 7.1.3 FB_DBConnectionAdd

PLC API tTimeout : States the length of the timeout that may not be exceeded by execution of the ADS command. VAR_OUTPUT VAR_OUTPUT bBusy : BOOL; bError : BOOL; nErrID : UDINT; END_VAR bBusy : The command is in the process of being transmitted by ADS. No new command will be accepted as long as "bBusy" remains TRUE. bError : Becomes TRUE, as soon as an error occurs. nErrID : Supplies the ADS Error Code [ } 132] when the bError output is set. Requirements 7.1.3 FB_DBConnectionAdd The FB_DBConnectionAdd function block permits additional database connections to be added to the XML configuration file.

VAR_INPUT VAR_INPUT sNetID :T_AmsNetId; eDBType :E_DBTypes; eDBValueType :E_DBValueType; sDBServer :T_MaxString; sDBProvider :T_MaxString; sDBUrl :T_MaxString; sDBSystemDB :T_MaxString; sDBUserId :T_MaxString; sDBPassword :T_MaxString; sDBTable :T_MaxString; bExecute :BOOL; tTimeout :TIME; END_VAR sNetID : Is a string containing the AMS network identifier of the target device to which the ADS command is directed. eDBType : Indicates the type of the database, e.g. 'Mobile server'. eDBValueType : Indicates the form in which the values are or will be stored. TS6420 61 Version:

1.2 Development environment Target system type PLC libraries to be linked TwinCAT v2.10.0 PC or CX (x86) TcDatabase.Lib TwinCAT v2.10.0 CX (ARM)