Autor Thema: 3.5 SP17 & OSCAT 3.3.4.0  (Gelesen 4015 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline yann2021

  • Newbie
  • *
  • Beiträge: 2
    • Profil anzeigen
3.5 SP17 & OSCAT 3.3.4.0
« 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?


Offline mattsches

  • Sr. Member
  • ****
  • Beiträge: 268
    • Profil anzeigen
Re: 3.5 SP17 & OSCAT 3.3.4.0
« Antwort #1 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

Offline yann2021

  • Newbie
  • *
  • Beiträge: 2
    • Profil anzeigen
Re: 3.5 SP17 & OSCAT 3.3.4.0
« Antwort #2 am: 26. Juli 2021, 16:16:46 »
Hello,

Many thanks, problem solved!