> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/maintenance-and-asset-management/detect-condition-limit-breach.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Detect Condition Limit Breach

Read-only verdict on whether the latest measurement for a serial object test-point parameter breaches maintained limits or PM criteria.

| Business area                    | Action type |
| -------------------------------- | ----------- |
| Maintenance and Asset Management | Read-only   |

## Overview

The skill takes one equipment parameter (a test point and parameter on a serial object) and checks its latest valid reading against the limits held in IFS Cloud. It reads the parameter setup on EquipmentObjectParam (MinReadingLimit, MaxReadingLimit, MaxParameterRating, parameter type), the latest registered measurements on EquipmentObjectMeas, and, when needed, the condition criteria on connected PM actions (PmActionCriteria.MinValue / MaxValue).

IFS Cloud reads test points, parameters and measurements to detect condition limit breaches.

## How it works

{% stepper %}
{% step %}
Resolve Serial Object Test Point (site + MchCode + optional TestPointId).
{% endstep %}

{% step %}
Get Parameter Limits.
{% endstep %}

{% step %}
Get Latest Parameter Readings.
{% endstep %}

{% step %}
Get PM Condition Criteria for active PMs on the object.
{% endstep %}

{% step %}
Evaluate verdict rules from the spec (accumulated, limit, condition types).
{% endstep %}
{% endstepper %}

## Key capabilities

* Resolves site + object ID + test point ID + parameter code to the real IFS keys (EquipmentObjectSeq, TestPntSeq, ParameterCode).
* Reads the maintained reading limits (MinReadingLimit, MaxReadingLimit) and the condition max rating (MaxParameterRating).
* Detects the parameter type (ParamTypeDb: A Accumulated, L Limit, C Condition) and applies the matching rule.
* Ignores readings that are not valid (IncorrectReading, IncorrectRating, meter change or rollover entries) and flags PreliminaryReading.
* Calculates the deviation and percentage outside the limit, plus the age of the reading.
* Shows a short trend (last N valid readings) for context.
* Cross-checks condition criteria on active PM actions (MinValue, MaxValue, Tolerance, ParameterRating).
* Reports blocked parameters (BlockedForUseDb) and missing limits as explicit verdicts. Missing data never becomes a pass.
* Read-only. Runs under the caller's IFS permissions and site access.

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component | Projection            |
| --------- | --------------------- |
| EQUIP     | SerialObjectsHandling |
| PM        | MeasurementsHandling  |
| MSCOM     | PmActionHandling      |

## Version compatibility

| Projection            | Supported IFS Cloud releases |
| --------------------- | ---------------------------- |
| SerialObjectsHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |
| MeasurementsHandling  | 24R2, 25R1, 25R2, 26R1, 26R2 |
| PmActionHandling      | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Scope matches the packaged tools and instructions only.
