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

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