Compiler Error C0037
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 336. Example of the error:
PROGRAM PLC_PRG VAR i : INT; END_VAR i := TEST(iVar := 1); FUNCTION TEST : INT VAR iVar : INT; END_VAR
Message:
C0037: 'iVar' is no input of 'TEST'
Error correction:
VAR_INPUT iVar : INT; END_VAR