Automatic Shading Integrated

The Automatic Shading integrated function block is used to control shading devices such as blinds, roller shutters, curtains or awnings.
It is used with shading devices that have an integrated interface for control. (Loxone Ready)
In addition to manual operation, shading can be automated, based on sunlight and room temperature, in combination with Intelligent Room Controller.
The goal is to avoid overheating of a room due to solar radiation.

Table of Contents


Inputs

AbbreviationSummaryDescriptionUnitValue Range
TgToggleToggles between open, stop, close.
For single button control.
-0/1
PoPartial open with push & hold-0/1
PcPartial close with push & hold-0/1
CoComplete openIf in motion, stops.-0/1
CcComplete closeIf in motion, stops.-0/1
SoSlightly openVenetian blinds close completely and move slats into shading position.
Roller blinds, curtains and awnings move into position according to parameter (Sop).
-0/1
SpsSun position automatic startActivates the sun position automatic when On at the beginning of the shading period, or also with a pulse during the shading period.
The sun position automatic is deactivated for the rest of the day, if block is operated manually. Pulse on (Spr) followed by a rising edge on (Sps) or pulse on (Spr) while (Sps) is active, restarts the sun position automatic.
-0/1
DisSpDisable sun position automaticDisables the sun position automatic when On.-0/1
SprSun position automatic restartPulse followed by a rising edge at input (Sps) or pulse while input (Sps) is active, restarts the sun position automatic.-0/1
WaWind alarmMoves shading to the wind alarm position set in parameter (Wap) and locks the block(can still be operated through the App/Webinterface). Used for storm protection. Active Automatic is only suspended instead of cancelled. After Wa end, automatic is restarted with a positive edge on Sps or of the sunshine-systemvariable. Automatic conditions are not re-evaluated on end on windalarm. If both conditions are permanently active during windalarm, automatic can be restarted via pulse on Spr.
The name of the connected sensor is used in the user interface.
-0/1
DwcDoor/window contactOpens shading completely and locks the block when On.
Manual operation via user interface is still possible.
(0 = closed, 1 = open).
-0/1
OffOffPulse stops movement. On locks the block.
Dominating input.
The name of the connected sensor is used in the user interface.
-0/1
PosPosition of shadingMove the shading to the specified position.%0...100
SlatPosition of slatsMove the slats to the specified position.
This input is only visible in certain configurations.
%0...100
T5T5 controlButton 1: Complete open
Button 4: Complete close
-
DisPcDisable periphery controlDisables inputs Tg, Po, Pc, Co, Cc, So, T5 when On. (e.g Child lock, cleaning)
Control via user interface is still possible.
-0/1




Outputs

AbbreviationSummaryDescriptionValue Range
PosPosition of shading0.0 = open, 1.0 = closed0...1
SlatPosition of slats0.0 = horizontal, 1.0 = vertical
This output is only visible in certain configurations.
0...1
ImIn motionBlinds in motion0/1
BlkMotor blocked
This output is only visible in certain configurations.
0/1
ObsObstacle1 = an obstacle has been detected.
This output is only visible in certain configurations.
0/1
SpSun position automaticOn, if input (Sps) = 1 and input (DisSp) = 0 ...and if the setting “Use sunshine variable” is checked and the sun is shining,
or if the Automation based on sun position is switched on in the App.
0/1
WdsWind, door/window contact stateActive when input (Wa) or input (Dwc) is 1.0/1
OffOffActive when input (Off) is 1.0/1
APIAPI ConnectorIntelligent API based connector.
API Commands
-




Parameters

AbbreviationSummaryDescriptionUnitValue RangeDefault Value
WapWind alarm position0 = Completely open
1 = Completely closed
-0/10
SpeSun position automatic end action0 = No action
1 = Complete open
2 = Complete close
3 = Set slats horizontal
-0...31
SpmSun position automatic mode0 = Optimal brightness - no direct sunlight, with as much light as possible.
Automatic remains off with closed shading. If the input (Sps) is active, a pulse on (Spr) restarts the sun position automatic.

1 = Optimal cooling - blocks even more solar radiation, but also results in lower brightness.
Automatic remains off with closed shading. If the input (Sps) is active, a pulse on (Spr) restarts the sun position automatic.

2 = Optimal brightness - no direct sunlight, with as much light as possible.
Automatic is activated even when the shading is closed.

3 = Optimal cooling - blocks even more solar radiation, but also results in lower brightness.
Automatic is activated even when the shading is closed.
-0...31
TlcTime long-clickLong-click duration on inputs (Po), (Pc) for complete open / close.
If you prefer a double-click, then set the value > (Opd) or (Cld).
0 = Always start complete travel.
-3
TdcTime double-clickDouble click duration on inputs (Po), (Pc) for complete open / close.
0 = Not used
s0...∞0,3
DirCompass directionCompass direction of the window:
0 = north
90 = east
180 = south
270 = west
-1 = not configured
--1...360-1
DtsDirection tolerance startDirection tolerance for the sun position automatic when the sun enters the shading area.°0...9085
DteDirection tolerance endDirection tolerance for the sun position automatic when the sun exits the shading area.°0...9085
SpiSun position automatic intervalSpecifies how often the slats may adjust during sun position automatic control.
This parameter is only visible in certain configurations.
min1...∞60
SposSun position automatic start offsetStart offset of the sun position automatic relative to Sunrise.min-90...9030
SpoeSun position automatic end offsetEnd offset of the sun position automatic relative to Sunset.min-90...90-30
SopSlightly open positionPosition used for input (So) and (Sps).
This parameter is only visible in certain configurations.
-0...10,8
SwSlat widthWidth of the slats.
This parameter is only visible in certain configurations.
mm0...∞70
SdSlat distanceDistance between two horizontal slats.
This parameter is only visible in certain configurations.
mm0...∞60
SpuSlat position upwards movementRelative slat position in percent
0 = Slats are horizontal during upwards movement
50 = Slats are horizontal at 50%, and during upwards movement are turned inwards
This parameter is only visible in certain configurations.
%0...500




Properties

SummaryDescriptionValue RangeDefault Value
Use sunshine variableSun position automatic is only activated if the system variable Sunshine and the input Sps are active.--
Activity Log EntriesNumber of entries in the activity log.
0: log is disabled
The activity log tracks relevant changes since program start.
0...10020



Programming example

You can create this block by dragging a shading motor with integrated interface from the periphery tree to the programming page.
If you add the block manually, a shading motor must be assigned to it.
A Loxone Touch is connected to the block via the T5 input, for operation according to the Loxone Switch Standard.

In addition, the compass direction is specified in parameter (Dir), to ensure that the sun position automatic is only activated when the sun is actually shining on the window. On demand, the Intelligent Room Controller requests shading via the output (Shd) to the input (Sps) of the Automatic Shading block.

When using venetian blinds, the parameters Sw, Sd must also be set for them to be controlled correctly.


Functional Description

When configured with the recommended settings, the sun position automatic is activated when the room controller enables it via input (Sps). If however, the sun position automatic is activated manually, e.g. via App, the signal from the room controller is not required.

The sun position automatic begins when the sun reaches the shading area and ends when it passes.

During this time, the slats are adjusted according to the angle of the sun. At the end, the blinds move to the position specified with parameter (Spe).

Manual shading, independent of the sun's position, can be triggered via input (So) or in the App with "Slightly open". The slats are then adjusted horizontally.

The sun position automatic can be deactivated via input (DisSp).

If the blinds are operated manually during shading period (e.g. using an app), then the sun position automatic is deactivated for that shading period. To reactivate the automatic control, a pulse on input (Spr) or activation via user interface is necessary.

When the sun position automatic is activated, the blinds may not adjust immediately. Shading only starts based on the position of the sun and the related parameters.

Output (Sp) indicates whether the sun position automatic is active.

To control multiple blinds simultaneously, the corresponding central function block is used.

Additional inputs, outputs and parameters may be required if standard push buttons are used or additional logic is programmed.


Direction parameters

Dir: Compass direction of the shading device relative to the geographical north. (0 = North, 90 = east, 180 = south, 270 = West)

Dts: Direction tolerance when the sun enters the shading device. The directional tolerance is relative to the perpendicular angle of the shading device. Consider, for example, building protrusions. If your shading device is not affected, you can leave this at its default value of 85º.

Dte: Direction tolerance when the sun exits the shading device. The directional tolerance is relative to the perpendicular angle of the shading device. Consider, for example, building protrusions. If your shading device is not affected, you can leave this at its default value of 85º.


Start / End offsets

With parameter (Spos), the sun position automatic will be delayed by this number of minutes after sunrise.
This is relevant for windows that may not get the sun directly after sunrise.

With parameter (Spoe), the sun position automatic will be brought forward by this number of minutes before sunset.
This is relevant for windows that may be affected by the sun prior to sunset.

There are two possible applications for the two parameters:

Often the sun is obscured by other buildings, structures or trees after sunrise and before sunset. Here, the start or end time of the sun position automatic can be adapted to accommodate for these.

Another possibility is to shift the times so that sunrise or sunset can be seen with the shading open.


Slat adjustment

When the sun position automatic is active, the blind slats are adjusted based on the sun's position.
The slats are tilted to an angle that prevents any direct sunlight from entering in between them.

Generally, the adjustment is carried out at the intervals set with parameter (Spi), but only at 15° increments, and only if necessary.
If, for example, the sun's path is at a relatively constant angle, its elevation will hardly change. For this reason, an adjustment is not necessarily carried out at every interval.

When the sun is rising, the value required at each interval is calculated and the slats are adjusted if necessary.
When the sun is setting, the value required for the following interval is calculated at each interval and the slats are adjusted if necessary.


Enable Sun Position Automatic via User Interface

The sun position automatic can be started manually via the user interface, thereby blinds are lowered when the sun is at the window. Whether the sun is shining, it is cloudy, or the Sps input of the block is active or not is not taken into account.


Timing Diagram


History

In the user interface, the history of the function block can be displayed.
A maximum of 100 entries can be shown.
When you restart or save to the Miniserver, the history is cleared.