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
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
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 1 OWMT-SOFT-OPC
- 7 Overview
- 7 Quick Start
- 9 Description
- 9 OMWT-SOFT-OPC Server and Wireless
- 10 Edit Device
- 11 Receivers
- 11 Device List
- 12 Polling
- 12 Identification
- 12 Filtering
- 13 What is OPC?
- 13 Data Logging
- 13 Diagnostics
- 14 OMWT-SOFT-OPC Main Window
- 14 Main Window
- 14 Setup
- 14 Change Port
- 15 Add/Delete IP Connection
- 16 View IP Connection Status
- 17 Outputs
- 17 New and Edit
- 18 Train
- 19 Search and Add Devices
- 19 ReConfigure Net
- 20 Devices
- 20 Errors
- 20 Quit
- 20 Help
- 21 OMWT-SOFT-OPC Server .INI File Format
- 21 OMWT-SOFT-OPC.ini
- 22 SERVER
- 23 Logging
- 23 IP Addresses
- 23 DIGITAL I/O
- 24 TEMPERATURE Setup
- 25 HUMIDITY
- 26 DIGCOUNTER and Directional Counter
- 27 CNTTEMP
- 28 FASTCNTTEMP
- 29 ALARMTEMP
- 30 Analog Input
- 31 Access/Control Reader
- 32 Repeater
- 32 Dual Discrete Output
- 33 Wireless Analog Output
- 34 OMWT-SOFT-OPC INI Backup
- 35 OMWT-SOFT-OPC Server Tags
- 35 Using OPC Tags
- 35 Device Names
- 37 Device Tag Names
- 37 Temperature
- 38 Digital I/O: DIGITALn
- 39 Temperature/Humidity: HUMIDITYn
- 40 DIGCOUNTER and Directional Counter: DIGCOUNTERn and DIRECTCNTn
- 41 CNTTEMP: CNTTEMPn
- 42 FASTCNTTEMP: FASTCNTTEMPn
- 43 ALARMTEMP: ALARMTEMPn
- 44 AnalogInput: AIn
- 45 Access/Control Reader: IDRn
- 47 Repeater: REPEATERn
- 48 Dual Discrete Output: OUTPUTDISCn
- 49 Wireless Analog Output: OutputAnalogn
- 50 Server Item Names
- 53 OMWT-SOFT-OPC Server Data Logging
- 53 Features
- 54 File Management
- 55 File Format - Data Log
- 56 File Format - Error Log
- 57 OMWT-RECIP Receivers
- 57 Overview of OMWT-RECIP Receivers
- 57 Setting up to use OMWT-RECIP Receivers
- 58 OMWT-RECIP Receiver Notes
- 59 Error Messages
- 59 Communication Errors
- 59 Error In Finding/Initializing Port.
- 59 Cannot Open Communication Port; Already In Use.
- 59 Cannot Find Receiver!
- 59 Cannot find and load lowlevel driver!
- 60 Runtime Errors
- 60 Communication Error: CRC16 or Time Out
- 60 Cannot Find Receiver.
- 60 OMWT-SOFT-OPC Server Internal Error.
- 61 Corrections
- 61 Why Use Corrections
- 61 Correction IDs
- 61 Pre-defined Thermistor
- 62 How to use Corrections
- 62 Correction.INI file
- 62 Thermistor NTC Parameters
- 63 Predefined Corrections