ns=2;s=DEPRAG Smart/SoftwareItemIdentification/CanUpdateServerBeReached
Indicates whether the update server is reachable.
In addition to the parameters already explained, the following variables must be created / transferred for the implementation in TwinCAT 3:
VAR
bCanUpdateServerBeReached : BOOL;
OutputCanUpdateServerBeReached : BOOL;
hrCanUpdateServerBeReached : HRESULT;
fbSoftwareItemIdentification : FB_SoftwareItemId;
END_VAR
hrCanUpdateServerBeReached := fbSoftwareItemIdentification.CanUpdateServerBeReached(
bExecute := bCanUpdateServerBeReached
ConnectionHandle := depragSmartConnection.ConnectionHandle,
OutputData => OutputCanUpdateServerBeReached);
IF hrCanUpdateServerBeReached <> S_FALSE THEN
bCanUpdateServerBeReached := 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".