Jump to content
Sign in to follow this  
Fennel

SD card trend load error bit

Recommended Posts

Hello.

I need to save trend on SD card, and logic I'm using is basically a copy from an example project.

But it works in a weird way: 

-when I load screen with my graph, not all elements of the graph are loaded, and "Trend load error" bit is ON

-when I press button to jump to another segment (SB117)  - sometimes it works and sometimes it doesn't. When it does, all element of the graph are loaded and "Trend load error" bit goes OFF. All subsequent presses work in the same way: it either activates error bit and stays on the same graph segment, or bit goes off and next segment loads successfully;

-SB119 that is supposed to be ON when I save new graph data on a card is OFF when I'm doing so. Despite this, saving works fine and new data is added. This SB119 is ON only when a next segment on a screen is in a process of loading.

I didn't find info on what this "Trend load error" is and how to deal with it, and I suggest that all my problems are related to this error.

Excuse me If this explanation is confusing, but this program works in such a confusing way.

Also, is it possible to load some specific date on "trend from SD" or it will always will load the very first data recorded?

first load of the screen.jpg

after chosing a segment.jpg

graph form SD HMI.png

ladder.png

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.

Sign in to follow this  

×
×
  • Create New...