Message: '<invalid input>' is no input of '<function name>'
Possible error cause: A local variable is defined in a function call.
Error correction: Declare the variable as an input parameter.
Example of the error:
PROGRAM PLC_PRG VAR i : INT; END_VAR i := TEST(iVar := 1); FUNCTION TEST : INT VAR iVar : INT; END_VAR --> C0037: 'iVar' is no input of 'TEST'
Error correction:
Example: VAR_INPUT iVar : INT; END_VAR