Configuration of Input and Output Tags
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.
- Troubleshoot PLC Program
- Create Logic with InTouch
- Siemens PLC Memory Structure
- Configuration of Profibus Network
- Types of Interrupt in Tia Portal