This article is about the configuration of input and output tags while establishing communication between SCADA and PLC using Siemens TIA portal.
As there is already an article published on communication here, I will explain to you to define input and output tags with an example.
Open the TIA portal. Create a new project. First, select the controller and then select HMI.
Here, for example, I have created a DOL starter. Have a look into the below window.
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”.
The following window will open. Double click on “ add new” to add tag name.
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.
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.
Now, Open HMI screen. Add Two pushbutton and one motor lamp indication from the right-hand side library as shown in the below window.
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.
Do follow the same step to add STOP and MOTOR as shown in the below window.
Click on the simulate icon as shown in red square.
Also, simulate the plc program.
Test the logic. When START is ON output will ON.
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.
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.
Read Next:
In this article, you will learn the STAR DELTA programming using PLC controller to start…
Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…
Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…
This article explains how to blink lights in ladder logic with a detailed explanation video…
In this article, a simple example will teach you the conversion from Boolean algebra to…
In this article, you will learn the PLC cooking timer example for kitchen automation using…