Tags and PLC addresses
Many PLC systems still use addresses behind the scenes. For example, an input address may identify a specific terminal or input channel. A tag can be linked to that address so the program can use a meaningful name.
In a beginner Siemens-style example, a start button might be assigned to an input address and given a tag name such as Start_PB. A green lamp might be assigned to an output address and named Run_Lamp. The exact address depends on the hardware configuration.
Tags and data types
Each tag has a data type. The data type tells the PLC what kind of value the tag holds. A Boolean tag holds true or false. Integer and real-number tags hold numerical values. Other data types are used for timers, counters, text or structured data depending on the PLC platform.
Good PLC tag naming habits
Good tag names are short, clear and consistent. They should explain the purpose of the signal without becoming unreadable. Avoid names such as Input1 or Bit7 when the signal has a real meaning.
Useful beginner names include Start_PB, Stop_PB, Auto_Mode, Motor_Run_Cmd, Run_Lamp and Fault_Reset. Different companies have different standards, but consistency matters more than personal preference.
Where tags fit in TIA Portal
In TIA Portal, tags are part of the engineering project. They help connect hardware addresses, PLC logic, HMI screens and diagnostics. A well-named tag can be used in ladder logic and also displayed on an HMI screen, which keeps the project easier to follow.
For learners, tags are one of the most important concepts to understand early because they link the physical training kit to the software project.
Common beginner tag mistakes
Common beginner mistakes
- Using vague names such as Button1, Output2 or Temp without context.
- Changing tag names randomly halfway through a project.
- Ignoring data types and trying to use a number tag like a true/false signal.
- Assuming a tag name alone proves the wiring is correct. The address and hardware configuration still need to match the real device.
Frequently asked questions
What is a PLC tag?
A PLC tag is a named variable or signal used inside a PLC project to make inputs, outputs and values easier to identify.
Are PLC tags the same as addresses?
No. An address identifies where data is located. A tag is the meaningful name used by the programmer. A tag may be linked to an address.
Why are tag names important?
Clear tag names make logic easier to read, test, troubleshoot and maintain.
What data type should a pushbutton tag use?
A simple pushbutton signal is normally a Boolean value because it is either on or off.
Can HMI screens use PLC tags?
Yes. HMI screens commonly use PLC tags to display status, show values and send operator commands to the PLC.

