Skip to content

Blog / PLC Tag Naming Conventions

PLC Engineering — Tag Standards & Best Practices

PLC Tag Naming Conventions: ISA, IEC 61131-3, and Allen-Bradley Standards

Poor PLC tag naming is one of the most common causes of maintenance delays and troubleshooting errors. A tag named 'B3:0/5' tells you nothing. A tag named 'ConveyorA_RunCmd' tells you everything. Industry standards like ISA-5.1 and IEC 61131-3 provide frameworks for consistent, readable tag names — and plc.company can audit your entire project automatically.

Key Takeaways
  • ISA-5.1 defines instrument tag naming using function codes: FIC (Flow Indicating Controller), PIT (Pressure Indicating Transmitter), etc.
  • IEC 61131-3 requires tag names to start with a letter or underscore and use only alphanumeric characters and underscores.
  • Allen-Bradley Studio 5000 uses tag-based addressing — descriptive names replace numeric addresses like N7:0.
  • A consistent naming convention reduces troubleshooting time from hours to minutes.
  • plc.company audits every tag in your project against ISA and IEC 61131-3 conventions automatically.

Why Tag Naming Matters in Industrial PLC Programs

Tag naming is not a cosmetic choice. In industrial environments, poor tag naming directly impacts maintenance costs, mean time to repair (MTTR), and safety. A technician trying to troubleshoot a conveyor system needs to instantly understand what each tag controls. If your program uses cryptic names like 'B3:0/5', 'N7:43', or 'B9:12/3', you're forcing your team to spend hours cross-referencing documentation instead of solving the problem.

In pharmaceutical manufacturing, medical device production, and other FDA-regulated industries, tag naming conventions are often part of compliance requirements. Regulatory auditors expect to see clear, documented naming standards. A program with inconsistent tag names is a red flag for quality assurance teams.

The difference is measurable: experienced technicians report that consistent, descriptive tag names reduce troubleshooting time from hours to minutes. When a tag is named 'ConveyorA_RunCmd' instead of 'N7:0', anyone reading the code — whether they wrote it or not — immediately understands its purpose.

ISA-5.1 Tag Naming Convention

ISA-5.1 (Instrument Symbols and Identification) is the industry standard for naming instrument and control loop tags. It's used in process industries like oil & gas, chemicals, pharmaceuticals, and utilities. ISA tags are designed to be visible on Piping & Instrumentation Diagrams (P&IDs) and represent the complete measurement and control function of a loop.

The ISA-5.1 tag structure has three parts:

  1. Measured Variable (First Letter)

    F = Flow, P = Pressure, T = Temperature, L = Level, A = Analysis (pH, conductivity, etc.), H = Hand (manual valve), D = Derivative, S = Speed/Frequency

  2. Modifier Codes (Middle Letters)

    I = Indicating, R = Recording, T = Transmitting, C = Controlling, E = Element (sensor)

  3. Output Function (Last Letter) and Loop Number

    C = Controller, V = Valve, A = Alarm, I = Indicating instrument. Loop number follows: FIC-101 = Flow Indicating Controller in loop 101.

Examples:

  • FIC-101 = Flow Indicating Controller, loop 101
  • PIT-204 = Pressure Indicating Transmitter, loop 204
  • TCV-305 = Temperature Control Valve, loop 305
  • LAH-410 = Level Alarm High, loop 410

ISA-5.1 is rarely used directly in PLC tag names because it's designed for P&ID instruments. However, many teams adopt ISA principles for their plant-wide signal naming to maintain consistency between engineering diagrams and control code.

IEC 61131-3 Tag Naming Rules

IEC 61131-3 is the international standard for PLC programming languages. It defines the syntax rules that all PLC languages (ladder logic, structured text, function block diagram) must follow. Unlike ISA-5.1, IEC 61131-3 is about character rules, not about semantic meaning.

The IEC 61131-3 tag naming rules are strict:

  1. Must start with a letter or underscore

    Valid: Motor_Run, _internal, Pump1. Invalid: 2Motor, -Pump

  2. Alphanumeric characters and underscores only

    Valid: ConveyorA_Position, Tag_123. Invalid: Conveyor-A (dash), Tag.123 (period)

  3. Maximum length varies by vendor

    Allen-Bradley Studio 5000 allows up to 40 characters. Some vendors allow 63 or more. Check your PLC documentation.

  4. Case sensitive (usually)

    MotorRun and motorrun are different tags in most PLCs. Be consistent with capitalization.

  5. Reserved words vary by PLC

    You cannot use words like IF, THEN, WHILE as tag names. Different PLC brands reserve different words.

IEC 61131-3 does not mandate any specific naming pattern (like Hungarian notation or NOUN_VERB structure). However, industry best practice recommends one of two patterns:

  • NOUN_VERB: ConveyorA_RunCmd, MotorB_SpeedFeedback, PumpC_AlarmHigh
  • AREA_DEVICE_FUNCTION: Section1_Motor1_Run, Section2_Valve2_Position, Line3_Sensor3_Fault

Both patterns are IEC 61131-3 compliant and improve readability far beyond generic names.

Allen-Bradley Studio 5000 Tag Naming Best Practices

Allen-Bradley PLC systems have undergone a major evolution in tag naming. Older SLC 500 systems used file-based addressing (N7:0, I:1/3, B3:0/5), which is cryptic and error-prone. Studio 5000 introduced tag-based addressing, which allows descriptive names.

In Studio 5000, you create tags at two scopes: Controller scope (global) and Program scope (local). Best practice is to define shared signals at Controller scope with clear, descriptive names, and use Program scope for internal logic variables.

  1. Use Controller-scope tags for I/O and shared signals

    These are visible across the entire project. Use clear names: StartButton, RunRequest, MotorFault, ConveyorSpeed.

  2. Use Program-scope tags for internal logic

    These are local to one program. Good naming: Counter_Pulses, Timer_Delay, State_Machine.

  3. Rockwell recommended prefixes

    Cmd_ for commands (MotorA_Cmd), Sts_ for status (MotorA_Sts), Cfg_ for configuration (MotorA_Cfg), Fb_ for feedback (MotorA_Fb).

  4. User Defined Type (UDT) and Array tag naming

    Name UDTs for their purpose: MotorControlData, SensorArray. Name instances descriptively: MotorA_Ctrl, Section1_Sensors.

  5. AOI (Add-On Instruction) parameter naming

    Use clear parameter names: Input_Speed, Output_Frequency, Enable. Avoid abbreviations that aren't universally understood.

Studio 5000 enforces IEC 61131-3 syntax rules automatically (no special characters, must start with letter). But it does not enforce semantic conventions — that's your team's responsibility.

How to Audit PLC Tag Names Automatically

Manual review of tag naming is impractical at scale. A medium-sized plant might have thousands of tags. Reviewing each one for consistency, spelling, and standard compliance is extremely time-consuming.

Upload your L5X or ACD file to plc.company. The tag naming audit scans every tag in your project and checks it against both ISA-5.1 and IEC 61131-3 standards. The report flags non-compliant names, shows which rungs and instructions reference each tag, and can be exported for compliance documentation.

The audit identifies:

  • Tags with special characters or invalid syntax (IEC 61131-3)
  • Tags that don't follow your team's naming pattern (NOUN_VERB, AREA_DEVICE_FUNCTION, etc.)
  • Inconsistent capitalization or abbreviations
  • Unused tags that can be removed
  • Cross-references showing where each tag is used in the program

This approach has saved large industrial companies thousands of hours in code review and compliance preparation.

Audit Your Tag Names Now

Upload your project and get a full tag naming report — no Studio 5000 needed.

Drop your L5X or ACD file to audit tag names

or browse to select

.L5X.ACD

Frequently Asked Questions

What is the ISA PLC tag naming convention?

ISA-5.1 defines instrument tags using function codes: first letters = measured variable (F=Flow), middle = modifiers (I=Indicating), last = output function (C=Controller). Loop number follows: FIC-101.

What are the IEC 61131-3 tag naming rules?

Names must start with a letter or underscore, contain only letters/digits/underscores, max length varies by vendor (often 63 chars), no spaces or special characters.

What is the difference between ISA and IEC 61131-3 tag naming?

ISA-5.1 is for process instrument loop tags (P&IDs), IEC 61131-3 is the PLC language standard's variable naming syntax rules — they are complementary, not competing.

How do I audit PLC tag names?

Upload your L5X or ACD file to plc.company — the tag naming audit checks every tag against ISA and IEC 61131-3 conventions and flags violations.

Does Studio 5000 enforce tag naming conventions?

No, Studio 5000 only enforces IEC 61131-3 syntax rules (valid characters). Consistency conventions must be enforced by team standards or automated audit tools.

Start Auditing Your Tag Names

Upload your ACD or L5X file to plc.company and get a full tag naming report with ISA-5.1 and IEC 61131-3 compliance recommendations.