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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...