OSCAT Forum

oscat.lib => oscat.lib fuer CoDeSys 3 => Thema gestartet von: Fred am 21. September 2012, 11:05:03

Titel: Oscat 3.31 mit Codesys 3.x unter Schneider Somachine 3.0?
Beitrag von: Fred am 21. September 2012, 11:05:03
Halo ich habe die OscatLib 3.31 im Somachine 3.0 installiert.
Es ist alles gut gegangen, ich habe die oscat_basic_331_codesys3.library benutzt.
Aber wenn ich meine projekt Kompiliert bekomme ich viele fehler zb :
Mehrdeutige Verwendung des Namens "R_TRIG"
 [INFORMATION] Standard 3.4.1.0 (System): R_TRIG: Position bezogen
 [INFORMATION] Standard 3.3.0.10 (System): R_TRIG: Position bezogen

Die Somachine bibliotheque enthält eine bibliotheque "Standart, 3.4.1.0(System) und seit Oscat eine andere die sich nennt "BASIC,3.31(OSCAT)" mit eine unter Ordner "Standart, 3.3.0.1(System).

Habe ich was falsch gemacht oder ist was falsch mit Schneider Somachine ?
Titel: Re: Oscat 3.31 mit Codesys 3.x unter Schneider Somachine 3.0?
Beitrag von: jzhvymetal am 05. Oktober 2012, 22:27:30
Use the version located here

http://www.oscat.de/community/index.php/topic,1784.0.html
Titel: Re: Oscat 3.31 mit Codesys 3.x unter Schneider Somachine 3.0?
Beitrag von: Vinnie_VdB am 31. März 2013, 20:19:17
For people that might have the same problem (sorry, can't write German) but this is a setting in SoMachine that will allow yuo to use this latest version of OSCAT library.

The reason is that the name is in conflict with another (standard) library.


The procedure to resolve this problem:
* start SoMachine and choose to open Library File
* search for the installed OSCAT library and open de library
* under the "Program" tab you select the POU view
* open the "Library Manager" in the explorer window
* right Click on the OSCAT library in the window on the right and choose for "Properties"
* a new window opens and select "Newest version Always"
* click on "Save Project And Install In Library Repository" (the symbol next to the "normal" save symbol

This will do the trick. The person that had this problem for sure has already resolved this problem but hope this solution helps others.