Skip to main content

Tags

Tag Path Format​

Allen Bradley PLCs expose data as "tags" with hierarchical paths.

Globally Scoped Tags:

AssemblyIndex
Module10.ModeAuto
Module10.PositionAxis[2]

Locally Scoped Tags (within program):

Program:Station1.FaultNumber
Program:Station1.Values.Reals[0]

Data Types:

  • Booleans, integers, floats, strings
  • Simple types and complex structures
  • Arrays and nested objects

Choosing Which Tags to Collect​

One of the most common questions we hear is: "What tags does MachineMetrics need?"

The short answer is: very few. The better question is: what do you want to see?

What MachineMetrics Needs​

To report utilization and production, MachineMetrics only needs three data items:

Data ItemWhat It Tells UsTypical Tag TypeExample Tag Names
ExecutionIs the machine actively producing right now?BOOLMachine_Running, In_Cycle, Auto_Active
Part CountHow many parts have been completed?DINT (cumulative counter)Part_Count_Total, Parts_Produced
Part NameWhat part, job, program, or recipe is running?STRINGPart_Number, Recipe_Name, Program_Name

That is all MachineMetrics requires. Everything beyond this is up to you.

Getting the minimum right
  • Execution should only be true when the machine is actually producing. A tag that stays on while the machine sits idle (for example, waiting on upstream equipment) will overstate utilization.
  • Part Count should be a cumulative counter that increments once per good part. Avoid counters that reset every batch, and avoid noisy sensor signals (such as a part present switch) that can trigger more than once per part.
  • Part Name can be a part number, job number, program name, or recipe name. Use whichever best identifies what is being produced.

What You Should Collect​

An Allen Bradley PLC can run almost any type of equipment, so there is no standard tag list. A furnace, an assembly line, and a coating system will have completely different tags, and the useful data on each is completely different too.

Start by asking: what questions do we want this data to answer?

  • Why is the machine stopping? → fault codes, alarm bits, downtime reasons
  • Are we producing good parts? → reject counts, inspection pass/fail, measurements
  • Is the process running within spec? → temperatures, pressures, flows, speeds
  • When does equipment need maintenance? → cycle counters, tool or consumable counters

Then work with your controls engineer or machine integrator to find the tags in the PLC program that answer those questions.

Example Tag Sets by Application​

These examples show the kind of data customers commonly collect beyond the minimum. Your tag names will be different.

Heat Treat Furnace

DataExample TagsWhy It Matters
Zone temperaturesZone1_Temp, Zone2_Temp, Setpoint_TempVerify parts are processed in spec
Atmosphere / pressureFurnace_Pressure, Gas_FlowProcess consistency
RecipeRecipe_Name, Recipe_StepTraceability per load
AlarmsOver_Temp_Alarm, Door_OpenDowntime and quality root cause

Assembly Line

DataExample TagsWhy It Matters
Station statusStation1_Running, Station1_Starved, Station1_BlockedFind the bottleneck station
Part present / completePart_Present, Cycle_CompleteCount and track flow through the line
RejectsReject_Count, Reject_Reason_CodeQuality tracking and Pareto of failure points
Station faultsStation3_Fault_Code, Press_Fit_FailIdentify where and why failures happen

Coating or Vacuum Process System

DataExample TagsWhy It Matters
Chamber pressureCCH_Baratron_PressureProcess verification
Heater zonesHCH1_TC1_Temp, HCH1_TC2_TempTemperature uniformity
Gas flowMFC1_Flow, MFC2_FlowProcess consistency
RecipeRecipe_Name, Program_NumberTraceability per run

Paint Booth / Environmental Monitoring

DataExample TagsWhy It Matters
Temperature and humidityBooth1_Temp, Booth1_RHFinish quality depends on conditions
Differential pressureBooth1_DP_Supply, Booth1_DP_ExhaustAirflow and filter condition

Automated or Robotic Cell

DataExample TagsWhy It Matters
Cell stateCell_Auto, Cell_Faulted, Robot_WaitingSeparate machine time from handling time
ProgramProgram_NameTrack what is running
FaultsRobot_Fault_Code, Safety_Fence_OpenDowntime root cause

Presses, Forming, and Finishing Equipment (stamping, orbital forming, swaging, tumbling)

DataExample TagsWhy It Matters
Stroke / cycle counterStroke_Count, Cycle_CountProduction and maintenance intervals
Force or tonnagePeak_Force, TonnageQuality verification per part
Cycle timeLast_Cycle_TimePerformance tracking
FaultsFault_Code, Overload_AlarmDowntime root cause

What to Send Us​

Once you have decided what you want to collect, send your MachineMetrics engineer a tag list including:

  • The tag name exactly as it appears in the PLC (including program scope, for example Program:Station1.Fault_Code)
  • The data type (BOOL, DINT, REAL, STRING)
  • A short description of what the tag means
  • Which tags represent execution, part count, and part name
note

Collect what you will act on. A focused list of meaningful tags is more useful than every tag in the PLC, and keeps the data easy to review and report on.