Jump to content
sbeekman

V570 W/ Multiple Warning Screens

Recommended Posts

I'm trying to troubleshoot a program where it has a check status on startup. The way the program was written it checks all major inputs at startup when the main display is loaded. It basically checks 4 main inputs, Emergency Stops, Water Detection, High Level and Low level. My main problem is the way it was written is that they all active 1 MB (which I don't think is right). So the 4 seperate screens fight each other. It looks kind of like this:

Estop [P]----------------MB Scan Bit

Estop [N]

Water Detection [P]

Water Detection [N]

High Level [P]

High Level [N]

Low Level [P]

Low Level [N]

Then the 4 all have something similiar to this:

MB Scan Bit [ ]-----------Estop Active [ ]-----------Display Estop Active

MB Scan Bit [ ]-----------Water Detection Active [ ]-----------Display Water Detection

MB Scan Bit [ ]-----------High Level Active [ ]-----------Display High Level

MB Scan Bit [ ]-----------Low Level Active [ ]-----------Display Low Level

I've found that the low level takes priority and the Estop Screen is low priority. My only solution I could think of would be to have all the warnings on one screen, and if they were activated it would show just those that were activated. The client is more in favor of having a different warning screen for each individual one. Is there a better way to do this with the existing code or is it just better to rewrite the code so that each event has it's on bit? thanks in advance

Share this post


Link to post
Share on other sites

If the customer wants separate screens, then you'll have to write logic to determine which one wins based on their priority level. The logic you've demonstrated above does not assign priority - all alarms are equal. What you'll wind up with are flashing screens if more than one alarm is active.

Upload your program and give us a prioritized list of the alarms so that we may assist.

Joe T.

Share this post


Link to post
Share on other sites

In addition to what Joe points out, you also need to make sure your common fault MB and the actual individual fault bits are not continously active. Otherwise it will just continuously reinvoke the screen call and cause all sorts of problems.

The V570 has a decent size screen. I can't imagine not just putting all four of these on one screen and let them all show simultaneously.

Your customer may be making your job more difficult by thinking that separate screens are "simpler"

  • Upvote 1

Share this post


Link to post
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...