ns=2;s=DEPRAG Smart/SoftwareItemIdentification/LastTimeForUpdateCheck
Indicates when a check for software updates was last carried out.
In addition to the parameters already explained, the following variables must be created / transferred for the implementation in TwinCAT 3:
VAR
bReadLastTimeForUpdateCheck : BOOL;
OutputReadLastTimeForUpdateChecke : DT;
hrReadLastTimeForUpdateCheck : HRESULT;
fbSoftwareItemIdentification : FB_SoftwareItemId;
END_VAR
hrReadLastTimeForUpdateCheck := fbSoftwareItemIdentification.ReadLastTimeForUpdateCheck(
bExecute := bReadLastTimeForUpdateCheck
ConnectionHandle := depragSmartConnection.ConnectionHandle,
OutputData => OutputReadLastTimeForUpdateChecke);
IF hrReadLastTimeForUpdateCheck <> S_FALSE THEN
bReadLastTimeForUpdateCheck := 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".