Using the Web IDE to generate the handover library documents - 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

You can also use the AX Web IDE in a cloud workspace to generate the handover library documents. Note that TIA Portal Library Importer can only be called on a Windows computer on which the TIA Portal is installed.

You can use the TIAX Lib template again to create the library project or create the apax project from scratch with the following steps:

  1. Create a Library project in a cloud workspace.
  2. Add the ax2tia tool in the Terminal window:

    apax add --dev @ax/ax2tia
    
  3. Add a script block to apax.yml:

    scripts:
       export-tia-handover-documents: ax2tia -i ./bin/1500/*.lib -o ./bin/handover-folder
    

    For SINUMERIK ONE, add the following script to apax.yml instead:

    scripts:
       export-tia-handover-documents: ax2tia -i ./bin/sinu/*.lib -o ./bin/handover-folder -t sinu
    

    Note

    To generate handover library documents for SINUMERIK ONE, ensure that the corresponding target is included in the apax.yml file as mentioned in the targets section. When creating handover library documents for the SIMATIC S7-1500 Software Controller, use the option -t swcpu.

    NOTICE

    Do not use a path of your local computer for the handover folder!

    There is no direct connection between the workspace in the cloud and your local computer. The files must instead be downloaded manually (see step 5).

    TIA Portal Library Importer performs an integrity check on the folder containing the handover library documents. If any of the handover library documents are modified, deleted or if new files are added to the folder, import of TIA Portal library fails.

  4. Implement the library and generate the handover files:

    apax build
    apax export-tia-handover-documents
    
  5. Mark all files in the handover folder in the cloud workspace and download them to an empty folder on your local computer.
    If you are using the default Downloads folder, please remove all other files first.

  6. Call the TIA Portal Library Importer manually with the download folder as input and an appropriate folder as output for the TIA global library:

    cd C:\Program Files\Siemens\Automation\Portal V18\bin
    Siemens.Simatic.Lang.Library.Importer -i C:\demo\local-handover-folder -o C:\demo\TIAPortalLibrary
    

A TIA Portal global library is generated in the output folder. It has the file extension *.al[version number] and can be opened in the TIA Portal.