Item.Scene
This logic can be used to implement a scene within the Core Server.
Description
The logic provides a software implementation of a scene function. It provides an input for replaying the scene. This means that if the "Replay" input is activated (i.e. set to True), the stored scenes are written to the configured output items. Default values can be specified manually by using the parameters. In addition, an input for saving the current values of the scene data points can be specified optionally. This overrides the default values until the server gets restarted. Using one single scene instance, up to 8 data points can be controlled. If scenes with more than 8 members are required, multiple instances have to be used.
An alternative scene implementation can be found with KNX scenes. That implementation has the advantage that saved values can be even restored after a server restart (as they get persisted).
Inputs
Name | Type | M/O | Description |
|---|---|---|---|
Replay | ItemID | M | This item of type boolean is used to trigger the scene. If "True" the values of the scenes are replayed (i.e. if the item gets written and has the value “True”, the items defined in Scene_Datapoint1 … Scene_Datapoint8 will be written). |
Save | ItemID | O | This item of type boolean can be used to save the current values within the scene. If "True" the values of the outputs are stored in the scene (i.e. if the item gets written and has the value “True”, the values of the items defined in Scene_Datapoint1 … Scene_Datapoint8 will be stored). |
Outputs
Name | Type | M/O | Description |
|---|---|---|---|
Scene_Datapoint1 | ItemID | M | ItemID of scene member 1. |
Scene_Datapoint2 | ItemID | O | ItemID of scene member 2. |
… |
|
|
|
Scene_Datapoint8 | ItemID | O | ItemID of scene member 8. |
Parameters
Name | Type | M/O | Description |
|---|---|---|---|
Value_Datapoint1 | Any | O | Used to specify a default value for Scene_Datapoint1. Will be used as long as input Save was not triggered. |
… |
|
|
|
Value_Datapoint8 | Any | O | Used to specify a default value for Scene_Datapoint8. Will be used as long as input Save was not triggered. |
Possible trigger types
Input
Applies to
XLogic Library 1.0.12+