Autor Thema: Built error on CodeSysv2.23  (Gelesen 6401 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline elektronikmuh

  • Newbie
  • *
  • Beiträge: 3
    • Profil anzeigen
    • E-Mail
Built error on CodeSysv2.23
« am: 23. August 2009, 10:52:50 »
 Hi all
 I have add Oscatlibv3.10 library file into CodeSysv2.3. When i try to write simple program it's prompt me built error that i dont understand where is my mistake, can you help me?
 My sample program link:http://rapidshare.com/files/270460060/Sample.pro.html
 Thanks for all reply...

Offline hugo

  • Global Moderator
  • *****
  • Beiträge: 2 150
    • Profil anzeigen
Re: Built error on CodeSysv2.23
« Antwort #1 am: 23. August 2009, 12:30:17 »
your program works just fine.
to be more readable and for better programming structure you should delare your variables in plc_prog and not as global vars.
you are not using any functions from the oscat library at all.

i suspect you have the following problem:

depending on your target selection under resource / targets you can select the max number of Bausteine.
this entry should be set to 1023 becuase of aprox. 800 components in the oscat library.
codesys will compile all library components even the ones not used at all.
 

Offline elektronikmuh

  • Newbie
  • *
  • Beiträge: 3
    • Profil anzeigen
    • E-Mail
Re: Built error on CodeSysv2.23
« Antwort #2 am: 23. August 2009, 12:59:29 »
 Hi Hugo
 Yes you are right, the problem is solved that i have changed the max number of POU with selecting under resource / target settings different CPU . After that i add oscat functions on my program it's works well.
 Thanks for your help.
 Best regards.