serban.b Posted January 13, 2015 Report Share Posted January 13, 2015 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! Quote Link to comment Share on other sites More sharing options...
Eyal Koren Posted January 13, 2015 Report Share Posted January 13, 2015 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. Quote Link to comment Share on other sites More sharing options...
serban.b Posted January 15, 2015 Author Report Share Posted January 15, 2015 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 Quote Link to comment Share on other sites More sharing options...
Eyal Koren Posted January 15, 2015 Report Share Posted January 15, 2015 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. Quote Link to comment Share on other sites More sharing options...
serban.b Posted January 15, 2015 Author Report Share Posted January 15, 2015 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. Quote Link to comment Share on other sites More sharing options...
Marco G Posted February 16, 2015 Report Share Posted February 16, 2015 Hey, The example posted above is a C# example isn't it? I was wondering if there's also a .net example somewhere. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.