function CODESYS code example
Example 1: function CODESYS
FUNCTION <function> : <data type>
Example 2: function CODESYS
fun(in1 := 1, in2 := 2, out1 => loc1, out2 => loc2);
Example 3: function CODESYS
<function> (<function output variable1> => <output variable 1>, <function output variable n> => <output variable n>)