Get data block layout #498
Replies: 5 comments 6 replies
-
Hey @lucapiccio, In TIA Portal it is possible to export the DB DataStructure, within a Text file (.db) with the structure of the DataBlock. Problem there aren't any information of the offset address. In Simatic Manager, there are possibility to export the DB in XML (PLCTags.xml) with the WinCC TagConverter (Offset and type included) |
Beta Was this translation helpful? Give feedback.
-
Hi, thank's for the reply, but i know well Tia and S7 and this is not a problem. The idea is write a convertor from S7 to Mysql / sqlite3 with automatic regeneration of tables programmaticaly based on retrived DB Layout. But the problem is that i don't found any doc about how to query SZL (read_szl / read_szl_list) or other system to get DB headers pointers. |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
@nikteliy #196, seems you have written this functionality, maybe you can help ? |
Beta Was this translation helpful? Give feedback.
-
SSL (English) = SZL (German) |
Beta Was this translation helpful? Give feedback.
-
Hi, i'm building a program to transfer S7 Db to SQL (mysql / sqlite). It's done and it works.
It's possible to retrive the db data structure programmaticaly? (pointers and type data)
I need to create a flexible system, if technicien change a type of data or add any variable to db i need to rebuild the structure of communication and db.
I haven't saw anything on the doc for this.
Beta Was this translation helpful? Give feedback.
All reactions