A readable file = CSV file .You could enjoy yourself to 'write' this using a DB but .best solution is to use a OP/TP that can send a CSV file to your MySQL server .A TP177 DP PN can do that ,Get an exact scope of supply from the <Company> We are using S7-412's in combination with OP270's , every alarm is logged into a text file ( CSV format) and then I wrote a little program in Delphi to analyze these text files and insert all the new alarms into a MySQL database .This program runs on the MySQL server.Six months of logging gives me about 4 million records Greetings Eric