SAGE ENDEC Parameter Save and Restore - eprog rev 1.4

Installation Instructions

1) Make a new directory on your hard drive for the ENDEC Utilities,
   for example:
   c:> md \endecdos

2) Change to that directory:
   c:>  cd\endecdos

3) Copy all files from the release disk to your hard drive:
   c:>  copy a:*.* .
   


This file contains instructions on using the eprog program to save (download) 
and restore (upload) ENDEC parameter files.

Release files

  eprog.exe   - the main program
  inter0.exe  - called by eprog.exe to edit the parameter file
  inter1.exe  - called by eprog.exe to edit the parameter file
  inter3.exe  - called by eprog.exe to edit the parameter file
  fips.dat    - Data file 
  eprog.hhh   - Data file
  eprog1.hhh  - Data file
  eprog3.hhh  - Data file
  527dflt.raw - Default parameters for ENDEC ROM version 5.27
  545dflt.raw - Default parameters for ENDEC ROM version 5.45 
                  (multi-station relay panel version)
	588dflt.raw - Default parameters for ENDEC ROM version 5.88
                  (also works with 5.75-5.87)


Setup
-----

To upload and download parameter files, you must connect the PC serial port to 
one of the ENDEC comm ports. Use a null modem cable, one that reverses pins 2 
and 3.  You must then set the comm port on the ENDEC to the DOS device.  Use 
the DEVICES menu as described in the ENDEC manual.

Run
---

With the PC comm port connected to the selected ENDEC comm port, run
the eprog program.  Use these options to specify the serial port:
     /cn - n is 1 for PC comm1, 2 for comm2.  The default is comm 1.
     /bn - n is 9600 for ENDEC computer port, and COMM 2,3, and 6.
           n is 1200 for ENDEC COMM 4 and 5.  The default is 9600.

For example, to start eprog and use PC comm port 2, enter:
  eprog /c2

You will then be prompted to select an option.

Getting parameters from the ENDEC
---------------------------------

If you select option 3, download data from ENDEC, you will be prompted for a 
file name. EPROG will use this file name to save the parameters.

Uploading parameters to the ENDEC
---------------------------------

If you select option 1, upload data to ENDEC, you will be prompted for
a file name.  Note that the parameters will not take effect until
ENDEC is rebooted - either by cycling the power, or using option 4, 
"reboot the ENDEC".

Editing parameters
------------------
Select option 5 to edit a parameter file.  You must save the edited file 
and then upload it and reboot the ENDEC before any changes take place.

Command line parameters
-----------------------

You can place eprog in a .bat file and automate uploading and downloading.
Use these command line parameters:
  /f<name>  - specify a file name, e.g., /fparm.  The default is eefile.
  /g        - get parameters
  /p        - put parameters
  /b        - reboot endec

For example:
  eprog /c2 /fmyfile /p /b
 
  will send myfile.raw to the ENDEC using port 2, and will then reboot
  the ENDEC.

Fixes:
1.4
Depending on the order of previous operations, deleting a new event code
or a new location would result in several problems - filters with "all" 
events would display as "125", and headers/filters with new events or 
filters will reference the incorrect new event or location.  Any parameter
file that has had a delete of a new header or filter is suspect and should
be examined.  Use the <F7> key to create a readable file from a parameter
file.

1.3
Deleting a location in the local area record always deleted the first
entry, not the displayed entry.  

New Features

1.3
When used with ENDEC version 5.79 and above, eprog will set the time of
day clock in the ENDEC (option 6).



