SIEMENS & TIA PORTAL

WHAT ARE PLC TAGS?

PLC tags are named variables used to identify signals and values in a PLC project.

Diagram explaining how raw PLC addresses are linked to meaningful PLC tag names and common PLC data types
Quick answer

A PLC tag gives a useful name to an input, output, memory bit or value so the program is easier to read and maintain.

Simple example

Instead of only seeing %I0.0, a learner might use a tag called Start_PB. The address still matters, but the name makes the logic easier to understand.

What is a PLC tag?

A PLC tag is a named item used in the control program. It can represent a physical input, a physical output, an internal memory bit, a number, a timer value, a counter value or another piece of process data.

Tags make PLC programs easier to read. A raw address tells the PLC where something is stored. A tag name tells the engineer what that thing means.

Diagram explaining how raw PLC addresses are linked to meaningful PLC tag names and common PLC data types

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.

BoolTrue or false, often used for buttons, sensors and lamps.
Int / DIntWhole numbers, often used for counts or settings.
RealDecimal values, often used for analogue engineering values.

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.

What Is an HMI?

Once tags make sense, learn how an HMI uses those tags to show machine status and operator controls.

CONNECT. PROGRAM. MASTER.

READY TO BUILD
PRACTICAL CONFIDENCE?

Rising Edge training kits are designed to help learners turn PLC theory into practical confidence using real industrial components.