Overview Block Motion Detector



Block function block for the control element Block Motion Detector; the control element must be connected to this function block. See Block Presence and Presence General.

Function

On motion the block switches a light on and, after an adjustable time (delay), switches it off again – if desired only when it is dark enough. The operating mode can shut the detector down or switch the light on permanently. Delay, set points, brightness limit, switching times and the behavior on presence are set in the control element.

Sequence on motion

  1. Triggering: The detector triggers when the input TR changes from 0 to not 0 (parameter Trigger, see below). This only happens in the operating mode Automatic; in the other operating modes motion is ignored.
  2. Checking the brightness: If the brightness check is switched on in the control element, the detector only triggers when the brightness at the input HE is not above the set limit.
  3. Switching on: The output PR delivers the set point on, the output ST is 1 (with a set point on of 0 % it is 0). The delay starts.
  4. Retriggering: Every further motion restarts the delay. In addition, the time does not run out as long as the input TR is not 0 – it only counts once the detector reports 0 again.
  5. Switching off: When the delay has run out, ST goes to 0 and PR to the set point off. A set point off above 0 % thus leaves a dimmed base light on.

The delay is set in seconds in the control element. At 0, 10 seconds apply.

Operating mode

The operating mode is given via the input BA. The change of the operating mode is evaluated; if the same value is written again, nothing happens. Values other than 0, 1 and 2 are not evaluated.

0 Automatic The detector works as described above. If the mode is changed to Automatic while the detector is just reporting motion (TR not 0), it switches on immediately. Otherwise the delay runs out once; after that the set point off applies.
1 Always on A running delay is ended. The light stays on with the set point on (PR = set point on, ST = 1, at 0 % ST = 0). Motion is ignored.
2 Always off A running delay is ended immediately, ST and PR go to 0. Motion is ignored, the detector stays locked until the operating mode is set back to Automatic. The set point off does not apply here, the light is completely off.

The operating mode can be changed by anything that writes to the address of BA: by the control element, by the switching times and the presence of the control element, by a scene in the control element Block Scene Group (operating mode Auto, On or Off) or by any other block, button or telegram. If BA is not connected, the detector always works in Automatic.

Example – ending a running delay early: If a scene or a button writes the value 2 to the address of BA, the light goes off immediately, even if the delay is still running, and the detector stays locked. With the value 0 it is released again. If the light is only to be operated by hand for a while and the detector is to carry on by itself afterwards, the manual operation is the simpler way. Any change of the operating mode ends a running manual operation.

Manual operation

If somebody switches or dims the light with a push button that writes to the same address as the output ST or PR, the detector suspends its automatic mode for an adjustable time. Nothing has to be set at the push button. The time is set in minutes in the control element under Suspend after manual operation; the default is 0, i.e. off and the previous behaviour.

Only a telegram that does not come from the program of this controller counts as manual operation. The own switching and the feedback of the actuator shortly afterwards – with a dimmer also the intermediate values of a soft start or stop – do not trigger anything. It is only evaluated in the operating mode Automatic. Switching from the visualisation or from a partner controller to the same address also counts as manual operation.

Brightness

With the brightness check (in the control element Active, Active below) the detector only switches on when the brightness at the input HE does not exceed the set value. If HE is not connected, the brightness counts as 0, so it is always dark enough. Motion while the light is already on only checks the brightness with the parameter Retriggering = Consider brightness. With Ignore brightness (default) the delay is extended even when the light itself has raised the room above the limit. The light counts as “on” here when the output PR is not 0.



Inputs

TR
Trigger
Motion detector. A change from 0 to not 0 triggers the detector (or every telegram, see parameter). As long as the input is not 0, the delay does not run out.
HE
Brightness
Optional. A brightness can be connected here in order to activate the detector only below a certain limit value. Not connected: the brightness counts as 0, the detector is never locked by the brightness.
BA Operating mode Optional. An operating mode can be connected here. 0 = Automatic, 1 = Always on, 2 = Always off. The change of the value is evaluated. Always off ends a running delay immediately, switches the output off and locks the detector until Automatic is set again. Not connected: the detector always works in Automatic; always on/off can then be set neither in the control element nor via switching times or presence.

Outputs

ST
Switch
Switch address. 1 as long as the detector has switched the light on with a set point on above 0 % (delay running or always on), otherwise 0.
PR
Percent
Value address. Set point on on motion and with always on, set point off after the delay has run out, 0 with always off.
MR Manual remaining time Optional. Remaining time of the manual operation in minutes, 0 = automatic. If 0 is written here from outside, the detector works in automatic mode again at once. Required for the display and the button Resume automatic in the control element.
SB
Status Bit
Status outputs, e.g. brightness reached; required for the connected control element for display.

The status is bit-coded:

Bit 0 (value 1) = Automatic
Bit 1 (value 2) = Brightness below the limit (dark enough)
Bit 2 (value 4) = Trigger, the detector is reporting motion right now
Bit 3 (value 8) = Active, the delay is running
Bit 4 (value 16) = Manual operation, the automatic mode is suspended

Parameters

Trigger
Triggering of the motion detector with a rising edge (change from 0 to not 0 at the input TR) or telegram 1 (every telegram written to the address of TR triggers, even if the value does not change). In both cases the delay only runs out once TR is 0 again. Triggering only takes place in the operating mode Automatic.
Retriggering
  • Consider brightness: If the detector is activated and the time is running, the brightness limit value is considered for retriggering.
  • Ignore brightness: If the detector is activated and the time is running, on renewed activation the brightness is not considered. This is the default.
Only has an effect if the brightness check is switched on in the control element.

See also common parameters of all function blocks.