Skip to main content
Version: Next

Using Equipment Statistics

This guide walks you through configuring and using the Equipment Statistics system to monitor equipment status, calculate OEE, and analyze downtime reasons.


Overview

Equipment Statistics provides three levels of monitoring:

  1. Status Duration Tracking (Required): Track time spent in each equipment state
  2. OEE Calculation (Optional): Calculate Overall Equipment Effectiveness metrics
  3. State Reason Analysis (Optional): Categorize and analyze downtime reasons

💡 Tip: Start with Status Duration Tracking, then add OEE and Reason Analysis as needed.


Configuration Location

Navigate to Basic Management > Equipment Statistics in the development environment.

📷 [Screenshot: Equipment Statistics configuration interface]


Part 1: Status Duration Tracking

Track how long equipment spends in each operational state.

Step 1: Define Equipment States

Define clear, mutually exclusive states for your equipment.

Default States (cannot be deleted, but can be renamed):

  • Running: Equipment is producing
  • Stopped: Equipment is idle
  • Fault: Equipment has an error

Add Custom States:

  1. Click Add State
  2. Enter state name (e.g., "Maintenance", "Changeover", "Waiting")
  3. Assign a unique state value (integer)
  4. Click Confirm

📷 [Screenshot: Equipment state configuration dialog]

⚠️ Caution: Ensure state values are unique and don't overlap. Equipment should always be in exactly one state.

Example States:

State NameState ValueDescription
Running1Normal production
Stopped0Idle, no production
Fault2Equipment error
Maintenance3Planned maintenance
Changeover4Product changeover

Step 2: Configure State Detection

Configure how the system determines the current equipment state.

Two Detection Methods:

Method 1: Binary Signals (Multiple Tags)

Each state has its own boolean tag. When a tag is True, that state is active.

  1. Select Binary Type
  2. For each state, configure:
    • State Signal Tag: Tag that indicates this state (True = active)

Example Configuration:

StateSignal TagLogic
RunningLine1.RunningTrue when running
StoppedLine1.StoppedTrue when stopped
FaultLine1.FaultTrue when fault
MaintenanceLine1.MaintenanceTrue during maintenance

📷 [Screenshot: Binary signal configuration]

⚠️ Caution: Ensure only one signal is True at a time to avoid state conflicts.

Method 2: Integer Signal (Single Tag)

One integer tag represents all states. Different values indicate different states.

  1. Select Integer Type
  2. Configure:
    • State Signal Tag: Tag that contains state value
    • Each state's value must match the tag value

Example Configuration:

StateState ValueTag Value
Running1Line1.Status == 1
Stopped0Line1.Status == 0
Fault2Line1.Status == 2
Maintenance3Line1.Status == 3

📷 [Screenshot: Integer signal configuration]

💡 Tip: Integer method is simpler and reduces tag count, but requires PLC to provide a single status value.

Step 3: Configure Output Variables (Optional)

Assign tags to receive real-time duration values for each state.

  1. For each state, configure:
    • Output Tag: Tag to receive duration in minutes

Example Configuration:

StateOutput TagDescription
RunningLine1.RunningTimeMinutes in Running state
StoppedLine1.StoppedTimeMinutes in Stopped state
FaultLine1.FaultTimeMinutes in Fault state

📷 [Screenshot: Output variable configuration]

💡 Tip: Output variables update every minute and reset at the start of each shift/day (based on Real-time Range setting).

Step 4: Configure Global Settings

Configure system-wide settings for all equipment.

Real-time Range:

  • Current Shift: Reset counters at shift change
  • Current Day: Reset counters at midnight

Data Reset Signal (Optional):

  • Configure a tag that triggers data reset when it becomes True
  • Used to prevent counter overflow in PLC
  • System records current values before reset
  • Manually reset the signal after triggering

📷 [Screenshot: Global settings configuration]

Step 5: Add Equipment

Add equipment to monitor.

  1. Click Add Equipment
  2. Enter equipment name
  3. Configure state signals for this equipment
  4. Configure output variables (if using)
  5. Click Save

📷 [Screenshot: Equipment configuration]

Step 6: Configure Classification Fields (Optional)

Add custom classification fields to categorize equipment.

Use Cases:

  • Group by work center, production line, or area
  • Filter reports by equipment type or model
  • Aggregate data by classification

Configuration:

  1. Click Classification Fields
  2. Add fields (e.g., "Work Center", "Line", "Equipment Type")
  3. For each equipment, set field values
  4. Use toggle button to show/hide fields in equipment list

📷 [Screenshot: Classification fields configuration]

Example Classifications:

EquipmentWork CenterLineEquipment Type
Mixer-01MixingLine AMixer
Mixer-02MixingLine BMixer
Filler-01FillingLine AFiller

Step 7: Save Configuration

Click Save to save all settings and start monitoring.


Part 2: OEE Calculation

Calculate Overall Equipment Effectiveness and its components.

Understanding OEE

OEE measures equipment effectiveness through three factors:

OEE = Availability × Performance × Quality

Availability: Actual running time / Planned running time
Performance: (Theoretical cycle time × Actual output) / Actual running time
Quality: (Actual output - Scrap) / Actual output

Additional Metrics:

  • Achievement Rate: Actual output / Planned output

💡 Tip: World-class OEE is typically 85% or higher.

OEE Calculation Example

Scenario: 8-hour shift (480 minutes planned)

Data:

  • Planned running time: 480 minutes
  • Actual running time: 420 minutes (60 minutes downtime)
  • Theoretical cycle time: 1 minute/piece
  • Actual output: 380 pieces
  • Scrap: 19 pieces

Calculations:

  1. Availability = 420 / 480 = 87.5%
  2. Performance = (1 × 380) / 420 = 90.5%
  3. Quality = (380 - 19) / 380 = 95.0%
  4. OEE = 87.5% × 90.5% × 95.0% = 75.3%

Step 1: Enable OEE Calculation

  1. Check Enable OEE Calculation in global settings
  2. OEE configuration options appear

Step 2: Configure Production Counters

Configure tags that track production output and quality.

For each equipment, configure:

ParameterDescriptionExample Tag
Output CounterCumulative production count (good + scrap)Line1.TotalOutput
Scrap CounterCumulative scrap countLine1.ScrapCount

📷 [Screenshot: Production counter configuration]

⚠️ Caution: Output counter must include both good parts and scrap. Good parts = Output - Scrap.

Step 3: Configure OEE Parameters

Configure parameters used in OEE calculations.

For each equipment, configure:

ParameterDescriptionExampleNotes
Theoretical Cycle TimeIdeal time to produce one piece (seconds)60Based on equipment capability
Planned Running TimePlanned production time per day (minutes)480Update daily before production
Planned OutputTarget production quantity per day400Update daily before production

📷 [Screenshot: OEE parameter configuration]

💡 Tip: Planned Running Time and Planned Output can be linked to tags for easy daily updates from HMI.

Example Configuration:

EquipmentCycle Time (s)Planned Time (min)Planned Output
Mixer-01120480240
Filler-0160480480
Packager-0130480960

Step 4: Configure OEE Output Variables (Optional)

Assign tags to receive real-time OEE metrics.

For each equipment, configure output tags:

MetricOutput TagDescription
AvailabilityLine1.AvailabilityTime utilization rate (%)
PerformanceLine1.PerformanceSpeed utilization rate (%)
QualityLine1.QualityQuality rate (%)
OEELine1.OEEOverall effectiveness (%)
Achievement RateLine1.AchievementOutput vs. plan (%)
Actual OutputLine1.ActualOutputCurrent output count
Good PartsLine1.GoodPartsGood parts count
ScrapLine1.ScrapScrap count

📷 [Screenshot: OEE output variable configuration]

Step 5: Save Configuration

Click Save to enable OEE calculation.


Part 3: State Reason Analysis

Categorize equipment states and record specific reasons for downtime.

Understanding State Reason Analysis

Three-Level Structure:

Equipment State → State Category → State Reason

Example:

  • State: Stopped
    • Category: Planned Downtime
      • Reason: Scheduled Maintenance
      • Reason: Shift Change
    • Category: Unplanned Downtime
      • Reason: Material Shortage
      • Reason: Equipment Breakdown

Step 1: Enable Reason Analysis

  1. Check Enable State Reason Analysis in global settings
  2. Reason analysis configuration options appear

Step 2: Define State Categories

Create categories for each equipment state.

  1. Select an equipment state (e.g., "Stopped")
  2. Click Add Category
  3. Enter category name (e.g., "Planned Downtime", "Material Wait")
  4. Assign a unique category value (integer)
  5. Click Confirm

📷 [Screenshot: State category configuration]

Example Categories for "Stopped" State:

CategoryValueDescription
Planned Downtime1Scheduled stops
Changeover2Product changeover
Material Wait3Waiting for materials
Breakdown4Equipment failure
Unidentified0Unknown reason (default)

💡 Tip: "Unidentified" category is automatically created and used when no other category matches.

Step 3: Configure Category Detection

Configure how the system determines the current state category.

For each equipment, configure:

ParameterDescriptionExample
Category Signal TagTag that contains category valueLine1.StopCategory

Category Priority:

  • If multiple categories could match, the first one in the list is used
  • Reorder categories to adjust priority

📷 [Screenshot: Category signal configuration]

Step 4: Configure Reason Recording

Configure how specific reasons are recorded.

For each equipment, configure:

ParameterDescriptionExample
Reason Signal TagTag that contains reason code or textLine1.StopReason

Reason Entry Methods:

  1. Automatic: PLC writes reason code to tag
  2. Manual: Operator enters reason through HMI
  3. Hybrid: PLC provides category, operator provides specific reason

📷 [Screenshot: Reason signal configuration]

💡 Tip: If no reason is provided, the record will have an empty reason field. Use the Reason Management component to fill in missing reasons.

Step 5: Save Configuration

Click Save to enable reason analysis.


Using Equipment Statistics Data

Real-time Monitoring

Display current equipment status and metrics on HMI views.

Status Duration:

  • Link output variables to display components
  • Show current state and duration
  • Update every minute

OEE Metrics:

  • Display OEE and its components (Availability, Performance, Quality)
  • Show actual vs. planned output
  • Visualize with gauges or progress bars

📷 [Screenshot: Real-time OEE dashboard]

Historical Analysis

Query and analyze historical data from automatically generated tables.

Status Duration Records Table

Contains detailed state change records.

FieldDescription
Equipment NameEquipment identifier
Equipment StateState name
State CategoryCategory name (if enabled)
State ReasonSpecific reason (if provided)
Start TimeState start timestamp
End TimeState end timestamp
Duration (min)Time in state
ShiftShift identifier
Shift DateDate of shift
Classification FieldsCustom fields (if configured)

Usage:

  • Create Gantt charts showing state timeline
  • Generate pie charts of state duration distribution
  • Filter by time range, state, category, or reason
  • Drill down from state to category to reason

📷 [Screenshot: State duration Gantt chart]

Status Duration Shift/Day Aggregation Table

Contains aggregated data by shift and day.

FieldDescription
Equipment NameEquipment identifier
Equipment StateState name
Duration (min)Total time in state
Statistics TimeAggregation period
Statistics ShiftShift identifier
Classification FieldsCustom fields

Usage:

  • Compare state durations across shifts
  • Analyze daily/weekly/monthly trends
  • Identify patterns and anomalies

📷 [Screenshot: State duration trend chart]

OEE Records Table

Contains detailed OEE snapshots (updated every minute).

FieldDescription
Equipment NameEquipment identifier
Statistics TimeSnapshot timestamp
OutputTotal output count
Good PartsGood parts count
ScrapScrap count
Actual Running TimeRunning time (min)
Planned Running TimePlanned time (min)
Theoretical OutputIdeal output count
AvailabilityTime utilization (%)
PerformanceSpeed utilization (%)
QualityQuality rate (%)
OEEOverall effectiveness (%)
Achievement RateOutput vs. plan (%)

Usage:

  • Plot OEE trends over time
  • Identify OEE loss contributors
  • Compare equipment performance

📷 [Screenshot: OEE trend chart with components]

OEE Shift/Day Aggregation Tables

Contains aggregated OEE data by shift and day.

Usage:

  • Generate shift reports
  • Compare shift performance
  • Track daily/weekly/monthly OEE

📷 [Screenshot: Shift OEE comparison chart]


Reason Management Components

Two pre-built components help manage state reasons.

Component 1: Manual Reason Entry

Allows operators to enter reasons for unidentified states.

Location: Components > Runtime > Manual Reason Entry

Features:

  • Display unidentified state records
  • Select state category from predefined list
  • Select or enter specific reason
  • Update record with reason information

Usage:

  1. Add component to operator HMI view
  2. Operators review unidentified states
  3. Select appropriate category and reason
  4. Save to update record

📷 [Screenshot: Manual reason entry component]

💡 Tip: Establish procedures requiring operators to enter reasons promptly for accurate data.

Component 2: Reason Library Management

Manage the library of predefined reasons.

Location: Components > Runtime > Reason Library Management

Features:

  • Add new reasons to categories
  • Rename existing reasons
  • Merge similar reasons
  • View records associated with each reason
  • Import/export reason library

Usage:

  1. Add component to management view
  2. Define standard reasons for each category
  3. Periodically review and consolidate reasons
  4. Export reason library for backup

📷 [Screenshot: Reason library management component]

Best Practices:

  • Create a standardized reason library
  • Limit reasons to 10-15 per category
  • Use clear, specific reason descriptions
  • Train operators on reason selection
  • Review and consolidate reasons quarterly

Component 3: State Record Management

View and edit historical state records.

Location: Components > Runtime > State Record Management

Features:

  • Query state records by time, equipment, state, category, reason
  • Edit reason information for existing records
  • Filter unidentified or empty reason records
  • Export records for analysis

Usage:

  1. Add component to management view
  2. Query records needing correction
  3. Update reason information
  4. Export data for reporting

📷 [Screenshot: State record management component]


Best Practices

Configuration

State Definition:

  • Define clear, mutually exclusive states
  • Use standard state names across similar equipment
  • Limit to 5-8 states per equipment
  • Document state definitions

Signal Configuration:

  • Verify signal connections before going live
  • Test state transitions thoroughly
  • Use integer signals when possible (simpler)
  • Monitor signal quality and reliability

OEE Parameters:

  • Set accurate theoretical cycle times
  • Update planned time and output daily
  • Verify counter accuracy (output = good + scrap)
  • Calibrate counters regularly

Reason Categories:

  • Create standardized category structure
  • Align categories with improvement initiatives
  • Limit to 5-10 categories per state
  • Document category definitions

Operation

Data Quality:

  • Train operators on reason entry procedures
  • Review unidentified states daily
  • Establish data quality metrics
  • Audit data accuracy regularly

Reason Management:

  • Maintain a concise reason library
  • Consolidate similar reasons
  • Update reason library based on feedback
  • Document reason definitions

Performance Monitoring:

  • Display real-time OEE on production floor
  • Set OEE targets and track progress
  • Review OEE trends in daily meetings
  • Celebrate improvements

Analysis

Root Cause Analysis:

  • Use Pareto charts to identify top downtime contributors
  • Drill down from categories to specific reasons
  • Correlate downtime with other factors (shift, product, etc.)
  • Prioritize improvement initiatives based on data

Continuous Improvement:

  • Set improvement targets for each OEE component
  • Track improvement project impact
  • Share best practices across equipment
  • Review and adjust targets quarterly

Reporting:

  • Generate automated shift reports
  • Create executive dashboards
  • Export data for advanced analysis
  • Archive historical data

Troubleshooting

Equipment State Not Updating

Problem: Equipment stays in one state despite signal changes.

Possible Causes:

  1. Signal tag not updating
  2. State value mismatch
  3. Multiple signals True simultaneously (binary mode)

Solutions:

  1. Verify tag communication with equipment
  2. Check state value configuration matches PLC values
  3. Ensure only one binary signal is True at a time
  4. Review system logs for errors

OEE Calculation Incorrect

Problem: OEE values don't match manual calculations.

Possible Causes:

  1. Incorrect theoretical cycle time
  2. Wrong planned running time
  3. Counter overflow or reset
  4. Output counter doesn't include scrap

Solutions:

  1. Verify cycle time matches equipment capability
  2. Confirm planned time is set correctly
  3. Use data reset signal to handle counter overflow
  4. Ensure output = good parts + scrap
  5. Check counter accuracy with manual count

Reasons Not Recording

Problem: State records show empty reasons.

Possible Causes:

  1. Reason signal tag not configured
  2. PLC not writing reason values
  3. Operator not entering reasons

Solutions:

  1. Configure reason signal tag
  2. Verify PLC writes reason codes
  3. Train operators on reason entry
  4. Use Manual Reason Entry component
  5. Establish procedures for reason entry

Category Detection Not Working

Problem: All states recorded as "Unidentified" category.

Possible Causes:

  1. Category signal tag not configured
  2. Category values don't match PLC values
  3. Signal not updating

Solutions:

  1. Configure category signal tag
  2. Verify category values match PLC
  3. Check tag communication
  4. Test category transitions manually

Performance Issues

Problem: System slow or data updates delayed.

Possible Causes:

  1. Too many equipment configured
  2. High-frequency data updates
  3. Large historical data volume

Solutions:

  1. Limit to 50-100 equipment per system
  2. Use 1-minute update interval (default)
  3. Archive old data regularly
  4. Optimize database queries
  5. Consider separate systems for different areas

Next Steps

Now that you know how to use Equipment Statistics, explore: