Problem with FT_AVG (in english)

Begonnen von cholopa, 04. Mai 2015, 23:51:42

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 1 Gast betrachten dieses Thema.

cholopa

Hello:

Sorry for writing in English, I do not understand German, I'm Spanish...

I have download the package for codesys (oscat_basic_333.lib), my actual codesys version is 2.3.9.44. I am tring to use it in a WAGO 750.881 PLC.

I want to use the function call "FT_AVG". The issue I have is that when compiling the program I get this error:

"Unknown type 'DELAY'"

Looking at the function., I see that inside a variable call buff is create of the type "DELAY":
.
.
.
VAR
   buff : DELAY;
   i: INT;
   init : BOOL;
END_VAR
.
.
.
.

As far as I know this type of VAR doesn't exist in the version of codesys I have.

Is there anything I can do?

Thanks for your time.

Regards,
Francisco Lopez-Linares.



shrimps

Hi cholopa,
in first time i had some problems understanding the software too...
My best way was to export the whole oscat-lib to an oscat.exp file and then everytime i was looking for something i openend in an standard editor and search for i.e. DELAY and found...
Then Cutn Paste

Hope that helps

Sorry for the "small" english

best regards
Shrimps

martin.k

Hi all,

see the download area there is also a TXT-File available. If you search in the Dokumentation file (PDF): search for "delay...". Result is page 12. There you can click at the link and the viewer jumps to page 280.
Have fun!

Regards,
Martin

Lightcommander

Hi cholopa,

DELAY is a function block of the OSCAT basic lib.
Maybe this one is excluded from building.
You can check this via Menu Project - Options - Build - Exclude Elements.
Search in the tree for the DELAY (folder basic333 - signal) and uncheck the box below the field.
The objects marked green there are excluded and therfore will not be found while building the project.
If this was the problem, it will happen again after rebuilding until all function blocks used are included in building.

I hope I was able to help you
Michael