In this example, the same POU header is used for all programming languages. For an example
Example
using IL (instruction list), please refer to the online help.
POU header
In the POU header, all input and output variables are declared that are used for programming this
function.
LD
ST
When programming with structured text, enter the following:
output_value:=DFI(input_value);
Edge detection instructions
887