background image

 

Step 4: Setting up the PLC TAG table 

 

SITRANS LT500 with PROFIBUS and PROFINET in TIA Portal V16 
Application examples, 04/2022, AG022322 

21

 

5.

 

Navigate to the “PLC Tag” list under the “S7-400” PLC and double-click on it to open the tag 

list. In the sample project, we have already created TAG names for the I and Q addresses. 

 

6.

 

Highlight the S7-400 from the main project tree and then select “Download to device” from 

the “Online” menu. 

 

Summary of Contents for SITRANS LT500

Page 1: ...n TIA Portal V16 Application examples 04 2022 AG022322 Overview 1 Equipment 2 Objective 3 Hardware setup 4 Step 1 Installing the GSD or GSDML file 5 Step 2 Setting the device name 6 Step 3 Setting up the device modules and process values 7 Step 4 Setting up the PLC TAG table 8 Step 5 Setting up the watch table 9 ...

Page 2: ...ed only by personnel qualified for the specific task in accordance with the relevant documentation in particular its warning notices and safety instructions Qualified personnel are those who based on their training and experience are capable of identifying risks and avoiding potential hazards when working with these products systems Proper use of Siemens products Note the following WARNING Siemens...

Page 3: ... Table of contents 1 Overview 4 2 Equipment 5 3 Objective 6 4 Hardware setup 7 5 Step 1 Installing the GSD or GSDML file 8 6 Step 2 Setting the device name 10 7 Step 3 Setting up the device modules and process values 13 8 Step 4 Setting up the PLC TAG table 19 9 Step 5 Setting up the watch table 22 ...

Page 4: ..._00 and video tutorial The guide and video demonstrate how the SITRANS LT500 with PROFIBUS and PROFINET communication modules are configured in TIA Portal The sample project demonstrates how to 1 Install a GSD or GSDML file 2 Set the PROFINET device name for the SITRANS LT500 3 Configure the hardware and process values 4 Create a PLC tag table 5 Create a watch table to read write the process value...

Page 5: ... V16 Application examples 04 2022 AG022322 5 Equipment 2 Equipment Equipment SITRANS LT500 SITRANS LT500 PROFIBUS DP module PC or laptop with TIA Portal V16 SITRANS LT500 PROFINET module LT500 TIA PBPN V1_00 sample project SITRANS LT500 instruction manual ...

Page 6: ... V16 6 Application examples 04 2022 AG022322 Objective 3 The objective of this application guide is to become familiar with the configuring the SITRANS LT500 in Siemens TIA Portal V16 Configure a PROFIBUS and PROFINET LT500 and read and write process data ...

Page 7: ...truction manual you are ready to start configuration with TIA Portal Reminder If you are connecting the SITRANS LT500 on a PROFIBUS DP network ensure the termination switches are ON or OFF If the SITRANS LT500 is at the end of the PROFIBUS DP network you must set the termination switches to ON on the communication module If you are connecting the SITRANS LT500 on PROFINET you will need to connect ...

Page 8: ...e for the PROFINET communication module The procedure is the same for the PROFIBUS DP GSD file 1 On the SITRANS LT500 product page go to the Support tab and then select Downloads Choose the PROFINET GSDML link for the PROFINET Communication module and download the XML file and BMP picture file 2 Open TIA Portal and select Manage general station descriptions files from the Settings menu 3 Browse to...

Page 9: ... with PROFIBUS and PROFINET in TIA Portal V16 Application examples 04 2022 AG022322 9 4 Select the GSDML file and click Install 5 Once the GSDML file has been installed you can close TIA Portal will now update its hardware catalog with the new GSDML file ...

Page 10: ...nd open the sample project LT500 TIA PBPN V1 00 The first step in setting up our SITRANS LT500 on a PROFINET network is to assign it a device name In TIA Portal the is a function to scan the PROFINET network for devices 1 Using the Online access select the network card you are using to connect to your network and click on the Update accessible devices ...

Page 11: ...he device on your network which only shows a MAC address confirm this is the SITRANS LT500 by looking at the HMI and going to the Communications menu to view the MAC address 3 Select Online Diagnostics and go online to the SITRANS LT500 4 Enter the PROFINET device name and select Assign name to set the device name and close the online window ...

Page 12: ... the device name SITRANS LT500 with PROFIBUS and PROFINET in TIA Portal V16 12 Application examples 04 2022 AG022322 5 Once again select Update accessible nodes to rescan the network 6 The LT500 now has a device name ...

Page 13: ...22322 13 Step 3 Setting up the device modules and process values 7 1 Expand the project tree and double click Devices and Networks In the Devices and Networks window double click on the SITRANS LT500 connected to the PROFINET network to open the device and show the device module configuration ...

Page 14: ...ss values SITRANS LT500 with PROFIBUS and PROFINET in TIA Portal V16 14 Application examples 04 2022 AG022322 2 In the sample project we have already added some modules You can change the module configuration if you require other process variables ...

Page 15: ...es for each module These will be used in our TAG table Note To add or change the modules you can select a different module from the Module list Drag the module in to the relevant slot and enter the I or Q address depending if the module is an input or output 4 Double click on the SITRANS LT500 to show the properties of the device 5 In the properties window enter the device name in our example LT50...

Page 16: ...n we have I and Q address assigned to the various module process values In our example we have inserted Level module PT1 Volume module PT1 Sensor temperature PT1 Relay status module Note To add or change the modules you can select a different module from the Module list Before adding a new module you need to delete the original module from the slot If no module was originally there you delete the ...

Page 17: ...nter the PROFIBUS slave address for the SITRANS LT500 This is the address that you enter in to the HMI under Communications Slave address Note If you want to add additional SITRANS LT500s to the network you can do so by adding them from the device catalog In the network view drag the SITRANS LT500 from the catalog for either PROFIBUS or PROFINET Click on the blue writing Not assigned on the SITRAN...

Page 18: ...modules and process values SITRANS LT500 with PROFIBUS and PROFINET in TIA Portal V16 18 Application examples 04 2022 AG022322 For PROFIBUS DP click on the blue writing Not Assigned on the SITRANS LT500 to connect it to the DP bus ...

Page 19: ...d Q memory addresses that we assigned in our hardware configuration 2 Navigate to the PLC Tag list under the S7 1500 PLC and double click on it to open the tag list 3 In our sample project we have assigned TAG names and data types to the I and Q addresses for the PROFINET modules The TAG list will be used by the PLC program or Watch table to read and write data to the SITRANS LT500 ...

Page 20: ...e PLC TAG table SITRANS LT500 with PROFIBUS and PROFINET in TIA Portal V16 20 Application examples 04 2022 AG022322 4 Highlight the S7 1500 from the main project tree and then select Download to device from the Online menu ...

Page 21: ...amples 04 2022 AG022322 21 5 Navigate to the PLC Tag list under the S7 400 PLC and double click on it to open the tag list In the sample project we have already created TAG names for the I and Q addresses 6 Highlight the S7 400 from the main project tree and then select Download to device from the Online menu ...

Page 22: ...plication examples 04 2022 AG022322 Step 5 Setting up the watch table 9 The watch table will allow us to read and write process values to the SITRANS LT500 without having to write any PLC code 1 Navigate to the Watch and Force table under the S7 1500 PLC and open it ...

Page 23: ... variable simply start typing the name of the PLC tag in the name field and the TAG variables that you created will appear in a list Select the TAG you want to use in your watch table and press enter to add the TAG 3 Go online with the PLC to view the live data by clicking on the Monitor all button or from the Online menu Monitor all From the watch table you can now view the process values live fr...

Page 24: ...field Select the Modify all selected values button to update any changes Enter the totalizer function code in to the Modify value field and then push the Modify all selected values button For example to reset the Totalizer you will enter a value of 1 in to the Modify value filed To restart the totalizer you enter a value of 4 in to the Modify value field Don t forget to click on the Modify all sel...

Reviews: