Echelon LonBridg Server User Manual

Page 18

Advertising
background image

12

Configuring the LonBridge Server

<interface value="LON1" />
<ip value="default" />
<pollrate value="5" />
<port value="3050" />
<logging value="all" />
</bridge>

<bridge>

The <bridge> element defines the configuration, and is the top-most element
within the config.xml file.
The <bridge> element is required if any of the other child elements are

included, and only one <bridge> element is allowed per configuration file.

<autostart>

The <autostart> element specifies whether the service for the LonBridge

Server starts automatically when the operating system starts. Valid values
are true and false. The default value is true, which enables autostart.
This element applies only to the Windows platform.

<interface>

The <interface> element specifies the name of the network interface that the

LonBridge Server uses to communicate with the L

ON

W

ORKS

network. The

LonBridge Server uses LON1 as the default L

ON

W

ORKS

network interface.

This element applies only to the Windows platform.
For Linux platforms, the LonBridge Server uses a serial device name (such as
/dev/ttyS0) rather than a L

ON

W

ORKS

network interface.

<ip>

The <ip> element specifies the IP address for the LonBridge Server. By
default, the LonBridge Server uses the default IP address (0.0.0.0). This

default address enables the server to listen for IP connections on all IP

addresses for the server’s host computer.

If you specify a specific address (rather than the default), all LonBridge

remote clients must use the same address to communicate with the

LonBridge Server. However, if you specify the default address or 0.0.0.0,
remote clients can use any valid address for the host computer that is

running the LonBridge Server. Local clients can use the 127.0.0.1 loop-back

address.

<pollrate>

The <pollrate> element specifies the number of seconds between polls for
L

ON

W

ORKS

network variables. The LonBridge Server periodically polls the

network variables that are defined within the network. Valid values are

between 0 and 60. By default, the LonBridge Server uses a polling interval of
10 seconds.

Example: If the polling interval is 5 seconds per poll and there are 20
network variables to be polled, one network variable will be polled every 5

seconds, and it will take 100 seconds to poll all 20 network variables.

Advertising