Jump to content

Recommended Posts

Hello,

 

I'm doing a project where I have to save alarms to SD. I have a V570 with 2GB SD card (The SD Card is formatted with SD Card Suite). I set the SB352 (Write alarm history to SD) and it does that, it writes alarms directly to SD card. If I have some alarms in buffer (SI76 value is greater then 0) and I set SB352, the value in SI76 clears and ALARM.UAL is increasing in size. So I think the alarms are written to SD Card.

The problem is when I use the FB "Show alarms" with "Alarm history" option. It shows the history, but after a PLC Init and Reset, the history is cleared. It shows the history from PLC Memory, not from SD Card. So, my question is how should I save alarms to SD and then display them?

 

Thanks!

Share this post


Link to post
Share on other sites

Hi Serban,

The Initialize&Reset command is specifically made for debugging purposes. It initializes ALL the operands values in the PLC and is rarely used in normal system operation.

Normal PLC reset will not cause this issue.

Anyway, all alarm history is still present on the SD card, and it is available to read using Unitronics SD card tools.

Share this post


Link to post
Share on other sites

I use Initialize and reset to simulate a power loss with no memory backup battery...so it's kind of debugging :)

I know that alarm history is still present on the SD Card, but I don't know how to visualize it...? How I do that?

 

Thanks

Share this post


Link to post
Share on other sites

Unfortunately, in case of power loss without battery backup the alarm history memory will be erased. Direct access to the alarms history file stored in the SD card is impossible.

However, you can still use Unitronics software "SD Card Suite" to access the alarm history file.

Share this post


Link to post
Share on other sites

The problem I had: I didn't knew how to visualize the alarm history with SD Card Suite. Now I tried more and I found out that I can read/visualize the alarm history with SD Card Manager by importing data from SD Card into it.

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...