Create TIAX library with debug-symbols - Manual - AX2TIA - This package contains the documentation for ax2tia - Converting SIMATIC AX libraries to TIA Portal libraries,

AX2TIA CLI Tool (ax2tia)

Portfolio
SIMATIC AX
Product
AX2TIA
Software version
9.1.8
Edition
11/2024
Language
English (original)
Package Name
@ax/ax2tia-docs

The TIAX library can be built as described in exporting SIMATIC AX libraries to TIA Portal. This will yield a library without debug-symbols. The library must be created with debug-symbols before it can be debugged. This involves adding the following snippet to the apax.yml file.

variables:
  APAX_BUILD_ARGS:
    - "--debug"

Once the library has been built, it must be integrated into your TIA Portal project and downloaded to a PLC. The debug-symbols will then be present on the PLC and debugging can begin.

Warning

Debugging will not work for AX blocks in the main Program Blocks folder or if a block has been manually renamed in the TIA Portal project.

NOTICE

To debug AX blocks, add them to a software unit in your TIA Portal project.