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:
- Create a
Libraryproject in a cloud workspace. -
Add the
ax2tiatool in the Terminal window:apax add --dev @ax/ax2tia -
Add a script block to apax.yml:
scripts: export-tia-handover-documents: ax2tia -i ./bin/1500/*.lib -o ./bin/handover-folderFor 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 sinuNote
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.
-
Implement the library and generate the handover files:
apax build apax export-tia-handover-documents -
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. -
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.