Hello, I saw some material on creating Functions/Function blocks and its usage in LD code. However, I cannot find anything in structured text. I have a basic function that I would like to use in structured text.
When I pull the function in my main program, I do see the below code

Can you please provide an example on how to use the above function in structured text.
Thanks!
Hello,
when you drag the function into the editor you will get a template of that function. You have to replace the placeholders with variables, e.g.
xResult := DigInProcess(iRawValue,iHMIValue,xHMIOverride);
The values of your function are of type BOOL. I guess this needs to be changed.