Jump to content

Log Alarm History to SD Card And Display the Log


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!

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

Link to comment
Share on other sites

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.