ns=2;s=DEPRAG Smart/Devices/DEPRAG/AST/ActiveDevices/0/Settings/ScrewdrivingRelated/GetScrewdrivingRelatedSetting
Retrieves the settings of the screwdriving process.
In addition to the parameters already explained, the following variables must be created / transferred for the implementation in TwinCAT 3:
VAR
bAstGetScrewdrivingRelatedSetting : BOOL;
outputAstGetScrewdrivingRelatedSetting : ST_AstGetScrewdrivingRelatedSettingOutputData;
hrAstGetScrewdrivingRelatedSetting : HRESULT;
fbAst : FB_AST;
END_VAR
hrAstGetScrewdrivingRelatedSetting := fbAst.GetScrewdrivingRelatedSetting(
bExecute := bAstGetScrewdrivingRelatedSetting,
ConnectionHandle := depragSmartConnection.ConnectionHandle,
sDeviceId := '0',
OutputData => outputAstGetScrewdrivingRelatedSetting);
IF hrAstGetScrewdrivingRelatedSetting <> S_FALSE THEN
bAstGetScrewdrivingRelatedSetting := 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".