Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>S7-AWL-ToolNew to Visual Studio Code? Get it now.
S7-AWL-Tool

S7-AWL-Tool

F. Leitão

| (0) | Free
Offline catalog and AWL source exporter for Siemens STEP 7 Classic (.zip archives), with UTF-8 to Windows-1252 conversion for STEP 7 import.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

S7-AWL-Tool

100% offline block cataloger, AWL source exporter, and Windows-1252 converter for Siemens STEP 7 Classic Archive (.zip) files right inside VS Code and Antigravity IDE — with no SIMATIC Manager / STEP 7 installation required and no Python dependency.

  • Author: F. Leitão
  • Repository: https://github.com/feliperodolfo/S7-AWL-Tool

Features

  • Archive-Only Safety (.zip): Right-click commands for scanning/exporting appear only on STEP 7 .zip archives and read them directly in memory — never touching uncompressed .s7p project folders. Unrelated .zip files without a .s7p inside are cleanly rejected.
  • Clean Three-Folder Workflow:
    • 01_catalogo/: blocks_index.json, blocks_index.md, symbol_table.csv (UTF-8), symbol_table.sdf (Windows-1252), vats/*.csv, and s7-awl-tool.log.
    • 02_awl_exported/: 1 individual .awl file (UTF-8) per block (OB, FC, FB, DB, UDT), ideal for VS Code editing and AI analysis.
    • 03_awl_to_s7/: selected .awl files converted back to Windows-1252 (cp1252) + CRLF, ready for manual import into STEP 7 Classic.
  • 3 Interactive Selection Modes (for both Export and Generate for STEP 7):
    1. Individual Selection: searchable table by block ID, symbol, or file name.
    2. By Type + All: export or convert entire block categories (OB, FC, FB, DB, UDT).
    3. All Blocks / Files: export or convert everything in one click.
  • English & Português (Brasil): Automatically follows your editor language (auto), or switch manually in settings (s7AwlTool.language).
  • Operation Log: Dedicated S7-AWL-Tool Output panel + 01_catalogo/s7-awl-tool.log.

Requirements

  • OS: Windows 10 / Windows 11 (x64) with PowerShell 5.1 and .NET Framework 4.6.1+ (built-in).

How to Use

1. Catalog & Export from STEP 7 Archive (.zip)

  1. In the Explorer, right-click a STEP 7 Archive (.zip).
  2. Choose:
    • S7-AWL-Tool: Export AWL Blocks... (or Exportar Blocos AWL...) to open the block selector panel and export into 02_awl_exported/.
    • S7-AWL-Tool: Generate Block Catalog (or Gerar Catálogo de Blocos) to generate only 01_catalogo/.
  3. Pick your blocks and mnemonics (English or German) and click Export Selected AWL.

2. Generate AWL for STEP 7 (02_awl_exported/ → 03_awl_to_s7/)

  1. After editing .awl files in 02_awl_exported/, right-click on one or more .awl files or on the 02_awl_exported folder (or its parent output folder).
  2. Choose S7-AWL-Tool: Generate AWL for STEP 7... (or Gerar AWL para STEP 7...).
  3. Confirm or adjust the file selection in the panel and click Generate for STEP 7 (Windows-1252) to write import-ready files into 03_awl_to_s7/.

Extension Settings

  • s7AwlTool.language: Interface language — auto (follow editor language), en, or pt-br.
  • s7AwlTool.defaultMnemonic: Default STL mnemonic style — English or German.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft