Home » Configuration of Input and Output Tags in Siemens Scada and PLC
PLC Tutorials

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

Read Next:

Share With Your Friends

Related Articles

Allen Bradley PLC Interview Questions and Answers

S Bharadwaj Reddy

Timer during Motor Direction Change PLC Program

S Bharadwaj Reddy

How to Interchange ON Delay Timer and OFF Delay Timer in a PLC

S Bharadwaj Reddy

PLC Permissive for Motor Control

S Bharadwaj Reddy

DCS

S Bharadwaj Reddy

Download Allen Bradley RSLogix PLC Software

S Bharadwaj Reddy

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Configuration of Input and Output Tags in Siemens Scada and PLC

WordPress Image Lightbox
Send this to a friend