Point Six OneSix User Manual - Device Tag Names

Other manuals for OneSix: User Manual
Manual is about: OPC Server

Summary of OneSix

  • Page 1

    Users guide onesix™ opc server version 2.2 copyright ©2004, point six, inc. Point six, inc. 2333 alumni parkway. Suite 305 lexington, ky 40517 usa (859) 266-3606 http://www.Pointsix.Com.

  • Page 2: Contents

    Onesix server help contents x i contents overview 1 quick start .................................................................................................................................1 description.................................................................................................

  • Page 3

    Ii x contents onesix server help repeater .................................................................................................................... 23 dual discrete output................................................................................................. 24 wireless analog o...

  • Page 4

    Onesix server help contents x iii how to use corrections ............................................................................................................53 correction.Ini file .....................................................................................................53 predefin...

  • Page 5: Overview

    Onesix server help overview x 1 overview quick start when onesix is run for the first time it displays this help screen. You may view this help screen again by selecting "help" from onesix's main window. Onesix is designed to gather data from sensors. Onesix makes available the data it receives from...

  • Page 6: Description

    2 x overview onesix server help if there is not an onesixopc.Ini file or if [server]numberdevices=0 and when onesix™ starts, it will automatically prompt for devices on the network and add them to its list of devices to process. Description onesix™ is a data acquisition ole for process control (opc)...

  • Page 7: Receivers

    Onesix server help overview x 3 will delete a single device. Click on a device to select it and click on "delete" to delete it. 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, onesix will stop listing ...

  • Page 8: Device List

    4 x overview onesix server help device list onesix™ server interfaces to a large number of devices. New devices are continually being created for the wireless network. Check with your distributor for the latest. The following is a list of devices supported by onesix™ server: point sensor temperature...

  • Page 9: Filtering

    Onesix server help overview x 5 filtering for both analog and temperature devices, onesix™ allows the user to define a deadband to control the amount of change that must occur before the server updates a client with new data. Deadband is useful to control the amount of information that is passed thr...

  • Page 10: Diagnostics

    6 x overview onesix server help diagnostics with onesix™, you can monitor the health of your wireless and the devices attached. Onesix™ reports through opc errors that it encounters while polling devices. These errors can be noted in an event error log. See the section called "server item names" for...

  • Page 11: Onesix Main Window

    Onesix server help onesix main window x 7 onesix main window main window onesix™ displays the number of devices online and offline. It also lists the devices that are currently offline displaying the name and serial number of the device. If onesix™ is running with tcp/ip receivers, then for each off...

  • Page 12

    8 x onesix main window onesix server help add/delete ip connection (tcp/ip receiver only) onesix will display the “add/delete ip connection” screen. Ip addresses already setup will be displayed. The following is a list of the columns: node – node number for the ip address. Onesix uses this number to...

  • Page 13

    Onesix server help onesix main window x 9 node – node number for the ip address. Onesix uses this number to identify this ip connection. Onesix uses this number to update the opc item “nodaladdress”. Ip address – the ip address that is used to address the receiver. Port – the port number that is use...

  • Page 14

    10 x onesix main window onesix server help outputs onesix can send output packets to output devices. (normally sensors do not receive packets) output devices must be setup manually. Some outputs need to be “trained” to the packets that it will receive for from the server. New and edit create or edit...

  • Page 15: Device List

    Onesix server help onesix main window x 11 search and add devices onesix will display the "add sensors" screen. Devices already in the onesixopc.Ini file are displayed in the top portion of the screen. Follow the setup procedure to add more devices. The setup screen is the method by which onesix acq...

  • Page 16: Errors

    12 x onesix main window onesix server help errors onesix™ displays the communication errors window. This window shows the last error that occurred. 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 d...

  • Page 17: Onesixopc.Ini

    Onesix server help onesix server .Ini file format x 13 onesix server .Ini file format onesixopc.Ini the onesixopc.Ini file contains the configuration parameters for the server and and a list of devices to process. When onesix™ searches and finds a new device it adds the device to the ini file and as...

  • Page 18

    14 x onesix server .Ini file format onesix server help the following is a list of the onesixopc.Ini parameters. Server [server]- section name. Porttype - communication medium (auto, point host, tzr, point view, etc.). Portno - port number. Numberdevices - number of devices to be processed by the ser...

  • Page 19

    Onesix server help onesix server .Ini file format x 15 logging [logging] - section name lograte - 0: no logging; 1-100000 logging interval in seconds. 5 sec or greater onesix™ opens and closes the log file at every logging interval. Less than 5 onesix™ leaves the file open until onesix™ is terminate...

  • Page 20

    16 x onesix server .Ini file format onesix server help temperature setup (point temperature, ds1820/1920/18s20/18b20/1822) [devicen] - section name. Address - – serial number of the sensor. Devicetype - device type. (devicetype=temp) polltime - the transmit interval of the sensor. (ms) label - name ...

  • Page 21

    Onesix server help onesix server .Ini file format x 17 humidity [devicen] - section name. Address - – serial number of the sensor. Devicetype - device type. (devicetype=humidity) polltime - the transmit interval of the sensor. (ms) label - name used for the device (and topic). Log - enable/disable l...

  • Page 22

    18 x onesix server .Ini file format onesix server help digcounter and directional counter [devicen] - section name. Address - – serial number of the sensor. Devicetype - device type. (devicetype=digcounter or directcnt) polltime - the transmit interval of the sensor. (ms) label - name used for the d...

  • Page 23

    Onesix server help onesix server .Ini file format x 19 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,median” – no filtering. Example:...

  • Page 24

    20 x onesix server .Ini file format onesix server help fastcnttemp [devicen] - section name. Address – serial number of the sensor. Devicetype - device type. (devicetype=fastcnttemp) polltime - the transmit interval of the sensor. (ms) label - name used for the device (and topic) (typically fastcntt...

  • Page 25

    Onesix server help onesix server .Ini file format x 21 alarmtemp [devicen] - section name. Address - serial number of the sensor. Devicetype - device type. (devicetype=temp) polltime - the transmit interval of the sensor. (ms) label - name used for the device (and topic). Log - enable/disable loggin...

  • Page 26

    22 x onesix server .Ini file format onesix server help analog input [devicen] - section name address – serial number of the sensor. Devicetype - devicetype=ai polltime - the transmit interval of the sensor. (ms) label - name used for the device (and topic) (typically ai1) log - enable/disable loggin...

  • Page 27

    Onesix server help onesix server .Ini file format x 23 access/control reader [devicen] - section name. Address - serial number of the sensor. Devicetype - device type. (devicetype=idr) polltime - the transmit interval of the sensor. (ms) label - name used for the device (and topic). Log - enable/dis...

  • Page 28

    24 x onesix server .Ini file format onesix server help dual discrete output [devicen] - section name. Address - serial number of the sensor. Nodaladdress – node where the output will be sent. Defaults to 0 for point view, point host and tzr receivers. For tcp/ip receiver the node number represents e...

  • Page 29

    Onesix server help onesix server .Ini file format x 25 wireless analog output [devicen] - section name. Address - serial number of the sensor. Nodaladdress – node where the output will be sent. Defaults to 0 for point view, point host and tzr receivers. For tcp/ip receiver the node number represents...

  • Page 30: Onesix Ini Backup

    26 x onesix server .Ini file format onesix server help onesix ini backup any time one six server modifies the ini file, one six will create a copy of the previous ini file. Onesix server names this backup file the same file name as the ini file but names the file extension as “.Bnn” where n is from ...

  • Page 31: Onesix Server Opc Tags

    Onesix server help onesix server opc tags x 27 onesix server opc tags using opc tags onesix™ uses the device name for the first part of the opc tag name. The individual tag names from device follow. Onesix™ uses a hieratchial tree from name with various degrees of levels. The following is two exampl...

  • Page 32

    28 x onesix server opc tags onesix server help where n is a number starting at 1. Onesix™ server guarantees that each label assigned will be unique (no duplicates allowed)..

  • Page 33: Device Tag Names

    Onesix server help onesix server opc tags x 29 device tag names the server uses device tag names to allow access to the i/o data and specific operational information. Tag names are dependent on the type of devices used. Temperature (point temperature): tempn or 't' prefixed topic names online (r) - ...

  • Page 34

    30 x onesix server opc tags onesix server help digital i/o: digitaln online (r) - indicates if the device is communicating (0 or 1) nodaladdress (r) – (tcp/ip receiver). The node address starts at 1. For tcp/ip receivers, the node address corresponds to the node number for the tcp/ip connection. Rep...

  • Page 35

    Onesix server help onesix server opc tags x 31 humidity probe: humidityn online (r) - indicates if the device is communicating (0 or 1) polltime (r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r) – (tcp/ip receiver). The node address starts at 1. For tcp/ip receivers, th...

  • Page 36

    32 x onesix server opc tags onesix server help digcounter and directional counter: digcountern and directcntn online(r) - indicates if the device is communicating (0 or 1) polltime(r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r) – (tcp/ip receiver). The node address st...

  • Page 37

    Onesix server help onesix server opc tags x 33 cnttemp: cnttempn online(r) - indicates if the device is communicating (0 or 1) polltime(r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r) – (tcp/ip receiver). The node address starts at 1. For tcp/ip receivers, the node add...

  • Page 38

    34 x onesix server opc tags onesix server help fastcnttemp: fastcnttempn online(r) - indicates if the device is communicating (0 or 1) polltime(r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r) – (tcp/ip receiver). The node address starts at 1. For tcp/ip receivers, the ...

  • Page 39

    Onesix server help onesix server opc tags x 35 alarmtemp: alarmtempn online (r) - indicates if the device is communicating (0 or 1) nodaladdress (r) – (tcp/ip receiver). The node address starts at 1. For tcp/ip receivers, the node address corresponds to the node number for the tcp/ip connection. Rep...

  • Page 40

    36 x onesix server opc tags onesix server help analoginput: ain online(r) - indicates if the device is communicating (0 or 1) polltime(r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r) – (tcp/ip receiver). The node address starts at 1. For tcp/ip receivers, the node addr...

  • Page 41

    Onesix server help onesix server opc tags x 37 access/control reader: idrn online (r) - indicates if the device is communicating (0 or 1) polltime (r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r) – (tcp/ip receiver). The node address starts at 1. For tcp/ip receivers, ...

  • Page 42

    38 x onesix server opc tags onesix server help (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 operation will be performed..

  • Page 43

    Onesix server help onesix server opc tags x 39 repeater: repeatern online (r) - indicates if the device is communicating (0 or 1) polltime (r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r) – (tcp/ip receiver). The node address starts at 1. For tcp/ip receivers, the node...

  • Page 44

    40 x onesix server opc tags onesix server help dual discrete output: outputdiscn online (r) - indicates if the device is communicating (0 or 1) polltime (r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r/w) – (tcp/ip receiver). The node address starts at 1. For tcp/ip rec...

  • Page 45

    Onesix server help onesix server opc tags x 41 wireless analog output: outputanalogn online (r) - indicates if the device is communicating (0 or 1) polltime (r/w) – the transmit interval of the sensor (in milliseconds). Nodaladdress (r/w) – (tcp/ip receiver). The node address starts at 1. For tcp/ip...

  • Page 46: Server Item Names

    42 x onesix server opc tags onesix server help server item names server items are made available when the "server" topic is defined. These items give information about the server and the current operational status of the server. Porttype (r) - communication medium: "com", "lpt", etc. Portno (r) - po...

  • Page 47

    Onesix server help onesix server opc tags x 43 devicecount.Outputdesc – number of dual discrete outputs devicecount.Outputanalog – number of wireless analog outputs logging.Rate (r/w) - indicates the rate of logging in seconds. 0 - no logging. Less than 1 is accepted. Less than 5, onesix™ leaves the...

  • Page 48: Features

    44 x onesix server data logging onesix server help onesix server data logging features onesix™ server can log data to an ascii file at a programmable interval. The default name of the file is onesix.Log. The name can be changed by changing the ini file. The log rate (programmable interval) can be ch...

  • Page 49: File Management

    Onesix server help onesix server data logging x 45 file management if the log rate is greater than or equal to 5 seconds, onesix™ opens and then closes the log file each time data is logged. If the log rate is less than 5 seconds, onesix™ leaves the file open and closes the file when onesix™ is term...

  • Page 50: File Format - Data Log

    46 x onesix server data logging onesix server help file format - data log the log record format is as follows: hh:mm:ss,mm/dd/yyyy,data1,data2,data3, ... , datan where: hh:mm:ss is the time (ex. 23:40:50) mm/dd/yyyy is the date (ex. 02/03/99) datan - is the data for each device that has logging enab...

  • Page 51: File Format - Error Log

    Onesix server help onesix server data logging x 47 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 documment...

  • Page 52: Tcp/ip Receivers

    48 x tcp/ip receivers onesix server help tcp/ip receivers overview of tcp/ip receivers onesix can connect to tcp/ip receivers and receive and process sensors packets. As of this writing, the point manager (operating in “pass-thru” mode) is the only supported tcp/ip receiver. Onesix makes a tcp/ip co...

  • Page 53: Notes

    Onesix server help tcp/ip receivers x 49 notes if onesix initiates the connection then onesix will continually try to establish the connection when the connection is disrupted or never accepted. If the receiver initiates the connection, onesix relies on the receiver to re-establish the connection if...

  • Page 54: Error Messages

    50 x error messages onesix server help error messages communication errors onesix™ server communication initialization errors will cause the 'onesix initializing error!" window to be displayed to help you determine what the cause of failure may be and to allow you to retry or abort the program. No d...

  • Page 55: Runtime Errors

    Onesix server help error messages x 51 runtime errors 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. No devices attached. There are currently ...

  • Page 56: Corrections

    52 x corrections onesix server help corrections why use corrections some devices, like a thermistor, need their data corrected in order to be meaningful. A thermistor uses resistance to measure temperature. The relation between the resistance and the temperature is non linear. A thermistor uses a se...

  • Page 57: How To Use Corrections

    Onesix server help corrections x 53 how to use corrections correction.Ini file after adding the correction id to the device section of the onesixopc.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.I...

  • Page 58

    54 x corrections onesix server help parameter "defaultthermistorcorrid=" to the server section, and set it to whatever correctionid you wish. Predefined corrections use the following equations. The first equation normalizes the passed value, and the second produces the conversion to degrees celsius....