IntegratedRobotics V1.3 Staeubli library version problem

Symptoms

  • A project that worked before reports an error during compile.
  • It reports an BOOL conversion error and error 'o22 is no component of T_OUTBITREGISTER2'.
  • Version of Integrated robotics is V1.3, but maybe it can affect other versions too.

Cause

  • The root cause is in the library Staeubli (uniVALplc_client_s4.4.compiled-library) which is set to always use effective version (*) instead of fixed version number. That means if you open newer projects, with newer version of this library, the new library is copied to your C:\TwinCAT library folder and after opening older project again, the newest and incompatible version is used.

  • If you switch Resolution of placeholder to use fixed version number it is switched back after next export from OES.

Solution

  • Object should be bugfixed to use fixed version number of library in the same way like other Nexeed libraries.
  • Set fixed version number in TwinCAT. It will work only until next OES export.
  • Open TwinCAT library manager and remove all newer versions of the library. It will work only until some project with newer version is opened and newer library is copied again to C:\TwinCAT.

     


     


 

 

 

 

Best reply by nexidator

OK... So, I would recommend to update to the latest 4022 TwinCAT XAE. All 4022 development environments are compatible with each other and with all 4022 runtimes, so this should not be a problem.

View original
3 replies
Resolved