Benutzer-Werkzeuge

Webseiten-Werkzeuge


lon_en

Dies ist eine alte Version des Dokuments!


LON

The Lon driver enables the MBS gateway to exchange data with LON devices via FT-BUS.

Highlights of the LON-FT Bus-System: - Free Topology (line and star) - twisted pair - 78kbit/s - max 64 clients (LON-Knot) each bus segment

Various ways of addressing can be used.

The name of the Lon driver is: lon
The routing-address of the first Lon driver is: 10
The data point file of the first Lon driver is: lon1.txt
The configuration file for global settings is: lon1.cfg

Following data point definitions are valid:

Type Description
M Integer value (binary data points, counters) which can/shall only be read by the gateway
S Integer value which can be either read or written by the gateway. (to M-BUS writing is not possible)
X Floating point value (with decimal place) which can/shall only be read by the gateway
Y Floating point value (with decimal place) which can be either read or written by the gateway. (to M-BUS writing is not possible)
A String, is used e.g. with BACnet Trends and ESPA4.4.4 data points

Addresses are defined as follows:

explizit addressing with Neuron-ID
<SNVT> <Neuron-ID>.<nr>[/<sub>] [<*|/T <sec»] [</H <sec»]

explizit addressing with Domain-ID.Subnet.Node
<SNVT-Typ> <Domain-ID>.<Subnet>.<Node>.<nr>[/<sub>] [<*|/T <sec»] [</H <sec»]
Domain-ID always 0.

Binding (requires LON-Binding-Tool e.g. LON-Maker)
<SNVT-Typ> - - - <nr>[/<sub>] [<*|/T <sec»] [</H <sec»]

A maximum of 1024 variables can be provided for binding. Some binding tools limit the amount of variables at 64. Binding supports a maximum of 16 different addresses.

Expression: Meaning
SNVT number of SNVT-Type
nr sequential number to SNVT within gateway/device
sub element number within SNVT
* trigger element writes directly
/T <sec> timeout for trigger in <sec>
/H <sec> Heartbeat for cyclic sending an output variable value every <sec>

Typical data point definitions:

Addressing with Neuron-ID:
[X object 1]
  name = analogue value read by the gateway. SNVT-type 66 (SNVT_volt_f), SNVT-No. 4 within a device with Neuron-ID 000360850201
  query = pe
  format = 66 000360850201.4
[X object 2]
  name = analogue value read by the gateway. SNVT-type 105 (SNVT_temp_p), SNVT-No. 12 within a device with Neuron-ID 000360850201
  query = pe
  format = 105 000360850201.12
[Y object 3]
  name = analogue value written by the gateway. SNVT-type 95 (SNVT_switch[value]), SNVT-No. 4 within the device with Neuron-ID 00A051437401
  query = pe
  writecache = yes
  format = 95 00A051437401.4
[S object 4]
  name = integer value written by the gateway. SNVT-type 95 (SNVT_switch[state]), SNVT-No. 4 within the device with Neuron-ID 00A051437401
  query = pe
  writecache = yes
  format = 95 00A051437401.4
[M object 5]
  name = binary value read by the gateway. SNVT-type 83 (SNVT_state[Bit16]), SNVT-No. 5 within the device with Neuron-ID 00A051437401
  query = pe
  writecache = yes
  format = 83 00A051437401.5/1
[M object 6]
  name = binary value written by the gateway. SNVT-type 83 (SNVT_state[Bit15]), SNVT-No. 5 5 within the device with Neuron-ID 00A051437401
  query = pe
  writecache = yes
  format = 83 00A051437401.5/2
Addressing with Domain-ID.Subnet.Node:
[X object 1]
  name = analogue value rerd by the gateway. SNVT-type 66 (SNVT_volt_f), SNVT-Nr. 4 within the device with address 01.02.03
  query = pe
  format = 66 01.02.03.4
Adressing with binding:
[Y object 1]
  name = Analogue value provided by the gateway. SNVT-Typ 66 (SNVT_volt_f), SNVT-Nr. 2 within the gateway
  query = pe
  format = 66 --- 2

Alternatively you can specify the address formats 'Domain-ID.Subnet.Node' and 'Neuron-ID' directly:

[X 66 000360850201.4]
  name = analogue value read by the gateway. SNVT-type 66 (SNVT_volt_f), SNVT-No. 4 within a device with Neuron-ID 000360850201
  query = pe
[X 105 000360850201.12]
  name = analogue value read by the gateway. SNVT-type 105 (SNVT_temp_p), SNVT-No. 12 within a device with Neuron-ID 000360850201
  query = pe
[Y 95 00A051437401.4]
  name = analogue value written by the gateway. SNVT-type 95 (SNVT_switch[value]), SNVT-No. 4 within the device with Neuron-ID 00A051437401
  query = pe
  writecache = yes
[S 95 00A051437401.4]
  name = integer value written by the gateway. SNVT-type 95 (SNVT_switch[state]), SNVT-No. 4 within the device with Neuron-ID 00A051437401
  query = pe
  writecache = yes
[M 83 00A051437401.5/1]
  name = binary value read by the gateway. SNVT-type 83 (SNVT_state[Bit16]), SNVT-No. 5 within the device with Neuron-ID 00A051437401
  query = pe
  writecache = yes
[M 83 00A051437401.5/2]
  name = binary value written by the gateway. SNVT-type 83 (SNVT_state[Bit15]), SNVT-No. 5 5 within the device with Neuron-ID 00A051437401
  query = pe
  writecache = yes
[X 66 01.02.03.4]
  name = analogue value rerd by the gateway. SNVT-type 66 (SNVT_volt_f), SNVT-Nr. 4 within the device with address 01.02.03
  query = pe
[X 95 00.02.04.32/1]
  name = addressing structural element value. SNVT-Typ 95 (SNVT_switch), SNVT-Nr. 32 within the device with address 00.02.04
  query = pe
[M 95 00.02.04.32/2]
  name = addressing structural element state. SNVT-Typ 95 (SNVT_switch), SNVT-Nr. 32 within the device with address 00.02.04
  query = pe
lon_en.1529479237.txt.gz · Zuletzt geändert: 20.06.2018 07:20 von amu