L-DALI User Manual
122
LOYTEC
Version 5.2
LOYTEC electronics GmbH
Analog to Binary/Multi-state
: As a default the analog value is converted to the next
Boolean or state value (e.g. ‘1.2’ is written as state ID ‘2’). The user should specify an
adaptor with its own translation of value ranges to state values.
Multi-state to Multi-state
: Multi-state data points that have different state maps lead
to a conversion of their state values. The state maps of inputs and outputs are ordered
by state ID in ascending order. The state value of the input is then ranked as the n-th
state and propagated over the connection. For example, the input state ID ‘1’ is the 2nd
state and the output’s 2nd state has the state ID ‘0’. If the output data point has less
states than the input, the output state is limited to its highest state ID. The user should
specify an adaptor that defines which input state maps to which output state.
Binary to Binary
: Binary data points can be connected without conversion.
String to String
: String data points can only be connected to string data points.
User to User
: User data points can only be connected to user data points. If the length
is different, only valid bytes are written or excess bytes are truncated, respectively.
SNVT_switch to Analog/Binary/Multi
-
state
: The user data point of a SNVT_switch
can be connected to analog, binary, and multi-state data points.
Analog/Binary/multi
-
state to SNVT_switch
: Analog, binary, and multi-state data
points can be directly connected to a SNVT_switch user data point.
6.3.2
Multi-Slot Connections
Connections between structured data points often need to connect each structure member
separately. To increase the overview in the project on the involved, single connections, a
multi-slot connection
can be created for local connections. This is a connection with several
slots for transporting separated values over the connection. Each slot has a number and a
name and can connect two or more data points. Data points added to other slots do not share
their values across slots. One can think of such a connection as a cable with many wires. An
example is shown in Figure 115 (a). The data point ‘IN A’ sends its value to ‘OUT X’ but
not ‘OUT Y’.
IN A
OUT X
IN B
Slot 1
connection
(a)
(b)
OUT Y
Slot 2
IN B
OUT X
IN C
OUT Y
IN A
In 1
In 2
In 3
Out 1
Out 2
connection
Figure 115: Multi-slot connection (a) and multi-slot with math block adaptor (b).
Some gateway applications also require a functional mapping between different data point
structures in one connection. A multi-slot connection can be used with a math block adaptor
to accomplish this task. A math block has
n
inputs and
m
outputs. The multi-slot connection
has a slot for each input and output, which can be connected to the respective data points as
depicted in Figure 115 (b). For this multi-slot connection the math block adaptor defines a
fixed layout of the slots; no more slots can be added to this connection.