
Crestron e-control Database Manager SW-DBM
12 •• Basic Server Setup Installation & Reference Guide — DOC. 5823
The installer registers demoDBM.ini as the currently selected Configuration
Settings file. (If the server’s title bar does not read “e-control Database Manager
Demos,” use the File | Configuration file… command to reset it.) This file
configures the server for all three demos.
Each demo folder contains the following files:
Demo?COM.smw SIMPL Windows project file (RS-232 version)
Demo?TCP.smw SIMPL Windows project file (TCP/IP version)
demo?COM.bin compiled SIMPL program code (RS-232 version)
demo?TCP.bin compiled SIMPL program code (TCP/IP version)
RS-232 is featured in the Quick
Setup Guide because it is easy to
set up. Because we anticipate
strong interest in TCP/IP, we have
pre-built both versions for your
convenience.
In the above, ? stands for the demo number. The two versions of the SIMPL
program for each demo, (COM and TCP) are almost identical, both being
configured for a CNMSX-PRO, using the front panel device and a touchpanel with
CRESNET ID = 03. Both versions have ports defined for both serial (RS-232)
communications via the CNMSX-PRO’s built-in COM A port (slot 4, port A), and
EtherNet (TCP/IP) communications via the LAN port on a CNXENET card installed
in the CNMSX-PRO’s DPA slot. In the COM versions, the TCP/IP port is
commented off while in the TCP versions, the RS-232 port is commented off. This
is the only difference between the two versions.
The following sections separately describe the setup procedures for connecting
multiple control systems via either RS-232 or TCP/IP connections. Actually, a
mixture of connections is permitted. For example, two control system might be
connected via RS-232 (using the COM1 and COM2 ports) while two more might be
simultaneously connected via the TCP/IP network connection.
In the following, the indented, italicized paragraphs contain advice on setting up the
server and a control system specifically to run the supplied demo files. You will find that
most of the steps have already been accomplished because they are specified by the
supplied demo configurations.
Communications Setup
Server Side
1. Run server application by selecting Database Manager from the Crestron
folder of your Start menu.
2. Select config file. Specify a Configuration Settings file (.ini file) by selecting
File | Configuration File…. Refer to “Specifying a Configuration File,” page
16.
The server is installed with a demomail.ini pre-selected as the default
configuration file. (This is intended to simplify the Quick Start Guide.)
Set communications mode. Select Server | Configure and enter a password to open the
Configuration Options window. (Refer to “NOTE: If the server cannot open a specified configuration
file, it uses default values for all options. If any changes are made, a new config file is created using
the specified pathname when the OK or the Apply buttons are actuated
3. Password Access,” page 16). Select the COM Settings tab. The settings for
each connection to a control system must match those on the other end (the
control system side) of the actual connections. Click on each connection in
turn, click the Modify… button, and choose either RS-232 (and select the port
and speed) or TCP/IP (and set the IP address and IP ID). Click OK to make
the changes for each connection.
The demos are pre-configured to use RS-232.
Komentáře k této Příručce