OSCAT Forum
oscat.lib => oscat.lib fuer CoDeSys 3 => Thema gestartet von: yann2021 am 17. Juli 2021, 23:14:28
-
Hello,
I use Codesys 3.5 SP17 (32 bits) and OSCAT 3.3.4.0 Basic. I have a building error... has somebody an idea how to solve this problem?
(https://zupimages.net/up/21/28/ztxk.jpg) (https://zupimages.net/viewer.php?id=21/28/ztxk.jpg)
-
In CODESYS V3.5, you need to add the library's namespace as prefix to the declaration. The namespace is defined in the Library Manager in your project. If you set it to OSCAT_BASIC, your declaration should read
VAR
PWM_DC_0: OSCAT_BASIC.PWM_DC;
END_VAR
-
Hello,
Many thanks, problem solved!