Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hi,
i'm trying to use a function from oscat library.
If i use it with CFC it works, but in ST not, for syntax errors or something similar.
I get the error "oscat_basic.ATAN2" is of type FUNCTION and cannot be instantiated.
Can someone tell me the error(s)?
Thanks,
BR
Hi,
i'm trying to use a function from oscat library.
If i use it with CFC it works, but in ST not, for syntax errors or something similar.
I get the error "oscat_basic.ATAN2" is of type FUNCTION and cannot be instantiated.
Can someone tell me the error(s)?
Thanks,
BR
Last edit: mrgoodcat1234 2020-10-12
It is an function, not a FB. == >> Not necessary to declare a variable
thank you Thomas! I correct with the full name of the function and it works!