ns=2;s=DEPRAG Smart/Local/FileAndDirectoryAccess/Json/ActiveJsonDocuments/0/FullFilePath
Path of the JSON document.
In addition to the parameters already explained, the following variables must be created / transferred for the implementation in TwinCAT 3:
VAR
bJsonReadFullFilePath : BOOL;
OutputJsonReadFullFilePath : string;
hrJsonReadFullFilePath : HRESULT;
fbJson : FB_Json;
END_VAR
hrJsonReadFullFilePath := fbJson.ReadFullFilePath(
bExecute := bJsonReadFullFilePath,
ConnectionHandle := depragSmartConnection.ConnectionHandle,
ClientId := '0',
Output => OutputJsonReadFullFilePath);
IF hrJsonReadFullFilePath <> S_FALSE THEN
bJsonReadFullFilePath := 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".