beckhoff TS6420 — 8.8 Use XML as Database

Samples FB_DBRecordSelect1( sNetID:= , hDBID:= nDBid, sSelectCmd:= 'SELECT * FROM myTable WHERE Name = $'rTestValue$'', nRecordIndex:= 0, cbRecordSize:= SIZEOF(stRecord), pDestAddr:= ADR(stRecord), bExecute:= TRUE, tTimeout:= T#15s, bBusy=> bBusy_SelectRecord, bError=> bErr, nErrID=> nErrid, sSQLState=> stSQLState, nRecords=> nRecs); IFNOT bBusy_SelectRecord ANDNOT bErr THEN nState := 0; END_IFEND_CASE Start the sample with a rising edge at the toggle variable bSTART.. Following files will be created: XMLTestDB.xml (XML database file) xs:noNamespaceSchemaLocation="XMLTestDB.xsd"> XMLTestDB.xsd (XML Schema) TS6420 124 Version: 1.2