2304
en
Contents
Sensor Validation
• sensors
• validation

Validation determines the dependence of the main sensor on a validator and makes it possible to combine their values to get one final value. You can configure validation by selecting a validator and validation type in the sensor properties.

A validator is a validation sensor that can change the value of the main sensor. The validator is selected from the list of available sensors that were created earlier for the same unit. When creating a sensor by copying, you cannot select the source sensor as a validator. ## Types of validation

A validation type is a logical or mathematical operation in which a validator can influence the final value of the main sensor. There are 12 types of validation, each of which is described below.

Validation typeDescription
Logical ANDThe type of validation in which the logical AND operation (conjunction) is applied to the values of the main and validation sensors. In this operation, the final value of the sensor is either 1 or 0. If the values of both sensors are not 0, the value of the main sensor is 1. If the value of at least one sensor is equal to 0, the final value is 0.
Logical ORThe type of validation in which the logical OR operation (disjunction) is applied to the values of the main and validation sensors. In this operation, the final value of the sensor is also either 1 or 0. If the value of at least one sensor is equal to 1, the value of the main sensor is 1. If both values are 0, the final value is 0.
Not-null checkThe type of validation in which the value of the main sensor is unchanged, provided that the validation sensor is not zero. If the validation sensor is zero, a dash is displayed in the value of the main sensor.
Math ANDThe type of validation in which the mathematical AND operation is applied to the values of the main and validation sensors. It is a bitwise logical AND operation, that is the two values are converted to their binary number equivalents, and then the logical AND operation is applied to the bits of the same number.
Math ORThe type of validation in which the mathematical OR operation is applied to the values of the main and validation sensors. It is a bitwise logical OR operation, that is the two values are converted to their binary number equivalents, and then the logical OR operation is applied to the bits of the same number.
Sum upThe type of validation in which the values of the validation and main sensors are summed up.
Subtract validator from sensorThe type of validation in which the value of the validation sensor is subtracted from the value of the main sensor.
Subtract sensor from validatorThe type of validation in which the value of the main sensor is subtracted from the value of the validation sensor.
MultiplyThe type of validation in which the value of the validation sensor is multiplied by the value of the main sensor.
Divide sensor by validatorThe type of validation in which the value of the main sensor is divided by the value of the validation sensor.
Divide validator by sensorThe type of validation in which the value of the validation sensor is divided by the value of the main sensor.
Replace sensor with validator in case of errorThe type of validation in which the value of the validation sensor is displayed in case the value of the main sensor has not been determined.

The validation chain can consist of any number of sensors. That is, the first sensor can be a validator for the second one and depend on the third one.

If you find a mistake in the text, please select it and press Ctrl+Enter.