How-To Guides
DeviceHub Guides
Use the Siemens S7 Browse Agent
12min
with the siemens s7 browse agent, you can export tags and variables from a tia portal project and import them into manufacturing connect edge using the devicehub automated tag generation tool before you begin create a tia portal project that includes the tags you want to add the device you create in devicehub see tag data type conversions docid\ uzjaas8qu eqbmxe o2au to learn more the tia portal files are located in the your program installation folders if you have tia portal v15, they are located in program files > siemens > automation > portal v15 > public api > v15 if you have tia portal v15 1, they are located in program files > siemens > automation > portal v15 1 > public api > v15 1 download one or both of the following zip files based on which version of tia portal you have if you have tia portal v15, download this file https //archbee doc uploads s3 amazonaws com/ssuuxkzuk9bftepnn 6zo/idzlwixljkr8waz4yioo2 tiaportalfilesversionv15 zip if you have tia portal v15 1, download this file https //archbee doc uploads s3 amazonaws com/ssuuxkzuk9bftepnn 6zo/tappm4d2ns2f qcvyjme1 tiaportalfilesversionv151 zip if tia portal is open, close it use the siemens s7 browse agent using the siemens s7 browse agent includes the following tasks step 1 add siemens s7 advanced device to devicehub step 2 extract devicehub automated tag generation tool step 3 copy and paste dll files step 4 retrieve parameters for devicehub automated tag generation tool step 5 configure devicehub automated tag generation tool step 6 export tags to csv file step 7 upload tags to manufacturing connect edge step 8 repeat steps for other tia portal zip file step 1 add siemens s7 advanced device to devicehub to add the siemens s7 1500 device to devicehub in manufacturing connect edge, navigate to devicehub > devices click add new device the connect device dialog box appears in the device type drop down list, select siemens in the driver name drop down list, select siemens s7 advanced (gen1) configure the parameters for the device see connect a device docid\ nm1lqfefya dsiffitity and siemens s7 advanced (gen1) docid\ tru itrxenjgyzt5s7kir to learn more step 2 extract devicehub automated tag generation tool to extract the devicehub automatic tag generation tool in windows explorer, extract the contents of one of the following zip files tia portal files version v15 zip or tia portal files version v15 1 zip open the extracted folders until you view the the files devicehub automated tag generation exe and siemens dll step 3 copy and paste dll files to copy and paste the dll files in your program installation folders, navigate to program files > siemens > automation > portal v15 > public api > v15 or program files > siemens > automation > portal v15 1 > public api > v15 1 (depending on the zip file extracted in "step 2 extract devicehub automated tag generation tool" ) copy the following files siemens engineering dll and siemens engineering hmi dll paste the files into the devicehub automated tag generation tool folder for v15 or v15 1 step 4 retrieve parameters for devicehub automated tag generation tool to retrieve parameters for the devicehub automated tag generation tool in manufacturing connect edge, navigate to devicehub > devices for the siemens s7 advanced device tile, click the copy device id icon and paste it somewhere for reference later navigate to system > tokens in the rest api keys section, click the add rest api key icon enter a name for the token in the key name field, and then click create api key in the value column for the key, click the copy icon and paste it somewhere for reference later step 5 configure devicehub automated tag generation tool to configure the devicehub automated tag generation tool from the v15 folder, double click the devicehub automated tag generation exe file the devicehub automated tag generation dialog box appears click the project diff file browse icon and navigate to documents > automation > v15 project the v15 project is the name you gave your project in the tia portal click all files to see the tia project file select the file and click open click the csv file browse icon, navigate to the folder you want to store the csv file, enter v15 tags in the file name field, and then click save configure the following parameters device id paste the device id that you copied in "step 4 retrieve parameters for devicehub automated tag generation tool" device name enter s7 1500 address enter the manufacturing connect edge url api token paste the rest api key copied in "step 4 retrieve parameters for devicehub automated tag generation tool" step 6 export tags to csv file to export the tags to a csv file from the devicehub automated tag generation dialog box, click export view the logs pane to see the export process this process may take some time when you see finished in the logs pane, the tags are exported to a csv file navigate to the folder on your hard drive that you designated for the csv file and confirm it was successfully created step 7 upload tags to manufacturing connect edge to upload the tags to manufacturing connect edge from the devicehub automated tag generation dialog box, click upload in manufacturing connect edge, navigate to devicehub > tags confirm the tags from the csv file are successfully uploaded step 8 repeat steps for other tia portal zip file if you have both tia portal versions, repeat the above steps for the other zip file you downloaded