OMWT-SOFT-OPC Server .INI File Format. Omega Engineering Dynapro ET 3200 Series, OMWT-SOFT-OPC, M-4066, OMWT Series


Add to my manuals
63 Pages

advertisement

OMWT-SOFT-OPC Server .INI File Format. Omega Engineering Dynapro ET 3200 Series, OMWT-SOFT-OPC, M-4066, OMWT Series | Manualzz

OMWT-SOFT-OPC Server

Logging

[Logging] - section name

LogRate - 0: no logging; 1-100000 logging interval in seconds. 5 sec or greater OMWT-SOFT-OPC opens and closes the log file at every logging interval. Less than 5 OMWT-SOFT-OPC leaves the file open until OMWT-SOFT-OPC is terminated or “Server.Logging.LogRate” is set to 0 or 5 and greater.

LogFile - full pathname for the log file - default "OMWT-SOFT-

OPC.LOG"

OfflineIndicator - character or string to indicate offline - NULL: last value

LogErrors - 1 - log runtime network errors to OMWT-SOFT-OPC.ERR. 0

- do not log errors

IP Addresses

[IP Addresses] – section name (for OMWT-RECIP receivers)

IPWaitPort – port number that OWMT-SOFT-OPC will wait for connections initiated by an IP receiver. (default is 1060)

ForwardPort – port number that OWMT-SOFT-OPC will wait for connections to forward received packets. (default is 0 which means disabled) OWMT-SOFT-OPC will forward received packets through this connection. Each packet has the following format: sensor packet,node number, node description, sensor label. The INI parameter FowardAll in the [Server] section controls what packets get sent.

DIGITAL I/O

[Devicen] - Section name.

Address – serial number of the sensor.

DeviceType - Device type. (DeviceType=DIGITAL)

PollTime - How often to poll the device. (ms)

Label - Name used for the device (and Topic).

Log - Enable/disable logging of device.

OutputOnDemand - Output is initiated on demand or during poll.

DescriptionA - General purpose description.

DescriptionB - General purpose description.

OMWT-SOFT-OPC Server .ini File Format x 17

TEMPERATURE Setup

(OMWT-TEMP15 and OMWT-THERM)

[Devicen] - Section name.

Address - – serial number of the sensor.

DeviceType - Device type. (DeviceType=TEMP)

PollTime - How often to poll the device. (ms)

Label - Name used for the device (and Topic).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

Units - See OPC tags list under input.units for description.

Cal1Raw - Two point calibration point 1.

Cal2Raw - Two point calibration point 2.

Cal1Engr - Two point calibration engineering units for point 1.

Cal2Engr - Two point calibration engineering units for point 2.

DeadBand - Dead band filtering value in ºC. (Default 0.01)

FilterElements - running macro filter of the sampled data. Syntax: [no. of elements, type] where no. of elements is number of samples to filter; type – “AVERAGE”, “MEDIAN” and “AVERAGEMEDIAN”.

Default is “=3,MEDIAN”. Example: FilterElements1=6,AVERAGE

Description - General purpose description.

CorrID – What CorrectionID to use with this device. Must be found in the

"Correction.INI" file that you write and keep in the same directory as the OMWT-SOFT-OPC.ini file. 0 is the default and means no correction; 127 is the maximum. If the device type is a thermistor, the default CorrID is found in the [Server] section

"DefaultThermistorCorrID", which defaults to 128.

18 x OMWT-SOFT-OPC Server .ini File Format OMWT-SOFT-OPC Server

OMWT-SOFT-OPC Server

HUMIDITY

(OMWT-TEMPRH)

[Devicen] - Section name.

Address - – serial number of the sensor.

DeviceType - Device type. (DeviceType=HUMIDITY)

PollTime - How often to poll the device. (ms)

Label - Name used for the device (and Topic).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

PollSamples - No. of samples per poll (must be odd no.) If >0 Median Filter if <0 then Average Filter is used.

Temperature - Indicates if sensor needs temperature compensation. (0 or

1).

DwellTime - Time allowed to charge the probe. (ms)

PostDwell - Time after reading to allow bus to recover. (ms)

OverSampleDwell - Time before each over sample to charge probe. (ms)

DeadBand - Dead band filtering value in % of full scale.

Description - General purpose description.

Cal1Raw - Two point calibration point 1.

Cal2Raw - Two point calibration point 2.

Cal1Engr - Two point calibration engineering units for point 1.

Cal2Engr - Two point calibration engineering units for point 2.

Units - % Relative Humidity

TempCoeff - PPM temperature coefficient of the sensor.

TempCalib - Temperature at which the calibration was done.

TempAddress – serial number of the temperature sensor in the probe.

MacroFilterElements - running macro filter of the sampled data. Syntax:

[no. of elements, type] where no. of elements is number of samples to filter; type – “AVERAGE”, “MEDIAN” and “AVERAGEMEDIAN”.

Default is “=3,MEDIAN”. Example: FilterElements1=6,AVERAGE

CorrID – What CorrectionID to use with this device. Must be found in the

"Correction.INI" file that you write and keep in the same directory as the OMWT-SOFT-OPC.ini file. 0 is the default and means no correction; 127 is the maximum.

OMWT-SOFT-OPC Server .ini File Format x 19

DIGCOUNTER and Directional Counter

(OMWT-IRCNT, OMWT-DIRCNT)

[Devicen] - Section name.

Address - – serial number of the sensor.

DeviceType - Device type. (DeviceType=DIGCOUNTER or

DIRECTCNT)

PollTime - How often to poll the device. (ms)

Label - Name used for the device (and Topic) (typically DIGCOUNTER1 or DIRECTCNT1).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

ScaleA - Multiplier for Counter A

ScaleB - Multiplier for Counter B

UnitsA - Generic label for units - no function

UnitsB - Generic label for units - no function

DescriptionA - Generic description field

DescriptionB - Generic description field

EnableCounterB - Enable the gather of Counter B

Description – General purpose description field

20 x OMWT-SOFT-OPC Server .ini File Format OMWT-SOFT-OPC Server

CNTTEMP

(OMWT-DOORCNT)

[Devicen] - Section name.

Address – serial number of the sensor.

DeviceType - Device type. (DeviceType=CNTTEMP)

PollTime - How often to poll the device. (ms)

Label - Name used for the device (and Topic) (typically CNTTEMP1).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

Scale - Multiplier for Counter A

Units - Generic label for units - no function

Description - Generic description field

temp.Units - See OPC tag item temp.input.units for description.

temp.Cal1Raw - Two point calibration point 1.

temp.Cal2Raw - Two point calibration point 2.

temp.Cal1Engr - Two point calibration engineering units for point 1.

temp.Cal2Engr - Two point calibration engineering units for point 2.

temp.DeadBand - Dead band filtering value in ºC. (Default 0.00)

temp.FilterElements - running macro filter of the sampled data. Syntax:

[no. of elements, type] where no. of elements is number of samples to filter; type – “AVERAGE”, “MEDIAN” and “AVERAGEMEDIAN”.

Default is “=0”. Example: FilterElements1=6,AVERAGE

temp.Description - General purpose description.

temp.CorrID – What CorrectionID to use with this device. Must be found in the "Correction.INI" file that you write and keep in the same directory as the OMWT-SOFT-OPC.ini file. 0 is the default and means no correction; 127 is the maximum

OMWT-SOFT-OPC Server OMWT-SOFT-OPC Server .ini File Format x 21

FASTCNTTEMP

(OMWT-PULSECNT)

[Devicen] - Section name.

Address – serial number of the sensor.

DeviceType - Device type. (DeviceType=FASTCNTTEMP)

PollTime - How often to poll the device. (ms)

Label - Name used for the device (and Topic) (typically

FASTCNTTEMP1).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

Scale - Multiplier for Counter A

Units - Generic label for units - no function

Description - Generic description field

temp.Units - See OPC item temp.input.units for description.

temp.Cal1Raw - Two point calibration point 1.

temp.Cal2Raw - Two point calibration point 2.

temp.Cal1Engr - Two point calibration engineering units for point 1.

temp.Cal2Engr - Two point calibration engineering units for point 2.

temp.DeadBand - Dead band filtering value in ºC. (Default 0.00)

temp.FilterElements - running macro filter of the sampled data. Syntax:

[no. of elements, type] where no. of elements is number of samples to filter; type – “AVERAGE”, “MEDIAN” and “AVERAGEMEDIAN”.

Default is “=0”. Example: FilterElements1=6,AVERAGE

temp.Description - General purpose description.

temp.CorrID – What CorrectionID to use with this device. Must be found in the "Correction.INI" file that you write and keep in the same directory as the OMWT-SOFT-OPC.ini file. 0 is the default and means no correction; 127 is the maximum

22 x OMWT-SOFT-OPC Server .ini File Format OMWT-SOFT-OPC Server

ALARMTEMP

(OMWT-TEMPALRM)

[Devicen] - Section name.

Address - serial number of the sensor.

DeviceType - Device type. (DeviceType=TEMP)

PollTime - How often to poll the device. (ms)

Label - Name used for the device (and Topic).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

Units - See OPC item temp.input.units for description.

Cal1Raw - Two point calibration point 1.

Cal2Raw - Two point calibration point 2.

Cal1Engr - Two point calibration engineering units for point 1.

Cal2Engr - Two point calibration engineering units for point 2.

DeadBand - Dead band filtering value in ºC. (Default 0.01)

FilterElements - running macro filter of the sampled data. Syntax: [no. of elements, type] where no. of elements is number of samples to filter; type – “AVERAGE”, “MEDIAN” and “AVERAGEMEDIAN”.

Default is “=3,MEDIAN”. Example: FilterElements1=6,AVERAGE

Description - General purpose description.

CorrID – What CorrectionID to use with this device. Must be found in the

"Correction.INI" file that you write and keep in the same directory as the OMWT-SOFT-OPC.ini file. 0 is the default and means no correction; 127 is the maximum

OMWT-SOFT-OPC Server OMWT-SOFT-OPC Server .ini File Format x 23

Analog Input

(OMWT-AIN5V, OMWT-AIN10V, OMWT-AIN20MA, OMWT-VIB, OMWT-

MOT)

[Devicen] - Section name

Address – serial number of the sensor.

DeviceType - DeviceType=AI

PollTime - How often to poll the device (ms).

Label - Name used for the device (and Topic) (typically AI1)

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

Cal1Raw - Two point calibration point 1 (default 0).

Cal2Raw - Two point calibration point 2 (default 4095).

Cal1Engr - Two point calibration engineering units for point 1 (default 0).

Cal2Engr - Two point calibration engineering units for point 2 (default 10).

DeadBand - Dead band filtering value in % of full scale (Cal2Engr).

FilterElements – running macro filter of the sampled data. Syntax: [no. of elements, type] where no. of elements is number of samples to filter; type – “AVERAGE”, “MEDIAN” and “AVERAGEMEDIAN”.

Default is “=1,MEDIAN” – no filtering. Example:

FilterElements=3,AVERAGE

Units - units label (default "%").

Description - Generic description field

CorrID – What CorrectionID to use with this device. Must be found in the

"Correction.INI" file that you write and keep in the same directory as the OMWT-SOFT-OPC.ini file. 0 is the default and means no correction; 127 is the maximum.

24 x OMWT-SOFT-OPC Server .ini File Format OMWT-SOFT-OPC Server

Access/Control Reader

(OMWT-ACCESSREADER)

[Devicen] - Section name.

Address - serial number of the sensor.

DeviceType - Device type. (DeviceType=IDR)

PollTime - How often to poll the device or wait for packet. (ms)

Label - Name used for the device (and Topic).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

Description - General purpose description.

OMWT-SOFT-OPC Server OMWT-SOFT-OPC Server .ini File Format x 25

Repeater

(OMWT-REPEAT)

[Devicen] - Section name.

Address - serial number of the sensor.

DeviceType - Device type. (DeviceType=REPEATER)

PollTime - How often to poll the device or wait for packet. (ms)

Label - Name used for the device (and Topic) (typically REPEATER1).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

Description - General purpose description.

Dual Discrete Output

(OMWT-DUALOUT)

[Devicen] - Section name.

Address - serial number of the sensor.

NodalAddress – node where the output will be sent. Defaults to 0 for the

OMWT-REC323-600 Receiver. For OMWT-RECIP, the node number represents each receiver starting at 1. If set to 0, OMWT-SOFT-OPC will send the output packet to all nodes.

DeviceType - Device type. (DeviceType= OUTPUTDISC)

PollTime - How often to poll the device or wait for packet. (ms) Defaults to

0 for outputs.

Label - Name used for the device (and Topic) (typically OUTPUTDISC1).

Log - Enable/disable logging of device.

Description - General purpose description.

TriggerOnB – 0 – OMWT-SOFT-OPC will send the output packet when either items “outputa” or “outputb” is written to; 1 – OMWT-SOFT-

OPC will send the outputpacket when only item “outputb” is written to.

Set “outputa” before writing the value to “outputb”. Both outputs A and B are set through one packet.

OutTries – number of times to send the output packet. (default 10)

OutInterval – (in milliseconds) – the interval of time between sending output packets. (default 1000).

26 x OMWT-SOFT-OPC Server .ini File Format OMWT-SOFT-OPC Server

Wireless Analog Output

(OMWT-ANGOUT)

[Devicen] - Section name.

Address - serial number of the sensor.

NodalAddress – node where the output will be sent. Defaults to 0 for the

OMWT-REC323-600 Receiver. For OMWT-RECIP, the node number represents each receiver starting at 1. If set to 0, OMWT-SOFT-OPC will send the output packet to all nodes.

DeviceType - Device type. (DeviceType= OUTPUTANALOG)

PollTime - How often to poll the device or wait for packet. (ms) Defaults to

0 for outputs.

Label - Name used for the device (and Topic) (typically

OUTPUTANALOG1).

Log - Enable/disable logging of device.

LogDecimalPlaces - Number of decimals to create when logging.

Description - General purpose description.

Cal1Raw - Two point calibration point 1 (default 0).

Cal2Raw - Two point calibration point 2 (default 4095).

Cal1Engr - Two point calibration engineering units for point 1 (default 0).

Cal2Engr - Two point calibration engineering units for point 2 (default

100).

Units - units label (default "%").

Description - Generic description field

OutTries – number of times to send the output packet. (default 10)

OutInterval – (in milliseconds) – the interval of time between sending output packets. (default 1000).

OMWT-SOFT-OPC Server OMWT-SOFT-OPC Server .ini File Format x 27

OMWT-SOFT-OPC INI Backup

Any time OMWT-SOFT-OPC Server modifies the INI file, OMWT-SOFT-OPC will create a copy of the previous INI file. OMWT-SOFT-OPC Server names this backup file the same file name as the INI file but names the file extension as “.Bnn” where n is from 01 to 20. OMWT-SOFT-OPC will create up to 20 backups. If OMWT-

SOFT-OPC needs to create more, it will overwrite the oldest backup which will be typically starting at “.B01”.

If you need to revert to a backup just rename the original OMWT-SOFT-OPC.INI file and then rename the backup to OMWT-SOFT-OPC.INI.

28 x OMWT-SOFT-OPC Server .ini File Format OMWT-SOFT-OPC Server

OMWT-SOFT-OPC Server Tags

Using OPC Tags

OMWT-SOFT-OPC uses the Device Name for the first part of the OPC tag name.

The individual tag names from Device follow. OMWT-SOFT-OPC uses a hieratchial tree from name with various degrees of levels. The following is two examples of access two tags from a temperature device:

TEMP1.input.value

TEMP2.input.units

Device Names

OMWT-SOFT-OPC uses the device name as the first part of the OPC tag name. A device contains a nodal address. When "Search and Add Devices" is selected from setup, OMWT-SOFT-OPC Server will automatically assign label names that will be used as part of the OPC tag name for each new device found. The user can then change the name if they choose.

Default names are:

DIGITALn (Digital I/O)

TEMPn (OMWT-TEMP15 and OMWT_THERM)

HUMIDITYn (OMWT-TEMPRH)

THUMIDITYn

TEMPRH)

(Temperature device built-in to a OMWT-

Ain (OMWT-

AIN5V/AIN10V/AIN20MA/VIB/MOT)

DIGCOUNTERn (OMWT-IRCNT)

CNTTEMPn (OMWT-DOORCNT)

FASTCNTTEMPn (OMWT-PULSECNT)

ALARMTEMPn (OMWT-TEMPALRM)

IDRn

DIRECTCNTn

(OMWT-ACCESSREADER)

(OMWT-DIRCNT)

REPEATERn

OUTPUTDISCn

OUTPUTANALOGn

(OMWT-REPEAT)

(OMWT-DUALOUT)

(OMWT-ANGOUT)

OMWT-SOFT-OPC Server OMWT-SOFT-OPC Server Tags x 29

Where n is a number starting at 1. OMWT-SOFT-OPC Server guarantees that each label assigned will be unique (No Duplicates Allowed).

30 x OMWT-SOFT-OPC Server Tags OMWT-SOFT-OPC Server

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents