![background image](http://html1.mh-extra.com/html/rabbit/em1500/em1500_product-manual_3112140040.webp)
36
EM1500 Configuration
Windows (Secure config)
On MS Windows operating systems, the key file is stored in the installation directory,
under the EM1500RC subdirectory. The name of the file is
<install-dir>\EM1500RC\UNITKEYS.EMK
Even if you re-install the configuration program in another directory, it will always try
to access the same file (since the full name of the file is stored in the Windows regis-
try). This is convenient since you do not want to lose the configuration keys just
because of a new configuration program version).
This file should be protected from access by unauthorized users. If the machine is to
be used by several users, or the file shared over a network, then after configuring all
the necessary units you should move this file to a secure backup and delete the origi-
nal.
IMPORTANT:
only one instance of the configuration program should be allowed to run at
any one time. If another instance is started, it will not be able to access the key file since the
key file cannot be shared amongst multiple users, or multiple instances of the same applica-
tion. To enforce the single-use requirement, a lock file is created in the same directory, i.e.,
<install-dir>\EM1500RC\UNITKEYS.LCK
This file is created when the configuration program is started, and deleted when it fin-
ishes. If the program is terminated forcibly (e.g., by using the Task Manager) then this
file may be left in existence, which will prevent the configuration program from work-
ing correctly next time. In this case, you should manually delete the
UNITKEYS.LCK
file, then restart the program.
Linux (Secure config)
Under 80x86 Linux, the key and lock files are stored in
/etc/em1500rc
. As root
user, you should create the
em1500rc
directory under
/etc
, and give this directory
read, write and execute (list) privileges to the user who will be running the configura-
tion program. Access should be denied to other users (and/or groups). If this is not a
satisfactory key and lock file location, you can override the default locations by
changing some FOX library settings.
When the user starts the application for the first time, the FOX library creates some
files in the user's home directory, under a directory named
.foxrc
. In this directory,
a subdirectory for Rabbit products will be created. Under this directory will be a file
with registry settings for the emconf application, called EM1500. Thus, the settings
for each user are contained in the file
~/.foxrc/Rabbit/EM1500
You can edit this file and create two new entries to indicate where the unit keys and
lock file reside. Under the [SETTINGS] entry, add the following two lines:
sysKey="/home/em1500user/em1500rc/unitkeys.emk"
sysLock="/home/em1500user/em1500rc/unitkeys.lck"
Summary of Contents for EM1500
Page 14: ...10 www rabbit com Introduction...
Page 22: ...18 www rabbit com Getting Started...
Page 76: ...72 www rabbit com EM1500 Configuration...
Page 90: ...86 www rabbit com EM1500 Specifications...
Page 104: ...100 www rabbit com Serial and TCP Protocols...
Page 118: ...114 www rabbit com EM1500 FAQ...