                                                                   Page 2-1
                          Chapter 2 - System Setup


OVERVIEW

This chapter explains how to configure The Monitor II for
your particular hardware setup. All of the Setup functions
are accessed through the SYSTEM menu and the SETUP sub-menu.

Most of the default settings will be sufficient to get you
started but you should look at each of the selections in the
SETUP menu just to familiarize yourself with the available
options.

To get you started quickly, here are a couple of the most
important options:

DEFAULT COM PORTS (Communication Setup)

The default setting is COM2 for both COM ports. If your
mouse is using COM 2, there may be a conflict with some
mouse drivers, causing a lock-up. If this happens,
temporarily remove your mouse drive and change the COM 
port settings in The Monitor II. You may then replace 
your mouse driver.

USERS (Setup Users)

If you wish to connect with an Infinity controller, you 
must,

Add the username 'MONITOR' with the password 'MASTER'
to your controller (at a programmer level).

or,

Add a user to The Monitor II that has already been
added to the controller.


The remainder of this chapter explains in detail all of the
SETUP options. You can probably skip the rest of this
chapter until you have a reason to make changes.

IMPORTANT NOTES

* Make sure you always have at least one level 3 user, or
  you won't be able to edit users anymore.

* Don't give any user an administration level password on
  the Infinity or alarm message won't be displayed by the
  controller.


                                                                   Page 2-2

2.1   Setup Users

*** YOU MUST HAVE A PASSWORD LEVEL OF 3 TO EDIT USERS. MAKE
*** SURE THERE IS ALWAYS AT LEAST 1 USER WITH A LEVEL 3
*** PASSWORD OR YOU WILL NOT BE ABLE TO EDIT USERS AGAIN.

*** DO NOT GIVE ANY USER AN ADMINISTRATIVE LEVEL PASSWORD
*** FOR THE INFINITY. THE  INFINITY  WILL NOT  DISPLAY ALARM
*** MESSAGES IF SOMEONE WITH THIS LEVEL PASSWORD IS LOGGED
*** ON.


After selecting SETUP/USERS, a selection screen will be
displayed. Use the mouse or the arrow keys to highlight a
user (or an empty entry to add a new user), and press the
left button or [Enter]. This will select that entry. After
selecting an entry, it will appear in the small box at the
top of the selection screen. At this point the entry may be:

* DELETEed - This will delete the user. The user will no
  longer be able to login to The Monitor II. All of this
  users information will be erased.

* EDITed   - This will allow editing of the entry.


If EDIT is selected, the selection screen will disappear,
and the EDIT USER dialog box will be displayed. This dialog
box contains the following information:


* USERNAME - This is the users name. It can be up to 16
  characters, but must be at least 2 characters.

  THE USERNAME MUST START WITH A LETTER, AND MAY INCLUDE
  ONLY LETTERS, NUMBERS, A PERIOD, OR AN UNDERSCORE.

* MONITOR PASSWORD - This is the password this person will
  use to log in to The Monitor II. It may be up to 16
  characters, but must be at least 2 characters.

  THE MONITOR PASSWORD MUST START WITH A LETTER, AND MAY
  INCLUDE ONLY LETTERS, NUMBERS, A PERIOD, OR AN
  UNDERSCORE.

                                                                   Page 2-3

* CONTROLLER PASSWORD - This is the password that will be
  used to logon to the controller when this person is using
  The Monitor II. If the CONTROLLER PASSWORD is "SAME" (in
  uppercase), the default username and password of the
  selected controller will be used.


* PASSWORD LEVEL - This is the password level for this
  person. Four levels are available:

  0 - View only.
  1 - View and change schedules and
      setpoints.
  2 - All functions except:
      Exit/Shell to DOS.
      Change Setup/Passwords.
  3 - All functions are available.

  ONLY PASSWORD LEVEL 3 USERS MAY EDIT THE USER DATABASE. YOU
  MUST  MAKE SURE YOU ALWAYS HAVE AT LEAST ONE LEVEL 3 USER OR
  YOU WILL NOT BE ABLE TO EDIT USERS AGAIN.

* CUSTOM USER SETUP - Here you may alter the functions that
  may be used by this person. If the listed functions has
  an 'X' beside it, then this person can use that function.

* CHANGE SETPOINTS - Allow this user to change
  setpoints on the graphic screens

* CHANGE TIMES/DATES - Allow this user to change
  times and dates on the graphic screens and
  schedules.

* TERMINAL MODE - Allow this user to communicate
  directly with the controller through terminal
  mode.

* BACKUP/RELOAD - Allow this user to backup the
  controllers memory to disk or reload the
  controllers memory from disk.

* ACKNOWLEDGE ALARMS - Allow this user to add
  comments to the alarm report.

* EXIT/SHELL TO DOS - Allow this user to make a
  permanent exit to DOS or a temporary exit to DOS
  (shell).

* CONNECT/DISCONNECT - Allow this user to connect
  with a controller or disconnect from a controller.

* CHANGE SETUP - Allow this user to change all setup
  information (printers, COM ports, etc.).

                                                                   Page 2-4

* BUILD/EDIT - Allow this user to edit the
  controller database (add controllers, delete
  controllers, etc.), or build graphic screens.

* EXECUTE SCRIPT FILES - Allow this user to execute
  user-written script files.

  IF ALLOWED TO EXECUTE SCRIPT FILES, SOME OF THE
  ABOVE FUNCTIONS COULD BE EXECUTED BY THE USER,
  EVEN THOUGH HIS ACCESS FOR THAT FUNCTION IS OFF.
  NO CHECK OF PASSWORD LEVEL IS MADE WHEN SCRIPT
  FILE COMMANDS ARE EXECUTED.


2.2   Setup Printers


After selecting SETUP/PRINTERS, the printer setup dialog box
will be displayed. This dialog box contains three Toggle
Input fields. Press [Space] to cycle through the choices and
then press [Enter] to accept the choice.

* MAIN PRINTER TYPE - The MAIN printer is used for graphic
  screen dumps, etc. (press <Ctrl>-D to dump screen).
  Select the type that best describes your MAIN printer.
  Although your exact printer may not be listed, most dot
  matrix printers have an EPSON* compatibility mode, and
  most laser printers have an HP LASERJET* mode. Please
  refer to your printers manual for more information.

* MAIN PRINTER PORT - This is the parallel port that the
 MAIN printer is connected to. It may be set to LPT1,
 LPT2, or NONE. A screen dump (by pressing <Ctrl>-D) will
 always use LPT1.

* ALARM PRINTER PORT - The ALARM printer is the printer
 that all alarm messages will be sent to (if the alarm
 needs to be printed). This is the parallel port that the
 ALARM printer is connected to. It may be set to LPT1,
 LPT2, or NONE.

 Both printers may be set to the same port.

                                                                   Page 2-5

2.3   Setup Communications

After selecting SETUP/COMMUNICATIONS, the communications
setup dialog box will be displayed. The information in this
dialog box is highly technical and should only be changed if
you are sure of what you are doing.

* COM3 IRQ - This is the Interrupt Request line for port
  COM3. Its' default value is IRQ4. This is the industry
  semi-standard, and should not normally require changing.

* COM3 ADDRESS - This is the COM port address for COM3.
  It's default value is 3E8 and should not normally require
  changing.

* COM4 IRQ - This is the Interrupt Request line for port
  COM4. Its' default value is IRQ3. This is the industry
  semi-standard, and should not normally require changing.

* COM4 ADDRESS - This is the COM port address for COM3.
  It's default value is 2E8 and should not normally require
  changing.

* DEF. MAIN PORT - This is the default main COM port when
  adding new controllers. The COM ports for each controller
  can always be changed, but this is the default. This will
  also be the port used when not connected to a controller.

* DEF. MAIN BAUD - This is the default baud rate of all new
  controllers.

* DEF. ALARM PORT - This is the default alarm COM port when
  adding new controllers. The COM ports for each controller
  can always be changed, but this is the default. This will
  also be the port used when not connected to a controller.

* DEF. ALARM BAUD - This is the default baud rate of all
  new controllers.

  THE MAIN COM PORT AND THE ALARM COM PORT MAY BE SET TO THE
  SAME VALUE, BUT THE BAUD RATES MUST MATCH.

* PHONE SERVICE - This should be set to the type of
  telephone service you have (TONE or PULSE).

* FLOW CONTROL TIMEOUT - This specifies how long after
  receiving a XOFF from the controller to restart
  transmission if no XON is received. It does not normally
  need to be changed.


             PLEASE READ "COMMUNICATIONS SETUP" IN CHAPTER 1

                                                                   Page 2-6

2.4   Auto Processing Setup

Auto processing is the timed execution of user-written
script files. They may be setup to execute at a given time
of day either every day, once per week, or once per month.

An auto process can be made to backup a controllers memory
late at night automatically, generate custom reports, etc.

After selecting SETUP/AUTO PROCESSING, a selection screen
will be displayed. Use the mouse or the arrow keys to
highlight an entry and press the left button or [Enter].
This will select that entry. After selecting an entry, it
will appear in the small box at the top of the selection
screen. At this point the entry may be:

* DELETEed - This will delete the auto process. The auto
  process will no longer be executed. All of this auto
  processes information will be erased.

* EDITed   - This will allow editing of the entry.


  If EDIT is selected, the selection screen will disappear,
  and the EDIT AUTO PROCESS dialog box will be displayed. This
  dialog box contains the following information:

* DESCRIPTION - This is the title of the auto process. It
  may be up to 30 characters long.

* SCRIPT FILENAME - This is the filename of the script file
  to execute. Do not include the file extension.

* FREQUENCY - This is where you specify how often to
  execute the script file. It may be set to DAILY, WEEKLY
  or MONTHLY.

* ACTIVATION TIME - This is the time of day to execute the
  script file.

* STATUS - This must be set to ENABLED for the script file
  to execute. Set this to DISABLED to temporarily keep this
  auto process from executing.

                                                                   Page 2-7

2.5   Custom Menu Setup

The custom menu is a list of 10 functions that may be
executed by the user. Each of these functions is actually a
user-written script file. Each controller can have it's own
custom menu. There is also a separate default custom menu
that is used when not connected with any controller. This
default custom menu will also be used when connected with a
controller, but no controller-specific custom menu has been
created.

After selecting SETUP/CUSTOM MENU, a selection screen will
be displayed. Use the mouse or the arrow keys to highlight
an entry and press the left button or [Enter]. This will
select that entry. After selecting an entry, it will appear
in the small box at the top of the selection screen. At this
point the entry may be:

* DELETEed - This will delete the custom menu entry. This
  custom menu entry will no longer be displayed to the
  user. All of this entries information will be erased.

* EDITed   - This will allow editing of the entry.

  If EDIT is selected, the selection screen will disappear,
  and the CUSTOM MENU EDIT dialog box will be displayed. This
  dialog box contains the following information:

* DESCRIPTION - This is the title of this custom menu
  entry. This is what the user will see when selecting from
  the menu.

* FILENAME - This is the filename of the script file to
  execute when this entry is selected. Do not include the
  file extension.

* PASSWORD LEVEL - This is the lowest password level that
  will be allowed to execute this entry.

                                                                   Page 2-8

2.6   General Setup

General setup is all of the miscellaneous items that do not
fit into any other category.

After selecting SETUP/GENERAL, a dialog box will be
displayed containing the following information:

* SCREEN BLANK DELAY - This is the number of minutes you
  want The Monitor II to wait between keystrokes before
  blanking the screen. If this is set to '5' then if no
  keys are pressed for 5 minutes the screen will go blank,
  until a key is pressed. Whatever was on the screen when
  it was blanked will be restored. SET THIS VALUE TO '0' TO
  DISABLE SCREEN BLANKING.

* TRANSMIT STRING CODES - These 4 codes will take effect
  when a string of characters is transmitted from The
  Monitor II. These are useful for CONNECTION STRINGS, etc.

* CONTROL CHARACTER PREFIX - (default '^') This code
  will cause the next character to be a control
  character, if that character is an 'A'-'Z'
  (uppercase only).

* CARRIAGE RETURN SYMBOL - (default '|') This code
  will cause a carriage return to be sent.

* 1/2 SECOND PAUSE - (default '$') This code will
  cause a 1/2 second delay in transmission.

* HEX VALUE PREFIX - (default '@') This code will
  cause the next 2 characters to be interpreted as a
  hex value, if the characters are both legal hex
  characters (0-9 or A-F uppercase only).

EXAMPLE DISCONNECT STRING:

|||^G$@1B@7F|||

will transmit 3 carriage returns (|||),
then a <Ctrl>-G (^G),
pause for 1/2 second ($)
then transmit a 27 for [ESC] and
a 127 for form feed (@1B@7F),
and then 3 more carriage returns (|||)

                                                                   Page 2-9

* LOGOFF ON DISCONNECT? - If set to YES, The Monitor II
  will issue the logoff command to the controller before
  disconnecting. This should always be set to YES for the
  Infinity controller.

* TEXT EDITOR FILENAME - This is the name of the text
  editor program you want to execute when "TEXT EDITOR" is
  selected from the menu. The default is DOS's "EDLIN".

  THERE IS A LIMITATION ON THE SIZE OF THE EDITOR. THIS
  LIMITATION WILL VARY DEPENDING ON THE AMOUNT OF RAM IN THE
  COMPUTER. THE "EDIT" PROGRAM FROM DOS 5.0 IS TOO LARGE.

* TERMINAL PROGRAM - This is the name of the terminal
  program you want to execute when "TERMINAL MODE" is
  selected from the menu. The default is "MONTERM".

* LOGON SCRIPT - This is the name of the script file you
  want to execute every time someone logs in to The Monitor
  II. This is useful for keeping user logs. You may leave
  this blank to disable this feature.

* LOGOFF SCRIPT - This is the name of the script file you
  want to execute every time someone logs out of The
  Monitor II. This is useful for keeping user logs. You may
  leave this blank to disable this feature.


2.7   Alarm Setup

After selecting SETUP/ALARMS, a dialog box will be displayed
containing the following information:

* ALARMS ENABLED? - This must be set to 'YES' for the
  Monitor II to recognize incoming alarm messages.

* POLL FOR ALARMS? - If this is set to 'YES', the Monitor
  II will transmit the command:

  'MON_PRINT_ALARM'

to the controller once every minute. This command will
cause the Infinity controller to transmit its alarm
messages if the supplied demo alarm programs (or similar
programs) are used.


