Installation Information

Interface DLL - dea.dll

PCDLRN.INI/Settings Editor - Section header title - [DEA_Interface]

This information covers machines with the Tutor, Tutor P, and DEAC (including B3P and B3PS) controllers.

If Tutor for Windows is installed on the computer, perform a straightforward installation.

The first time PC-DMIS is run, it locates the WTUTOR.INI file and extracts the relevant information about the location of the compensation map, mechanical offsets, etc., and sets the corresponding options in the PCDLRN.INI file. It looks in up to three different locations to locate WTUTOR.INI:

  1. First, it looks in the PC-DMIS installation directory.

  2. If the file is not there, PC-DMIS then looks in the directory in which the current Windows system was installed as returned by the GetWindowsDirectory function in the WIN32 API. Typical examples are C:\WINNT and C:\WINDOWS.

  3. If the file is not there, PC-DMIS finally looks in C:\WINDOWS if it exists.

If you are installing on a computer that does not have Tutor installed, then you need to make the relevant changes to the PCDLRN.INI file and obtain copies of the relevant files. The main files are the COSDAT file and the compensation files.

COSDAT File

If needed, the file must be named COSDAT1.BIN. This is a binary data file.

Controllers in the DEAC family can have a COSDAT that is resident in the controller.

PC-DMIS tries to use the resident COSDAT vs. the COSDAT1.BIN file for DEAC controllers that is controlled by the DEACForceDownload entry in the INI file as detailed below.

Compensation Files

The exact files needed depend on the method of VolComp that you select. If you select NONE, then no files are needed.

DEA Standard VolComp

DEA Standard VolComp is the method that has been in use with this interface. It requires a compensation file in the standard TUTOR format. You can name the file as desired. It can exist in any directory as long as you correctly set the INI file entry for COMPENS_FILE_NAME.

If the TUTOR configuration is later changed to use a different file, PC-DMIS will not know about the change even though the WTUTOR.INI file was updated because it does not examine that file every time it is run. PC-DMIS only examines the file the first time you run PC-DMIS.

dea.dll (WCompens32) VolComp

dea.dll (WCompens32) VolComp is a DEA proprietary method that utilizes a DLL provided by DEA that performs the compensation. There are two versions of this DLL:

Both DLLs require a compensation file in the same format that TUTOR uses. (Older versions of TUTOR use the older format for that data. Newer versions of TUTOR use the newer format.)

It also requires three additional files, RCXFILE.TXT, RMXFILE.TXT, and FZYFILE.TXT, utilized for the sink compensation. The compensation data file is identified by the INI file entry for NEWCOMPENS_FNAME. In addition, if it is being used on one of the large systems with dual readers on one axis (usually the X axis), the DLL automatically looks for another file named LXXD1.DAT in the C:\WTUTOR directory.

The three .TXT files and the DLL must be in the PC-DMIS installation directory. See "Additional Notes" for more details about the various DLLs and related files that must be present for this VolComp method to function properly. This VolComp method will most typically be used on horizontal arm machines or dual reader machines.

If you are using this VolComp method, it is important that the WCompensMode option is set correctly. If you are using a dual-arm machine, it is important to set ARM2CompMode=True for the arm with a negative stroke. For more information, see "Interface-Specific Options."

ASI VolComp

ASI VolComp is the normal method that ASI service representatives use when they perform their own laser calibration of a machine. Normally, this results in a compensation file named COMPENS.DAT. It is stored in the PC-DMIS installation directory.

The internal format of this file is not the same as the TUTOR standard format.

Brown & Sharpe VolComp

Brown & Sharpe VolComp is the method frequently used on controllers such as the SHARPE32. It can also be applied to other controllers.

This method uses a compensation file named COMP.DAT.