Jump to content

System Error struct is not being used. Consider using it to get error indications


Mark Vonckx

Recommended Posts

Thank you for the reply.

I always get the message of the struct not being used, after compiling.

this leaves me two options:

Implement this in the program. However, it is not clear how this should be done.

or find a way to avoid having the message as it is enoying.

If you can send me a guide how to implement the struct this would be very helpfull.

Link to comment
Share on other sites

  • 1 year later...
On 11/8/2022 at 4:54 AM, Mark Vonckx said:

Thank you for the reply.

I always get the message of the struct not being used, after compiling.

this leaves me two options:

Implement this in the program. However, it is not clear how this should be done.

or find a way to avoid having the message as it is enoying.

If you can send me a guide how to implement the struct this would be very helpfull.

Info on how to use this struct would be great

 

Link to comment
Share on other sites

I have some of the tags in the struct shown as read only on the HMI displayed in an ADMIN section of my project.
This does get rid of the warning when compiling, but I might be using the struct wrong for all I know.
I guess it can be tied in with alarms, but this might be overkill.

image.png.ac34c4737b7a7b35bd3b44ead94ee071.png

Link to comment
Share on other sites

It would be very helpfull you could use a standard function that will fill in the text on the different errors.

Now you get the error reference list, but you still have to type in all the messages.

As it is a System related error list, it could be a standard function, easy to implement and to use.

Maybe this would make life too easy?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.