TR Electronic GmbH
Eglishalde 6
D-78647 Trossingen (Germany)
Phone: +49 (0)7425/228-0
Fax:   +49 (0)7425/228-33
Internet: www.tr-electronic.de

Author: MAH
Date: 18-MAR-2004


Readme.txt for Setup of EprogW32
================================

1. Software Overview
--------------------

EprogW32:
Utility for programming EPROG devices

Features:
Viewing, editing and reprogramming of Eprog devices (encoders) and Eprog data files,
translation of EPROG dialogs


2. Software and Hardware Requirements
-------------------------------------

This setup and software requires one of these operating systems:
  Windows 95/98/ME
  Windows NT4/2000/XP

For connecting to an EPROG device you need one of these interfaces:
  RS232 port + "PC adapter" from TR Electronic, (isolated RS232 to RS485 converter, 
	TR order nr.: 490-00301
  B&B Electronics Ltd. "USOTL4" (isolated USB to RS485 converter),
 	Internet: www.bb-europe.com

Settings required for USOTL4:
  DIP Switch 1 - ON  (Transmit driver only enabled during data transmission)
  DIP Switch 2 - OFF (Receive driver always enabled, echo mode on)
  DIP Switch 3 - ON  (2 wire mode, connects TDA and RDA)
  DIP Switch 4 - ON  (2 wire mode, connects TDB and RDB)
  RS485+/- from the encoder must be connected to TDB+/TDA-, GND to GND.

Hints:
  Other USB to serial converters usually do not work, because they don't meet
  the speed requirements.

  With EprogW32 it is possible to connect and display EPROG devices on several
  COM ports at the same time.

  Using the B&B USOTL4 will reduce the total data transfer rate due to the USB
  overhead when compared to the PC Adapter.

  Some early versions of the B&B USOTL4 delivered until Mai 2003 do not work
  under Windows XP on an ACER laptop, because they always sets the baudrate 
  to 3 MBaud.
  


3. Setup Execution
------------------

Copy all files of this setup in a temporary directory on your local drive.
Select the Setup.bat or Setup.pif and run it by pressing <Enter> or doubleclick.
Follow the instructions: Press S to continue Setup for Windows or Q to Quit (Abort).

When the setup is finished successfully, you may delete these files.


4. File List for Setup of EprogW32
----------------------------------

Choice.com
Deltree.exe
Readme.txt
Setup.bat
Setup.pak
Setup.pif


5. Modifications & Bug Fixes
----------------------------

24-Feb-2003, MAH
  Translation of EPROG dialogs added.

2-June-2003, MAH

  Timer event handler now dispatches windows messages so that EprogW32 will not freeze
  short after going online under Windows NT4/2000/XP.

5-June-2003, MAH

  The COM state and message rate of the EPROG window where the mouse pointer hovers is 
  displayed in the status line. 
  The display is refreshed 9.1 times per second. Each value download needs 3 messages.
  If 4 displayed lines require refreshes, the message rate will be 4*3*9.1 = 109.2 
  messages/sec at maximum.

  Detection and notification by messagebox if connection to EPROG device is interrupted
  for more than 3 refresh periods.

  Production mode is password protected now.

  In order to avoid loss of key presses and mouse klicks, refreshing is no longer done 
  directly by the timer event handler. It just triggers the idle event handler to do the 
  refresh.

  In order to avoid crashes when closing windows, close events are delayed until finishing
  long calculations that also require dispatching of windows messages.

6-June-2003, MAH

  Trailing stopbits behind answer are ignored to get communication to LA running.

11-June-2003, MAH

  Increased priority of display refresh to prevent freezing under Windows XP

14-Feb-2004, V1.0.3.1, MAH

  Feature added: Conversion of incompatible EPROG devices
  Bug removed: If upload of a value fails in UploadValues(), it is aborted after too many
  retries instead of looping endless.
  Bug removed: If uploading of any value fails when going online, TFileTypeEprog goes
  offline again and restores the old data.
  Bug removed: If WriteFile doesn't send all characters to the COM, SendMessage aborts
  with an error.

18-MAR-2004, V1.0.3.2, MAH

  Go online menu for 20 COM ports. On going offline the previous settings are
  no longer restored to the COM port, because this sometimes crashes with
  USOTL4 on Windows ME.

06-OCT-2006, V1.0.3.3, MAH

  The status line of an EPROG dialog now displays additional information
  after line number and line count: "0xIIII AAAA BBBB [VV]"
  IIII - hexadecimal line index required for EprogwLib functions
  AAAA - hexadecimal 1st attribute word of line
  BBBB - hexadecimal 2nd attribute word of line
  VV   - hexadecimal vector index required for EprogwLib functions

17-APR-2007, V1.0.3.4, MAH

  The COM ports are opened as shared to allow access to USB ports under Windows XP.
