You'll use the Import Siemens Address Configuration wizard to import tags from a Siemens PLC into the software platform. Start by providing the PLC's IP address, rack, slot, and other connection details. Choose to import tags from a file or directly from TIA Portal. For S7 1200/1500 PLCs, ensure TIA Portal is configured to allow remote communication and that "Optimized block access" is disabled. Finally, select your XML file or connect to TIA Portal and click "Refresh" to import available tags.
On this page:
On the Solution Designer, go to Solution/Import Tags and select "Import Siemens Address configuration." Double click on selected wizard or press the "Execute" button to open the initial configuration popup.
In the initial configuration dialog, enter the Siemens PLC information:
Model 300/400
The S7-300 and S7-400 are traditional, modular PLCs known for their flexibility and use in more complex automation systems. They often utilize the PROFIBUS or PROFINET communication protocols, depending on the specific modules and configurations in use.
Model 1200
The S7-1200 is part of Siemens' newer generation of PLCs. It's more compact and designed for small to medium automation tasks. It primarily uses PROFINET for communication.
The "Sync Device Node" dialog will appear. Here, you have two import options:
Select "Add NodeName as Prefix" option to automatically add the PLC's name as a prefix to all imported tags. It improves organization, especially in solutions with multiple PLCs.
Click "Refresh" to display a preview of available tags.
Finally, press "Ok" to start the import process.
To communicate the device Siemens S7 1200/1500 with the platform correctly, two configurations in TIA Portal are needed.
In the first one, you need to check if the communication with a remote partner is allowed.
You can check that on Protection & Security → Connection Mechanism. Make sure that the following box is checked.
In the second configuration, you need to configure the Program Blocks and disable "Optimized block access". To do so, you can follow the procedure below:
The next step is to load the file, which be a file with extension .xml or import from TIA Portal — the automation software of Siemens.
Finally, click Refresh and observe which tags are available to be imported. The image below does not show it because there is no document inserted.
Where:
< TIA Portal > = It works only when TIA is in the same machine as the software platform. The tested version is 15.1 and version 16, and the file was SolutionName.ap15_1. It is no use that the extension is .ap15_1. When we select the TIA Portal option, the syntax required is <SolutionName.ap15_1>;<DeviceName> = Where the first parameter is the filename of the TIA project and the second one refers to the name of the device that you want to import in the solution.
< .xml > = This file can be generated in TiaPortalOpennessDemo.exe. Click the following link: generate_xml . To do so, follow these 4 steps:
In this section: