« Back to Product

Documentation

Constant

The "Constant" module offers the option of integrating fixed values into the logic script; a data type, a value and a name for the display can be assigned to the module in the properties.

Example of a constant

Properties

Name Description
Display Name displayed in the diagram for the constant.
Value Value of the constant as a string.
Data type Data type of the constant.

data points output

Name Description
Value The value of the constant

application example

Given are 1 Homematic actuator for switching a light, 1 Homematic actuator for dimming a light and an IP-Symcon 868 actuator for operating an RGB strip:

Instances in IP-Symcon

The actuators can be switched separately via the WebFront:

Instances in WebFront

A logic script is now to be created in Logic Scripts that sets a specific lighting scenario and assigns predefined values to the individual lighting fixtures.

You can realize these values by using constants, predefined instance modules for setting the values can be found in the Object tree of the Logic Script Designer.

Logic Script in Designer

In this specific case, the RGB luminaire is assigned the color blue, the wall light is switched off and the dimmer is set to 50%.

Any questions?