Built error on CodeSysv2.23

Begonnen von elektronikmuh, 23. August 2009, 10:52:50

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 1 Gast betrachten dieses Thema.

elektronikmuh

 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...

hugo

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.