Loading...
 

The Condition

Description

The 'Condition' function describes the status of up to 5 functions and a relationship between them. When the status and the relationship of the function(s) correspond with what has been described in the 'Condition', then the condition is 'ON'.
A 'Condition' never results in an action, it can only be used as a condition for other function types e.g. If-Then-Else function, Process function, …
The status of the condition is updated every time the status of one of the functions in the condition changes.

For functions with a status from 0-100% (dimmer and motor), the condition uses the ‘target value’ of that function to calculate its state. Example: a condition that defines a ‘dimmer state = 100%’, will be TRUE when the dimmer starts to dim to 100%. If the dimming stops before the dimmer reaches 100%, the condition will return to false.

Parameters

Image191

Name
put in here a clear name for the condition. Take care that the name clearly describes the situation which occurs when the condition is active.
Conditional functions
Select here up to 5 functions which have to be monitored. Depending on the selected functions some function specific parameters have to be put in. Consult for that matter the description of the selected function.
Comparison
This parameter determines how the conditional function has to relate to the adjustable comparison value. This parameter can take different levels.
=
the conditional function has to be equal to the preset comparison value.
>
the conditional function has to be greater than the preset comparison value. This level is meaningful only with numerical comparison values.
<
the conditional function has to be smaller than the preset comparison value. This level is meaningful only with numerical comparison values.
>=
the conditional function has to be greater than or equal to the preset comparison value. This level is meaningful only with numerical comparison values.
<=
the conditional function has to be smaller than or equal to the preset comparison value. This level is meaningful only with numerical comparison values.
Comparison value
This parameter determines the status or value with which the conditional function is compared. The comparison value can take following shapes:
Status
This shape determines a 'on or 'off' status with which the conditional function is compared.
Numerical
This shape determines a number or percentage with which the conditional function is compared. This shape occurs only with the functions 'Dimmers' and 'Sensor Levels'.
Relationship
This parameter determines the mutual relation between the functions. Following levels can be adjusted:
AND
Both functions between which an 'AND' relation is defined, have to be 'true' in order to transmit the 'Condition OK' signal.
OR
One of both functions between which an 'OR' relation is defined, have to be 'true' in order to transmit the 'Condition OK' signal.
At least 2 functions have to be selected before the 'Relation' parameter can be set.
When more than 2 functions are present in the 'Condition', than first the relation between the first and the second function is reasoned. The result of this is reasoned with a third function etc. This logic is very important when the different 'Conditions' are defined. In particular when the 'AND' and 'OR' relations are applied.

Function behaviour when used on an interface

Since a 'Condition' monitors the status and the mutual relations of one or more functions, this function cannot be called from an interface.

Operation in another function

A condition is integrated in another function only as conditional function. This means that the other function uses the 'Condition' as a condition in order to execute an action or otherwise.
A condition can only be integrated in following functions: 'Condition', 'Process' and 'If-Then-Else'. Consult the description of the different functions about the operation and the specific parameters within the function.

Switch Language

TELETASK Technical handbook