Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many error messages with TwinCat 4024.55 #22

Closed
urbanmc89 opened this issue May 29, 2024 · 6 comments
Closed

Many error messages with TwinCat 4024.55 #22

urbanmc89 opened this issue May 29, 2024 · 6 comments
Labels
bug Something isn't working question Further information is requested

Comments

@urbanmc89
Copy link

We had to change the TwinCat from version 4024.32 to 4024.55 due to driver problems on a new Beckhoff computer. Since the change to the 55 version, I can no longer compile the program as long as TcLog is active. There are problems recognizing the contents of the library.
If I switch back to 4024.32 on the same PC, everything works again.

There will then be 120 error messages. Here are a few as an example:

  • Expression of type 'BOOL' expected in this place
  • Functionblock 'TcLog' must be instantiated to be accessed
  • Unknown type: 'TcLog.ErrorCodes.ClosingFileFailed'
  • Unknown type: 'TcLog.ErrorCodes.EnumeratingFilesInSpecifiedDirectoryFailed'
  • Unknown type: 'TcLog.LogLevels.Fatal'
  • Unknown type: 'TcLog.LogLevels.Error'
  • Unknown type: 'TcLog.LogLevels.Warning'
  • Unknown type: 'TcLog.LogLevels.Information'
  • Unknown type: 'TcLog.LogLevels.Debug'
@seehma
Copy link
Contributor

seehma commented May 29, 2024

How are you referencing TcLog? can you show us the Properties Window?
Did you try to install it via Twinpack or did you install it manually?

@Poor-Tony
Copy link

I ran into the same issue, also with 4024.55. Had the exact same 120 error messages. Updated to 4024.56, didn't help. Went back to 4024.53, that solved it.
I installed the library manually.

@bengeisler
Copy link
Owner

Hi!

Thanks for bringing this up. I'll look into it.

How are you referencing TcLog? can you show us the Properties Window? Did you try to install it via Twinpack or did you install it manually?

Could you provide information to this question?

And did you check this guide in #21?

@bengeisler bengeisler added bug Something isn't working question Further information is requested labels May 30, 2024
@seehma
Copy link
Contributor

seehma commented May 30, 2024

I think its the same problem as in the other issue.
Just go on the library and then right click on it -> open Properties.
Then in the properties window check if "Qualified access only" is set to TRUE;
grafik
Also make sure that you access all types and objects from the TcLog library with the right namespace...

@bengeisler
Copy link
Owner

The latest release fixed this by providing a different namespace. You should be able to use it in 4024.55 without any changes.

@urbanmc89
Copy link
Author

Sorry for my late response.
Thank you for finding and fixing the problem so quickly.
Best regards
Björn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants