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! 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. 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 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. 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. 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now