beckhoff TS6420 — 7.1.1 FB_GetStateTcDatabase

PLC API Funktionen Datentypen Name ST_DBColumnCfg [ } 88] ST_DBXMLCfg [ } 88] ST_ADSDevXMLCfg [ } 88] ST_DBSQLError [ } 89] ST_DBParameter [ } 89] E_DbColumnTypes [ } 90] E_DBTypes [ } 91] E_DBValueType [ } 91] E_DBWriteModes [ } 91] E_DBParameterTypes [ } 91] 7.1 Function blocks 7.1.1 FB_GetStateTcDatabase The function block allows to get the current state of the Twincat Database Server. VAR_INPUT VAR_INPUT sNetID : T_AmsNetID; 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. bExecute : The command is executed with the rising edge. tTimeout :

States the time before the function is cancelled. VAR_OUTPUT VAR_OUTPUT bBusy : BOOL; bError : BOOL; nErrID : UDINT; nAdsState : UINT; nDevState : UINT; END_VAR TS6420 59 Version: 1.2 Name Description F GetVersionTcDatabase [} 87] Call version information.