Omega Engineering M-4066 manual How to use Corrections, Correction.INI file

Page 60

How to use Corrections

Correction.INI file

After adding the Correction ID to the device section of the OMWT-SOFT-OPC.INI file, you must set up the Correction used by that Correction ID. If you're using a correction that is not predefined, you must write a Correction.INI file. This file should be stored in the same directory as the OMWT-SOFT-OPC.INI file. Name your file "Correction.INI" and include all the correction sections you like, from 1 to 127. Include a CorrType, either 1 (for correction parameters) or 2 (for a lookup table).

Lookup Table

A lookup table is a CorrType of 2. If you do a lookup table, you must observe a couple of rules. You must specify Elements, which is the number of values in the list. The RawValues list and the CorrectedValues list must be of the same length.

The RawValues list must go from smallest to largest (numbers must be in increasing order). When writing your lookup values, do not put a space after the comma. There is a functional limit to the number of elements in the lists; roughly, 500 integer values or 300 real values, for the RawValues and CorrectedValues taken individually.

Here is an example of a lookup correction section: [Correction5]

CorrType=2

Elements=5

RawValues=400,450,500,550,600

CorrectedValues=1400,1450,1500,1550,1600

Thermistor NTC Parameters

You may choose to correct your sensor's data with a group of parameters. Use CorrType 1. If you decide to use parameters, specify the parameters as in the following example:

[Correction2]

CorrType=1

DivideRes=10000

NormalRes=10000

A=3.3539264E-3

B=2.5609446E-4

C=1.9621987E-6

D=4.6045930E-8

56 N Corrections

OMWT-SOFT-OPC Server

Image 60
Contents OWMT-SOFT-OPC OMEGAnet Online Service Internet e-mail Info@omega.com Contents OMWT-SOFT-OPC Server Data Logging Overview Quick StartOverview OMWT-SOFT-OPC Server OMWT-SOFT-OPC Server and Wireless Wireless SetupDescription Edit Device Receivers Device ListOMWT-RECIP OMWT-REPEATPolling Identification FilteringWhat is OPC? Data Logging DiagnosticsSetup OMWT-SOFT-OPC Main WindowMain Window Change PortAdd/Delete IP Connection View IP Connection Status Outputs New and EditTrain ReConfigure Net Search and Add DevicesDevices Errors QuitHelp OMWT-SOFT-OPC Server .INI File Format OMWT-SOFT-OPC.iniServer Logging IP AddressesTemperature Setup Humidity Digcounter and Directional Counter DirectcntCnttemp Fastcnttemp FASTCNTTEMP1Alarmtemp Analog Input OMWT-AIN5V, OMWT-AIN10V, OMWT-AIN20MA, OMWT-VIB, OmwtMOT Access/Control Reader Repeater Dual Discrete OutputWireless Analog Output OUTPUTANALOG1OMWT-SOFT-OPC INI Backup OMWT-SOFT-OPC Server Tags Device NamesOMWT-SOFT-OPC Server Tags Temperature Device Tag NamesDigital I/O DIGITALn Temperature/Humidity HUMIDITYn OMWT-IRCNT, OWT-DIRCNT Cnttemp CNTTEMPn Fastcnttemp FASTCNTTEMPn Alarmtemp ALARMTEMPn AnalogInput AIn Access/Control Reader IDRn OMWT-SOFT-OPC Server Tags Repeater REPEATERn Dual Discrete Output OUTPUTDISCn Wireless Analog Output OutputAnalogn Server Item Names OMWT-SOFT-OPC Server OMWT-SOFT-OPC Server Tags N OMWT-SOFT-OPC Server Tags Features OMWT-SOFT-OPC Server Data LoggingFile Management File Format Data Log File Format Error Log Setting up to use OMWT-RECIP Receivers OMWT-RECIP ReceiversOverview of OMWT-RECIP Receivers OMWT-RECIP Receiver Notes Error Messages Communication ErrorsRuntime Errors Communication Error CRC16 or Time OutOMWT-SOFT-OPC Server Internal Error Why Use Corrections CorrectionsCorrection IDs Pre-defined ThermistorHow to use Corrections Correction.INI filePredefined Corrections NtcnormalresWARRANTY/DISCLAIMER OMEGA…Of Course