Garage/Gate

Motor control for garage or gate using one or two buttons
With the Garage and Gate Function Block, various garage doors or gates can be controlled and integrated into the Loxone system.
Select the type of control (Garage or Gate) in properties to ensure the correct animation is used.
The right type of control for the gate must be used. The outputs Tg, Op, and Cl simulate pressing a key on a controller or keyfob.
Use the output (Tg) if its gate or garage control has only one connection for one button (toggle). Use the outputs (Op) and (Cl) if there is a discrete connection for each opening and closing
Direct control is used when the motor is directly connected to outputs from Loxone products (similar to a blind motor)

Table of Contents


Inputs

AbbreviationSummaryDescriptionValue Range
TgToggleToggles between open, stop, close.
For single button control.
0/1
CoComplete openIf in motion, stops.0/1
CcComplete closeIf in motion, stops.0/1
T5T5 controlButton 1: Complete open
Button 4: Complete close
IoIs openInput is used to report the “fully opened” position via a limit switch or similar.0/1
IcIs closedInput is used to report the “fully closed” position via a limit switch or similar.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
SpoSensor prevent openingIf active, opening is prevented but closing is still possible. Used to connect a photoelectric sensor or similar.0/1
SpcSensor prevent closingIf active, closing is prevented but opening is still possible. Used to connect a photoelectric sensor or similar.0/1
DisPcDisable periphery controlDisables inputs Tg, Co, Cc, T5 when On. (e.g Child lock, cleaning)
Control via user interface is still possible.
0/1
PoPartially OpenMoves Gate to partially open position if current position is different.0/1




Outputs

AbbreviationSummaryDescriptionValue Range
TgPulse to Open/Stop/Close
This output is only visible in certain configurations.
0/1
OpOpen0/1
ClClose0/1
ImIn motion0/1
PosPosition0.0 = closed, 1.0 = open0...1
WlWarning lightFor activating a flashing warning light when the gate is moving.
On/Off time is defined via parameters (Wlon) and (Wloff).
0/1
APIAPI ConnectorIntelligent API based connector.
API Commands
-




Parameters

AbbreviationSummaryDescriptionUnitValue RangeDefault Value
RemRemanence inputRemanence input: If active, the function block retains its previous state after a Miniserver reboot.
The state of the function block is saved:
– When saving to the Miniserver
– At a planned reboot
– Before a backup
– Once per hour
The data is saved on the SD card.
-0/10
OpdOpening Durations0...∞60
CldClosing Durations0...∞60
PdPulse durationPulse duration of outputs Tg, Op, Cl.
This parameter is only visible in certain configurations.
s0...∞0,5
PpdPulse pause durationPause duration between two subsequent pulses of outputs Tg, Op, Cl.
This parameter is only visible in certain configurations.
s0...∞0,5
MldMotor lock durationDuration of motor lock between direction changes.s0...∞0,5
WlonWarning light on durations0...∞1
WloffWarning light off durations0...∞1
TypeTypeAnimation Type
0 = Garage Door
1 = Single Gate opening to the left
2 = Single Gate opening to the right
3 = Gate opening to both sides
4 = Folding Door opening to the left
5 = Folding Door opening to the right
-0...50
PoPosPartially Open PositionTarget-Position for Input Po-0...10,2




Properties

SummaryDescriptionValue RangeDefault Value
Connection TypeSets the behaviour of the outputs (Tg), (Op) and (Cl)
Direct Control = Digital Outputs
Separate Controller = Pulse Outputs
--
Activity Log EntriesNumber of entries in the activity log.
0: log is disabled
The activity log tracks relevant changes since program start.
0...10020



Connection Type: Direct

In this configuration, the outputs (Op) and (Cl) operate as on/off signals using two relay outputs, one for opening and one for closing.
Travel times are defined via parameters (Opd) and (Cld). The gate type can be set via the Type parameter for correct display in the user interface and limit switches or light barriers can be connected to the inputs.


Connection Type: Separate Controller

In this configuration, the outputs (Op) and (Cl) operate as pulse signals, with an optional (Tg) output for single-relay control.
Travel times are defined via parameters (Opd) and (Cld). The gate type can be set via the Type parameter for correct display in the user interface and limit switches or light barriers can be connected to the inputs.


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.