background image

OMWT-SOFT-OPC Server

OMWT-SOFT-OPC Server .ini File Format

x

15

OMWT-SOFT-OPC Server .INI File 

Format

OMWT-SOFT-OPC.ini

The OMWT-SOFT-OPC.INI file contains the configuration parameters for the server 

and the devices being polled.  When OMWT-SOFT-OPC searches and finds a new 

device it adds the device to the INI file and assigns default initial parameters.  These 

parameters can be changed by using a text editor and editing the INI file, or by using 

the included OMWT-SOFT-OPC.ini Editing Utility, which will be discussed later in 

this Help.  (The installation program for OMWT-SOFT-OPC Server created a short 

cut to the OMWT-SOFT-OPC.INI file.)  Double clicking will automatically start 

WordPad or Notepad.  The following rules must be kept when editing the INI file. 

1) All device label names must be unique.
2) The NumberDevices in the [Server] section must equal the largest device 

section [Device

n

].

3) The must be no missing device sections [Device

n

] in the list.

Note:

OMWT-SOFT-OPC looks at the ini file only at startup or after adding a new 

device.  Changes made to the ini file will not be reflected in OMWT-SOFT-OPC 

until OMWT-SOFT-OPC is closed and restarted.
The following is a list of the OMWT-SOFT-OPC.INI parameters.

Содержание M-4066

Страница 1: ...OWMT SOFT OPC Version 2 2 Copyright 2004 Omega Engineering Inc M 4066...

Страница 2: ...4 Toll Free 0800 1 66342 e mail info omegashop cz France 11 rue Jacques Cartier 78280 Guyancourt France Tel 33 0 1 61 37 2900 FAX 33 0 1 30 57 5427 Toll Free in France 0800 466 342 e mail sales omega...

Страница 3: ...lete IP Connection 9 View IP Connection Status 10 Outputs 11 Search and Add Devices 13 ReConfigure Net 13 Devices 14 Errors 14 Quit 14 Help 14 OMWT SOFT OPC Server INI File Format 15 OMWT SOFT OPC ini...

Страница 4: ...PC Server Data Logging 47 Features 47 File Management 48 File Format Data Log 49 File Format Error Log 50 OMWT RECIP Receivers 51 Overview of OMWT RECIP Receivers 51 Setting up to use OMWT RECIP Recei...

Страница 5: ...OMWT SOFT OPC will store collected data in an ASCII file at a programmable interval See section OMWT SOFT OPC Server Data Logging This Help and all other Help topics may be accessed from the main win...

Страница 6: ...T OPC Server If there is not an OMWT SOFT OPC ini file or if Server NumberDevices 0 and when OMWT SOFT OPC starts it will automatically search for all devices on the network and add them to its list o...

Страница 7: ...nger time than for a wired network as OMWT SOFT OPC must wait for the device to transmit You can speed up this process by pressing the service button on the device so that it transmits while you are i...

Страница 8: ...SOFT OPC will start receiving packets and listing devices again When you are ready hit OK or Cancel to exit Edit Device The Edit screen for a new wireless device shows the device s serial number whic...

Страница 9: ...llowing is a list of devices supported by OWMT SOFT OPC Server OMWT TEMP15 Temperature OMWT TEMPRH Temperature Humidity OMWT AIN5V Analog Input 5V OMWT AIN10V Analog Input 10V OMWT AIN20MA Analog Inpu...

Страница 10: ...device in 3 minutes tries times polltime Identification OWMT SOFT OPC identifies each device with a unique label name A client application uses this label a OPC topic to obtain data from the server F...

Страница 11: ...and communicates with an OPC server through one of two interfaces defined in the OPC specification The OLE automation interface allows users to access data through the use of a common easily understo...

Страница 12: ...r INI File Format Change Port The Change Port submenu allows you to switch to another wireless receiver When the Change Port submenu is selected OWMT SOFT OPC displays the Select Communication Port wi...

Страница 13: ...buttons in the Add Delete IP Connection screen Test OWMT SOFT OPC will try to make a connection to this IP address and report back success or failure Add New OWMT SOFT OPC displays the New IP Address...

Страница 14: ...T SOFT OPC Description a general description field associated with the IP connection Status the current status of the connection The following is a list of the possible status messages Never Connected...

Страница 15: ...Label name assigned for this Output sensor The label name is used for the OPC topic name This name must be unique For the Edit Window the Label field contains a list box Select the Output to modify f...

Страница 16: ...produced by OWMT SOFT OPC Follow these steps to train an Output device 1 Select the desired Output from the list of Outputs 2 Press and hold the button on the Output device label as train 3 Click the...

Страница 17: ...To edit a device click on the device to select it and click on Edit to edit the device There is also a Stop button If you click that button OWMT SOFT OPC will stop listing devices in the window When y...

Страница 18: ...curred Tries Count Number of tries that have occurred before a device is considered offline Major Error Count Number of errors that after tries took the device offline Last Error Code Number error cod...

Страница 19: ...l be discussed later in this Help The installation program for OMWT SOFT OPC Server created a short cut to the OMWT SOFT OPC INI file Double clicking will automatically start WordPad or Notepad The fo...

Страница 20: ...the starting units of Pressure devices ConfigureEnable 0 disables the Setup Menu option on the main menu The user then cannot make any changes to the configuration 1 default enable the Setup Menu opti...

Страница 21: ...PWaitPort 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...

Страница 22: ...g 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...

Страница 23: ...tering 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 p...

Страница 24: ...me 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 Sca...

Страница 25: ...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 po...

Страница 26: ...1Raw 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 fo...

Страница 27: ...on 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...

Страница 28: ...int 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 FilterEleme...

Страница 29: ...n 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...

Страница 30: ...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...

Страница 31: ...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 Descriptio...

Страница 32: ...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 creat...

Страница 33: ...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 f...

Страница 34: ...30 x OMWT SOFT OPC Server Tags OMWT SOFT OPC Server Where n is a number starting at 1 OMWT SOFT OPC Server guarantees that each label assigned will be unique No Duplicates Allowed...

Страница 35: ...eater then the value is 0 polltime R W how often to poll the device in milliseconds serialno R registration number of the temperature sensor input R current temperature in engineering units input raw...

Страница 36: ...level of PIOA 0 or 1 inputB R level of PIOB 0 or 1 counterA R counter of the activity latch of PIOA counterB R counter of the activity latch of PIOB counterAB R counter A minus counter B outputA valu...

Страница 37: ...tion number of the temperature sensor input value R current value of the pressure sensor in engineering units input raw R current value in inches of Hg input binary R current value in binary units fro...

Страница 38: ...uta cnt inputa diff R W current count from the time the OMWT SOFT OPC was started or when the variable was reset to 0 cnt inputa time R time in milliseconds of last update uses Win API GetTickCount cn...

Страница 39: ...iable was reset to 0 cnt input time R time in milliseconds of last update uses Win API GetTickCount cnt input scale R W value multiplied against the counts cnt input units R W units description field...

Страница 40: ...lue multiplied against the counts cnt inputa units R W units description field cnt inputa desc R W general purpose description field cnt inputb R 8 bit time in seconds of when the sensor captured the...

Страница 41: ...perature scale in the input value tag input units must be one of the following Celsius C Fahrenheit F or Kelvin K input deadband R W filtering deadband in C input conv R W calibration and unit convers...

Страница 42: ...Wireless mode contains the location identifier of the OMWT REPEAT repeater If the sensor did not pass through a repeater then the value is 0 serialno R registration number of the sensor input R curre...

Страница 43: ...age the door lock 0 to 255 shunttime W the amount of time in seconds that the door can remain open before a Door Held Open alarm event will be generated 0 to 255 doorheldopen R indicates that the door...

Страница 44: ...ags OMWT SOFT OPC Server W indicates that the tag is writeable only R W indicates that the tag is both readable and writeable OPC Write operations will either change an I O point at the device or an o...

Страница 45: ...ber of the access control reader updatecount R W value is incremented whenever the sensor is updated battery R current battery voltage in volts locatorid R location id of the repeater This is the id t...

Страница 46: ...o 0 or 1 Packet will be sent if TriggerOnB 0 option is set in the INI file outputb R W set to 0 or 1 Packet will be sent when written out status R 1 OMWT SOFT OPC is in the process of sending output p...

Страница 47: ...set the variable to the binary value 0 to 4095 output nits R W units label assigned to the analog output output conv R W unit conversion parameters string Cal1Raw Cal1Engr Cal2Raw Cal2Engr out status...

Страница 48: ...offline 1 online n is the node number starting at 1 Noden address R address of the nodeFor TCP IP Receiver the address is the IP address n is the node number starting at 1 Noden description R the des...

Страница 49: ...n completed OMWT SOFT OPC Server will set back to zero Quit R W When Client sets value greater than 0 OMWT SOFT OPC Server terminates and unloads Restart R W Client must set as follows 1 to 999 OMWT S...

Страница 50: ...OFT OPC Server Description of NetErrors LastNo and NetErrors Last 44 Communication Error CRC16 or Time Out 46 Cannot Find Receiver 39 OMWT SOFT OPC Server Internal Error 33 Invalid calibration entered...

Страница 51: ...have OMWT SOFT OPC place a character such as or a string such as offline in the logging string instead of the last value Logging OfflineIndicator All these parameters can be changed in the INI file A...

Страница 52: ...greater The log file can be viewed while OMWT SOFT OPC is logging The other program must not write to the file lock the file set the file as read only or set the file s sharing parameters so that OMW...

Страница 53: ...Probe3 that has temperature compensation AIDO ai1 ai2 ai3 ai4 do1 do2 do3 do4 DIGCOUNTER dio inputa dio inputb cnt inputa cnt inputb CNTTEMP dio inputa dio inputb cnt input temp input FASTCNTTEMP cnt...

Страница 54: ...eviceLabel Where hh mm ss is the time ex 23 40 50 mm dd yyyy is the date ex 02 03 99 Error number Error number as docummented for OPC variable SERVER ErrorNo Error Msg Error message string Online Flag...

Страница 55: ...to OWMT SOFT OPC then the OMWT RECIP Receiver will need to be set up with the IP address and port number of the computer that is running OWMT SOFT OPC See the manual for the specific receiver you wan...

Страница 56: ...signed a node number This node number gets associated with a sensor s data The nodaladdress OPC item is updated with the node number Information about the individual TCP IP connection is made availabl...

Страница 57: ...h for you Cannot Open Communication Port Already In Use Close application that is using the communication port or provide OMWT SOFT OPC Server with another RS 232 communications port Cannot Find Recei...

Страница 58: ...Communication Error CRC16 or Time Out Sensor transmission was not received within the polltime or the transmission got corrupted Cannot Find Receiver Receiver has become disconnected from the computer...

Страница 59: ...ll OMWT SOFT OPC that you want a device to use a correction by specifying the Correction ID in the OMWT SOFT OPC INI file Within the device section add a line saying CorrID and the number of the corre...

Страница 60: ...s 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 Wh...

Страница 61: ...default CorrectionID for all thermistors add the parameter DefaultThermistorCorrID to the Server section and set it to whatever CorrectionID you wish Predefined Corrections use the following equation...

Страница 62: ...bility or otherwise shall not exceed the purchase price of the component upon which liability is based In no event shall OMEGA be liable for consequential incidental or special damages CONDITIONS Equi...

Страница 63: ...w Computers Air Velocity Indicators Turbine Paddlewheel Systems Totalizers Batch Controllers pH CONDUCTIVITY pH Electrodes Testers Accessories Benchtop Laboratory Meters Controllers Calibrators Simula...

Отзывы: