background image

50

x

OMWT-SOFT-OPC Server Data Logging

OMWT-SOFT-OPC Server

File Format - Error Log

The log record format is as follows:

hh:mm:ss,mm/dd/yyyy,Error number,Error Msg,Online Flag,DeviceLabel

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

- Is device considered Online?

DeviceLabel

- Name of the device

Example error log:

10:26:30,04/16/1998,-48,CRC16 or Time Out,1,TEMP8
10:26:30,04/16/1998,-48,CRC16 or Time Out1,TEMP9

Summary of Contents for M-4066

Page 1: ...OWMT SOFT OPC Version 2 2 Copyright 2004 Omega Engineering Inc M 4066...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 63: ...w Computers Air Velocity Indicators Turbine Paddlewheel Systems Totalizers Batch Controllers pH CONDUCTIVITY pH Electrodes Testers Accessories Benchtop Laboratory Meters Controllers Calibrators Simula...

Reviews: