ns=2;s=DEPRAG Smart/Local/FileAndDirectoryAccess/Xml/ActiveXmlDocuments/0/Id
Unique index.
In addition to the parameters already explained, the following variables must be created / transferred for the implementation in TwinCAT 3:
VAR
bXmlReadId : BOOL;
OutputXmlReadId : DINT;
hrXmlReadId : HRESULT;
fbXml : FB_Xml;
END_VAR
hrXmlReadId := fbXml.ReadId(
bExecute := bXmlReadId,
ConnectionHandle := depragSmartConnection.ConnectionHandle,
ClientId := '0',
Output => OutputXmlReadId);
IF hrXmlReadId <> S_FALSE THEN
bXmlReadId := FALSE;
END_IF
For examples and explanations regarding the calls of nodes via Siemens TIA Portal please refer to the sub-menu "Siemens TIA Portal" in section "Getting Started".