Message: Function '<function name>' requires exactly '<number of inputs>' input
Possible error cause: Too many or too few parameters are passed to the called function.
Error correction: Pass exactly as many parameters to the function as are expected.
Example of the error:
PROGRAM PLC_PRG VAR i : INT; END_VAR i := TEST(1,2); FUNCTION TEST : INT VAR_INPUT IN: INT; END_VAR --> C0040: Function 'TEST' requires exactly '1' inputs
Error correction:
Example: i := Test(1);