Page 1 of 1

Alarm history.

Posted: Mon Feb 04, 2013 4:23 am
by wlederer
Hi dear colleagues.
Recently I wrote a script to write to a SD or USB memory an information about alarms happened during the last 64 sessions as a csv file. The information about the alarms is kept in PLC Extended Registers (R area, FX3U, Mitsubishi) and cannot be deleted, except the oldest session at the end of the last session.
Actually, it works, but the task now is to show all alarms at first, on the screen and then, by demand, record to external media. How to do it? How 300...600 lines can be shown on the screen? Something like scroll bar suppose to be used. We use T7A panel.

Regards, Waldemar

Re: Alarm history.

Posted: Mon Feb 04, 2013 9:21 am
by mark.monroe
You could use a ListBox Windows Control and populate it with your data. You will need to transfer the alarms in the R registers just like you do every other address register.
Snap 2013-02-04 at 08.19.16.png
Snap 2013-02-04 at 08.19.16.png (98.17 KiB) Viewed 6686 times

Re: Alarm history.

Posted: Mon Feb 04, 2013 10:51 am
by wlederer
Thank You Mark. I'll try.
Regards, Waldemar