

Fig.5.4 "Logic function setting" Interface
1st/2nd/3rd... Logic function
This parameter is for setting the setting interface of logic function, display corresponding logic function page when select. Up to enable 8 logic functions.
Description for logic function
This parameter is for setting the name description for logic function, up to input 30 characters.
Function of channel
This parameter is for setting function of the channel.
Options:
AND
OR
XOR
Gate forwarding
Threshold comparator
Format convert
Gate function
Delay function
Staircase lighting
AND/OR/XOR: The parameters and communication objects are identical; only the logical operation differs. The following uses one option as an example to explain the parameters.
5.4.1 Parameter Setting Interface “AND/OR/XOR”

Fig.5.4.1 "AND/OR/XOR" Interface
Input a/b/c/d/e/f/g//h
Defines whether logic input Input x participates in the operation normally or participates with its value inverted.
Options:
Disconnected: Not connected; does not participate in the operation.
Normal: The input value participates in the operation directly.
Inverted: The input value is inverted before participating in the operation.
NOTE:
The initial value is not inverted.
Default value
Defines the initial value of logic input x.
Options:
0
1
Result is inverted
Determines whether to invert the logic calculation result.
Options:
No: Output directly.
Yes: Output after inverting.
Read input object value after voltage recovery
Sets whether the device sends a read request to the logic input objects after power recovery or programming.
Options:
No
Yes
Output send when
Defines the condition for sending the logic operation result.
Options:
Receiving a new telegram: The logic result is sent whenever a new logic input telegram is received.
Every change of output object: The logic result is sent only when the output value changes.
NOTE:
During the first logic calculation, the result is sent even if it does not change.
Send delay time
Sets the delay before sending the logic result to the bus.
Delay = Base×Factor. If Base is set to None, no delay is applied.
Base:
None
0.1s
1s
...
10s
25s
Factor: 1..255
5.4.2 Parameter Setting Interface “Gate forwarding“

Fig.5.4.2 "Gate forwarding" Interface
Object type of Input/Output
This parameter is for setting the object type of input/output.
Options:
1bit
4bit
1byte
Default scene NO. of Gate after startup [1~64,0=inactive]
Sets the default scene that allows logic gate forwarding after the device starts up. The selected scene must be configured in the parameters.
Options:
1..64, 0=inactive
TIP:
It is recommended to select a gate scene before operation; otherwise, the initial scene is enabled by default.
z->Gate trigger scene NO. is [1~64,0=inactive] (z=1~8)
Sets the scene number used to trigger logic gate forwarding. Each logic function supports up to 8 trigger scenes.
Options:
1..64, 0=inactive
Input A/B/C/D send on
Defines the output(s) to which input X (X = A/B/C/D) is forwarded after gate processing.
Options:
Disable
Output A
Output B
...
Output B,C,D
Depending on the selection, one input can be forwarded to one or multiple outputs. The output value is identical to the input value.
5.4.3 Parameter Setting Interface “Threshold comparator”

Fig.5.4.3 "Threshold comparator" Interface
Threshold value data type
Defines the data type of the threshold value.
Options:
4bit value (DPT3.007)
4byte unsigned value [0..4294967295]
1byte unsigned value (DPT5.010)
Ext. temperature value (DPT 9.001)
2byte unsigned value (DPT7.001)
Ext. humidity value (DPT 9.007)
2byte signed value (DPT8.x)
Illuminance value (DPT 9.004)
2byte float value (DPT9.x)
Threshold value
Sets the threshold value. The available range depends on the selected data type.
Options:
4bit value (DPT 3.007): 0..15
1byte unsigned value (DPT 5.010): 0..255
2byte unsigned value (DPT 7.001): 0..65535
2byte signed value (DPT 8.x): −32768..32767
2byte float value (DPT 9.x): −670760..670760
4byte unsigned value: 0..4294967295
Ext. temperature value (DPT 9.001): −20..95 °C
Ext. humidity value (DPT 9.007): 0..100 %
Illuminance value (DPT 9.004): 0..65535 lux
The parameter is visible only when the data type is 2byte float value (DPT 9.x) or Illuminance value (DPT 9.004).
Hysteresis threshold value
Set the hysteresis threshold.
Options: 0..500
If Object value<Threshold value
Parameter "If Object value=Threshold value"
Parameter "If Object value!=Threshold value"
Parameter "If Object value>Threshold value"
Parameter "If Object value<=Threshold value"
Parameter "If Object value>=Threshold value"
Define the logical result to be sent when the object input value meets the corresponding condition.
When the data type is 2byte float value (DPT 9.x) or Illuminance value (DPT 9.004), only the < Threshold value and > Threshold value options are available.
Options:
Do not send telegram: The selected condition is ignored.
Send value "0":
Send value "1"
Send value "0"/"1": Sends a telegram with value 0 or 1 when the condition is met.
NOTE:
If multiple parameter settings conflict, the value defined by the last matching condition takes priority.
Example:
If Object value = Threshold value: Send value “0”
If Object value ≤ Threshold value: Send value “1”
When the object value equals the threshold, the logical result sent is “1”.
Output send when
Defines when the logical operation result is sent.
Options:
Receiving a new telegram: The logic result is sent each time a new logical input telegram is received.
Every change of output object: The logic result is sent only when the output value changes.
NOTE:
During the first logic operation, the result is sent even if the output value does not change.
Send delay time
Sets the delay before sending the logic result to the bus.
Delay = Base×Factor. If Base is set to None, no delay is applied.
Base:
None
0.1s
1s
...
10s
25s
Factor: 1..255
5.4.4 Parameter Setting Interface “Format convert“

Fig.5.4.4 "Format convert" Interface
Function
Defines the data format conversion type.
Options:
2x1bit-->1x2bit
8x1bit-->1x1byte
1x1byte-->1x2byte
2x1byte-->1x2byte
2x2byte-->1x4byte
1x1byte-->8x1bit
1x2byte-->2x1byte
1x4byte-->2x2byte
1x3byte-->3x1byte
3x1byte-->1x3byte
Output send when
Defines when the logical operation result is sent.
Options:
Receiving a new telegram: The logic result is sent each time a new logical input telegram is received.
Every change of output object: The logic result is sent only when the output value changes.
NOTE:
During the first logic operation, the result is sent even if the output value does not change.
5.4.5 Parameter Setting Interface “Gate function”

Fig.5.4.5 "Gate function" Interface
Object type of Input/Output
Defines the data type of the input and output objects.
Options:
1bit[On/Off]
1byte[0..100%]
1byte[0..255]
2byte[Float]
2byte[0..65535]
The following parameter is visible when "1bit[On/Off]" is selected.
Filter function
Defines whether ON or OFF telegrams are filtered.
Options:
Deactivate: Not filtering.
On filter out: OFF passes through; ON is blocked.
Off filter out: ON passes through; OFF is blocked.
Value output
Defines whether the output value is inverted.
Options:
Normal
Inverted
Gate object value
Defines whether the gate object value is inverted before output.
Options:
Normal
Inverted
Gate status after voltage recovery
Defines the gate state after device startup.
Options:
Disable
Enable
Save input signal when gate close
Defines whether input signals are stored while the gate is closed.
Options:
No: Input values received while the gate is closed are ignored.
Yes: Input values received while the gate is closed are stored and output when the gate opens (regardless of value change).
5.4.6 Parameter Setting Interface “Delay function“

Fig.5.4.6 "Delay function" Interface
Object type of Input/Output
Defines the data type of the input and output objects.
Options:
1bit[On/Off]
1byte[0..100%]
1byte[0..255]
2byte[Float]
2byte[0..65535]
Delay time [0..6500]
Defines the delay time before the input value is forwarded to the output.
Options: 0..6500 s
NOTE:
If a new input telegram is received during the delay period, the timer is restarted.
5.4.7 Parameter Setting Interface “Staircase lighting”

Fig.5.4.7 “Staircase lighting" Interface
Trigger value
Defines the trigger telegram value.
Options:
0
1
0 or 1
Object type of output
Defines the output object type.
Options:
1bit
1byte
Duration time of staircase lighting[10..6500]
Defines how long the staircase lighting remains ON after being triggered.
Options: 10..6500 s
Send value 1 when trigger
Send value 2 after duration time
Define the output values sent when triggered and after the duration expires.
Available options depend on the output object type.
1 bit
OFF
ON
1 byte
0..255
Retriggering
Defines whether the timer restarts when a trigger value is received during the delay period.
Options:
Disable
Enable