Fiddeflygare
Member
Hi all.
I am a student that are taking courses in PLC programming. I have my internship at a company that uses Siemens STEP7 and WinCC Flexible. The problem is that we where thinking of creating a diagnostics log wich in case of a alarm would retrieve information from 15minutes before the alarm occured in a .csv log file and save the values retrieved in a new .csv file. This is made cause of helping diagnose problems and seeking the cause of certain alarms on the machine. Can anyone tell me the easiest way of doing this with a script? Especially how to make the script retreive the values in the normal datalog in the interval 0 to -15 minutes. Can you make the script search and retreive values by making it read the timestamps in a logfile?
Greatful for any help
/Fidde
I am a student that are taking courses in PLC programming. I have my internship at a company that uses Siemens STEP7 and WinCC Flexible. The problem is that we where thinking of creating a diagnostics log wich in case of a alarm would retrieve information from 15minutes before the alarm occured in a .csv log file and save the values retrieved in a new .csv file. This is made cause of helping diagnose problems and seeking the cause of certain alarms on the machine. Can anyone tell me the easiest way of doing this with a script? Especially how to make the script retreive the values in the normal datalog in the interval 0 to -15 minutes. Can you make the script search and retreive values by making it read the timestamps in a logfile?
Greatful for any help
/Fidde