Inclusion of Parts from a TIA Portal Project - Mendix Forum

Inclusion of Parts from a TIA Portal Project

0

I've created a library wich could read TIA Portal Projects from Version 10.5-19 (maybe 20 when I got it).

At the Moment it can for example:

- read the PLC Blocks and export in same format as Openness

- read the Screens in WinCC Advanced Projects, and convert them to a JSON with the all the Elements. (Or show the as HTML), read the Scripts

- read also WinCC Unified Projects

- read also WinCC Prof Screens

- read the complete Project structure

- read compressed TIA Projects

 

are there any Ideas how this could be included into Simatic AX?

 

Sample Software is here: https://www.sps-forum.de/threads/tool-tia-project-browser.116602/

 

asked
8 answers

The tool tia2st can extract the SCL sources directly from the TIA Portal project if TIA Portal (Openness) is installed. If the sources are available as SCL text files, a TIA Portal installation is not required for the "import-scl" command.

Created

As I know, you need TIA Portal. But not 100% sure. I'll clarify it.

Created

Without TIA portal installed?

Created

@Jochen:

 

"But from where do you get the SCL?"

 

Just as information: The tool tia2st can extract the SCL sources directly from the TIA Portal project. 

 

 

Created

- But from where do you get the SCL? With inclusion of my LIB, it could be made possible to open the TIA Project directly from Simatic AX and select it from there (even on Linux or MacOS)

- I know, bu there is another Tool also based on VSCode (don't know the name) wich is for UI, and it should be merged with Simatic AX (at least this was the talk at logimat).

 

I look if I could create a Demo of a extension

Created

Hi Jochen,

 

in SIMATIC AX is already a small tool available, wich converts SCL to ST partly. The command IMPORT-SCL  automates many repetitive and time-consuming tasks. But it's not a 100% conversion.

 

And for better understanding: SIMATIC AX is not designed for HMI engineering. 

 

Regards

Juergen

 

Created

The question here is to get Ideas what could be usefull.

 

I for example could think of an import from TIA Portal Projects. So you could import SCL Blocks directly form TIA into Simatic AX. Of courese, there needs to be a conversion, so they are valid ST Code.

Or import screens from WinCC Adavanced or Unified.

 

The Tool I've written is only a Sample of my TIA Library

Created

Hi Jochen,

thanks for your interest into SIMATIC AX!

 

Since SIMATIC AX is based on Visual Studio Code (VSC) you may put the code behind of your "TIA Project Browser" into a new VCS extension, create new GUI (I think your GUI will not work in a VSC extension) and publish it, so everybody can use it.

But what I want to understand: what should this tool do when it is included into SIMATIC AX?

Do you want to browse TIA Projects from SIMATIC AX? If yes, what is the real use case here and what the benefit?

Why is it interesting for me as a SIMATIC AX-user to browse TIA Projects directly from AX?

Because: I may use your tool next to SIMATIC AX and it would also work fine for me, right? 

Or is your goal to interact directly with the code of SIMATIC AX? Then an extension would be nice!

 

Cheers,

David

Created