> For the complete documentation index, see [llms.txt](https://infosys.selmotech.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infosys.selmotech.com/selmo-solution/selmo-solution-en/selmo-how-it-works/selmo-training/chapter-3-the-advanced-standard-functions-in-selmo/3.2-paircheck-contradiction-check-as-a-safety-principle.md).

# 3.2 PairCheck – contradiction check as a safety principle

#### Idea

A cylinder can physically only be in one place at a time.\
Either front or rear.\
But if both end-position sensors report a signal at the same time, there is a contradiction – and thus potentially a dangerous fault.

Selmo detects this case automatically through the **PairCheck**.\
The PairCheck is a logic integrated into every zone that checks whether two or more feedback signals exclude each other.

#### Procedure

1. Cylinder 1 has two feedbacks: *Front* and *Rear.*
2. In the zone description it is specified that these signals belong together – a so-called *PairCheck group.*
3. During runtime the system continuously compares their states.
4. If both are TRUE or both are FALSE, the PairCheck detects the logical error.
5. The result:
   * The zone automatically sets an interlock.
   * The automatic release is lost.
   * A red diagnostic appears in the HMI:\
     *“PairCheck Error – Contradictory feedback.”*

#### Benefit

This completely eliminates a common source of error.\
It is impossible for a cylinder to be “seen” in two positions at the same time or to fail unnoticed.\
The PairCheck is therefore an **integrated safety monitor**, not an additional module.

<figure><img src="/files/1cd9b6855d4047fb5638c14e4e47be85bd9e7256" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://infosys.selmotech.com/selmo-solution/selmo-solution-en/selmo-how-it-works/selmo-training/chapter-3-the-advanced-standard-functions-in-selmo/3.2-paircheck-contradiction-check-as-a-safety-principle.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
