Search the Community
Showing results for tags 'log'.
Hi support and forum members I have successfully used the Visilogic project examples to log data using an SD Card. However, the example program uses SB13 to write data to the SD card every 1 second. This is far too frequent for my application. I want to log data every minute, or every 10 minutes. How can I reduce the write frequency? Do I need to use some delay timers? Can anybody assist me with the correct/optimal ladder for this. Picture of code attached. I'd also like to know how to display the free space in MB or GB left on the SD card Best Regards
Hello, I'm just wondering what is the best way to log some informations. I will need following: Login/logout, battery low - switched to charging mode and so on. I will need to have separate display and the log should have time and thing that happened. It will probably have to be in table because it suppose to have "history" feature, like you can list back in time and see what happened. I've been searching for answers in help feature, but i still don't know how exactly do it. Any advices are greatly welcome! Sorry for my bad english. Best regards, Martin P.
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!