Configuration of Input and Output Tags in Siemens Scada and PLC

This article is about the configuration of input and output tags while establishing communication between SCADA and PLC using Siemens TIA portal.

Configuration of Input and Output Tags

Configuration of Siemens Scada and PLC

As there is already an article published on communication here, I will explain to you to define input and output tags with an example.

Step 1:

Open the TIA portal. Create a new project. First, select the controller and then select HMI.

Step 2:

Here, for example, I have created a DOL starter. Have a look into the below window.

DOL starter ladder logic program

Step 3:

Now, on the left-hand side expand the “HMI” option as shown in the below window.

In the “HMI tag” section double click on “show all tags”.

Assign Tags in HMI

Step 4:

The following window will open. Double click on “ add new” to add tag name.

Show all HMI tags

Step 5:

Add the name of the tags, as I have used START, STOP, MOTOR in PLC program.

Expand the “PLC tag” section. Choose “PLC tags” and double click on the “default tag table”. Choose START as shown in the below window. Hit the right checkmark to add to the HMI tag table.

PLC tag

Step 6:

Again click on “add new” and do follow the same step as above to add STOP and MOTOR in the list and save the project.

Tia Portal HMI Tags

Step 7:

Now, Open HMI screen. Add Two pushbutton and one motor lamp indication from the right-hand side library as shown in the below window.

Open HMI screen

Step 8:

Hit double click on the START push button. In properties tab select “general”.

Expand tag as shown in the below window and choose START and hit the right checkmark. This will add PLC tag to HMI START pushbutton.

Creating Tags for Inputs and Outputs on the Siemens PLC

Step 9:

Do follow the same step to add STOP and MOTOR as shown in the below window.

Default Tag Table in Siemens PLC

Step 10:

Click on the simulate icon as shown in red square.

Also, simulate the plc program.

Simatic HMI Touch

Step 11:

Test the logic. When START is ON output will ON.

Siemens S7 Input & Output Mapping Tutorial

Step 12:

Pressing STOP will STOP the motor. To turn this facility ON and OFF from HMI simply replace memory bit or add in parallel with the program.

Configuration of Input and Output Tags in Siemens Scada and PLC

Author: Suhel Patel

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

Leave a Comment

Share via
Follow us and never miss an update!