Status

APPLICATION

With the Status function block, you can visualize custom status texts and symbols.

Furthermore, this can be used for decision logics.

BASIC SETUP

By double-clicking on the program block the processing window can be opened.

In this dialog, conditions can be defined and the output which is displayed when the conditions are met.

The order of the entries is important. Once all the conditions in a row are met, the remaining rows are no longer checked and the output of this line is output.

Conditions

A maximum of 4 conditions per line can be inserted.

A condition consists of: selected input, comparison operator, value

When ALL conditions are entered in one line, the following status text, status value and the symbol are output in the visualization and in the outputs.

Possible conditions

==Is equal to the value
>Is greater than the value
>=Is greater than or equal to the value
<Is less than the value
<=Is less than or equal to the value
!=Is not equal to the value
*=Selected input contains the value
!*Selected input does not contain the value
:The selected input begins with the value
!:Selected input does not start with the value

Possible issues

In general, there are 3 output options:

  1. Symbol: Here the predefined symbols can be selected. The icon is then displayed in the visualization.
  2. Status text: Here, text output is possible. The text is displayed later at the output TQ and also in the visualization.
  3. Status value: Here analog value outputs are possible. The value is displayed at output AQ.

With the status text the value of the input can be processed further. For this purpose, a placeholder must be inserted at the position at which the value of the input is to be set. The following is a list of all possibilities to process the applied value further:

PlaceholderOperationExampleResult example (AI1 = 5,382)
<VX>X = Input number (Ex: <v1>) The value at the input is inserted at this point in the textThe outside temperature is <v1> degrees.The outside temperature is 5.382 degrees
<Vx.y>X = Input number (Ex: <v1>) The value at the input is inserted at this point in the text with Y decimal placesThe outside temperature is <v1.2> degrees.The outside temperature is 5.38 degrees
<Vx.y * Z>X = input number (Ex: <v1>) The value of the input is multiplied by Z and inserted at this point in the text with Y decimal placesThe outside temperature is <v1.2 * 3> degrees.The outside temperature is 16.15 degrees
<Vx.y / Z>X = input number (Ex: <v1>) The value of the input is divided by Z and inserted at this point in the text with Y decimal placesThe outside temperature is <v1.2 / 3> degrees.The outside temperature is 1.79 degrees
<Vn>Name of the status blockOur status module is called “<vn>”Our status module is called “outside temperature”
<VX.t>Time of change from input XThe last temperature change was <v1.t>The last temperature change was 2016-12-22 16:31:24
<VX.d>Converts the analog value at input X to an EIB datum.The current date is <vX.d>The current date is 2005-00-00
<VX.m>Converts the analog value at input X to EIB time.The current date is <vX.m> The current time is 00:00:05

Inputs

AI1Analog input 1Analog input can be further processed in the block.
AI2Analog input 2Analog input can be further processed in the block.
AI3Analog input 3Analog input can be further processed in the block.
AI4Analog input 4 Analog input can be further processed in the block.

Outputs

TQstatus textThe current status which results from the conditions.
AQanalog value The current status value resulting from the conditions.