ns=2;s=DEPRAG Smart/Utilities/StringOperations/ToLower
Converts all uppercase letters of the specified text to lowercase.
In addition to the parameters already explained, the following variables must be created / transferred for the implementation in TwinCAT 3:
VAR
bStringToLower : BOOL;
OutputDataStringToLower : ST_StringOutputData;
hrStringToLower : HRESULT;
fbStringOperations : FB_StringOperations;
END_VAR
hrStringToLower := fbStringOperations.StringToLower(
bExecute := bStringToLower,
ConnectionHandle := depragSmartConnection.ConnectionHandle,
Value := 'Ich bin ein String',
ValueLength := SIZEOF('Ich bin ein String'),
OutputData => OutputDataStringToLower);
IF hrStringToLower <> S_FALSE THEN
bStringToLower := 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".