Command IMPORT - 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

The import command is engineered to retrieve data about technology objects from a TIA Portal project and to convert them into ST code based on a tia2st template. While the tool comes with some pre-defined templates to simplify the usage of MotionControl libraries in the TIAX Direct Loading workflow, you also have the flexibility to create your own template file to generate code that meets your specific needs.

The sketch below illustrates the basic workflow:

Overview

The tia2st tool utilizes the TIA Portal Openness framework for reading data from a TIA Portal project. For the conversion, it applies a template language, specifically mustache, to ensure a high degree of flexibility and efficiency in the process. This allows precise control over the generated ST code.