Commit Graph

4 Commits

Author SHA1 Message Date
Miguel 0f162377cd S7_DB_Utils funcionando v1 2025-05-18 02:57:49 +02:00
Miguel 00f3b6d2ec Creado x7 para actualizar los valores 2025-05-17 23:54:50 +02:00
Miguel f76f593fef feat: Enhance S7_DB_Utils scripts with configuration loading and Excel documentation generation
- Added configuration loading functionality in x4.py and x5.py to retrieve working directory and other settings.
- Updated x4.py to print the working directory being used.
- Refactored error handling in log.txt to reflect successful execution and improved logging messages.
- Created detailed technical documentation for the parsed S7 data JSON format.
- Added a new script x6.py to generate Excel documentation for Data Blocks (DBs) from parsed JSON data.
- Implemented functions to format data types and flatten members for Excel export in x6.py.
- Improved directory structure documentation in readme.md for better clarity on project organization.
2025-05-17 21:32:11 +02:00
Miguel 884166b60e Add S7 data block and JSON documentation generator
- Created a new data block file `reconstructed_s7_source_stat.txt` containing structured data for HMI Blender parameters.
- Implemented a Python script `x5.py` to generate Markdown documentation from parsed S7 JSON data, including formatting for UDTs and DBs.
- The script includes functions for formatting data types, offsets, and generating tables for members, as well as handling current values and comments.
2025-05-17 14:48:28 +02:00