TEOWK
Member
Dear All,
I was trying to write a function and call that function in NAIS FPWIN Pro Structure text format. In FUNCTION BLOCK format it works well. However, when I work with structure text, the erroe "No overloading of funtion FUN1 takes 3 parameters". PLease advise.
FUN1(BOOL):
DATA TYPE: BOOL1, BOOL2 , BOOL3 are VAR_IN
FUN1:= BOOL1 AND BOOL2 AND BOOL3;
MAIN PROGRAM:
DATA TYPE: Result is Boolean BOOL
Result:=FUN1(X1, X2, X3)
Thank you.
I was trying to write a function and call that function in NAIS FPWIN Pro Structure text format. In FUNCTION BLOCK format it works well. However, when I work with structure text, the erroe "No overloading of funtion FUN1 takes 3 parameters". PLease advise.
FUN1(BOOL):
DATA TYPE: BOOL1, BOOL2 , BOOL3 are VAR_IN
FUN1:= BOOL1 AND BOOL2 AND BOOL3;
MAIN PROGRAM:
DATA TYPE: Result is Boolean BOOL
Result:=FUN1(X1, X2, X3)
Thank you.