Modifying a "coupling DB" - Manual - TIA2ST - A CLI tool to import TIA Portal project data into a SIMATIC AX project. - TIA2ST - Convert parts of TIA Portal projects to ST code,tool

TIA2ST CLI Tool (tia2st)

Portfolio
SIMATIC AX
Product
TIA2ST
Software version
2.0.24
Edition
01/2025
Language
English (original)
Package Name
@ax/tia2st

You have the flexibility to change and expand a "coupling DB" in the TIA Portal project whenever necessary.

Caution

However, it's crucial to perform the download when the PLC is in STOP mode.

Ensure to delete the active AX application on the PLC entirely by downloading the TIA Portal project in offline mode.

Failure to follow this rule may result in incorrect data access of "coupling DBs"! In the worst-case scenario, you might write to a different memory block, causing the AX application to fail and sending the PLC into STOP mode!

Therefore, adhere to the following steps:

  1. Adjust "coupling DB" in the TIA project.
  2. Set PLC to STOP mode.
  3. Execute an offline download in TIA Portal, which will delete the complete AX application on the PLC!
  4. Use the tia2st tool to generate an updated and consistent library.
  5. Build and download the AX application with the parameter --non-overwriting.
  6. Set PLC to RUN mode.