OSCAT Forum

oscat.lib => oscat.lib fuer CoDeSys 3 => Thema gestartet von: yann2021 am 17. Juli 2021, 23:14:28

Titel: 3.5 SP17 & OSCAT 3.3.4.0
Beitrag 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)
Titel: Re: 3.5 SP17 & OSCAT 3.3.4.0
Beitrag von: mattsches am 21. Juli 2021, 18:07:22
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
Titel: Re: 3.5 SP17 & OSCAT 3.3.4.0
Beitrag von: yann2021 am 26. Juli 2021, 16:16:46
Hello,

Many thanks, problem solved!