hit counter script

UniData Communication Systems Starlog Prologger 7001 User Manual

Hardware revision 33 firmware
Table of Contents

Advertisement

Quick Links

STARLOG
PROLOGGER
Hardware
Model 7001
Revision 33 Firmware
User Manual
Revision A
6261
May, 1999

Advertisement

Table of Contents
loading

Summary of Contents for UniData Communication Systems Starlog Prologger 7001

  • Page 1 STARLOG PROLOGGER Hardware Model 7001 Revision 33 Firmware User Manual Revision A 6261 May, 1999...
  • Page 2 Copyright Notice Copyright ©Unidata Australia 1999. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without prior written permission of UNIDATA Australia, 40 Ladner St, O'Connor, Western Australia, 6163, Australia.
  • Page 3: Table Of Contents

    PROLOGGER Hardware Contents INTRODUCTION........1 How to Use this Supplement.
  • Page 4 UNIDATA Battery Status Indicators......20 Monitoring Battery Voltage ......20 Flat Battery Shutdown .
  • Page 5 PROLOGGER Hardware Buffer Control Table....... . . 44 8.5.1 Buffer Format Convention ..... . . 45 PROLOGGER CONFIGURATION TABLE .
  • Page 7: Introduction

    PROLOGGER Hardware INTRODUCTION The PROLOGGER is a battery powered data collection system manufactured by UNIDATA. It is ideal for automatic data collection at remote, unmanned locations. The PROLOGGER incorporates the latest advanced CMOS technology and intelligent auto calibration techniques to provide a very accurate, low cost, programmable data collection system.
  • Page 8 UNIDATA The chapters are: PROLOGGER Introduces the PROLOGGER and gives a brief summary of Overview its features and operation. Specifications Lists physical and performance specifications and explains battery and memory capacity options. Power Supply Describes how to change battery packs, use an external power supply and how to test and monitor the power supply.
  • Page 9: Prologger Overview

    PROLOGGER Hardware PROLOGGER OVERVIEW This chapter provides an overview of the PROLOGGER’s features, including its programming and operation. The PROLOGGER is a major design development in the STARLOG product range. It has an expanded signal capacity and range, and is easier to program. It offers 22 input channels, two high speed serial input/output busses and two outputs.
  • Page 10: Programming Overview

    UNIDATA Data and commands are transferred between the PROLOGGER and an IBM or compatible computer using asynchronous RS-232 serial communications. All set-up and adjustments associated with range and calibration are performed in firmware. The PROLOGGER is fully programmable. The PROLOGGER has a very low power consumption. It is supplied with an internal battery with a typical life of one year.
  • Page 11: How The Prologger Operates

    PROLOGGER Hardware How the PROLOGGER Operates The PROLOGGER must be “initialised” before it can be used. This is done automatically when you load a scheme. Alternatively, you can manually initialise the device (see PROLOGGER Initialisation on page 30). Note that when delivered, the PROLOGGER is shutdown to conserve batteries.
  • Page 12: Input Signals

    UNIDATA Input Signals The PROLOGGER has 22 channels for input signals. These are divided into: • Sixteen analog channels with 16-bit resolution. These can be in any combination of up to 16 single-ended or 8 differential voltage inputs , These channels accept signals from ±5 millivolts full-scale to ±5.00 volts full-scale.
  • Page 13: Memory Capacity

    PROLOGGER Hardware The four user power sources described in the PROLOGGER Configuration Table are: • +12 Volts DC unregulated. • -12 Volts DC unregulated. • +10 Volts regulated (reference). • +5 Volts DC regulated, scan synchronised. Memory Capacity The logging duration of the logger depends on the scheme. It is calculated by the software once the scheme is created (see Scheme Information menu).
  • Page 14: Battery Status Leds

    UNIDATA 2.6.1 Battery Status LEDs The top two indicators (labelled BATTERY) show the internal battery status (see Battery Status Indicators on page 20). 2.6.2 Scheme Status LEDs When the PROLOGGER has been programmed with a Scheme (using Version 2 Software) the lower two indicators show the status of the Scheme operation.
  • Page 15: Keys Definition

    PROLOGGER Hardware 2.7.1 Keys Definition Activate display and display the first entry of the STATUS LIST SCHEME Displays the first entry of the SCHEME LIST CONFIG Displays the first entry of the CONFIG LIST. Used only in the CONFIG LIST to save the current SETUP entry or ENTER perform the current SETUP action.
  • Page 16: Auto Key Repeat

    UNIDATA Entries may be one or two lines, therefore the scroll keys will move the display UP or DOWN one or two lines, depending on whether the Entry is two lines or not. 2.8.2 Auto Key Repeat When a key is held down, it automatically repeats. This is a quick way to scan up or down a list of display entries.
  • Page 17: Displaying The Scheme List

    PROLOGGER Hardware To change this PIN#, turn the display ON and then press CONFIG. Press the down arrow until CHANGE PIN# appears in the display. Press the left arrow key to select the digit and then the up or down arrow to alter the digit. Once you have selected a suitable 4 digit number, press ENTER.
  • Page 18: Differences With Model 7000 Macro Data Logger

    UNIDATA To view the readings of each transducer: Press the ON key and this will be displayed Press the SCHEME key Press the down key Press the down key Continue pressing the down key until you reach the end of the display list Press CONFIG and then ENTER to turn the display off The display turns OFF after 20 seconds, if no keys are pressed.
  • Page 19 PROLOGGER Hardware Model 7001 Model 7000 Continuous Battery Unused Sense 1/SDI Unused PROLOGGER OVERVIEW 13...
  • Page 20: Specifications

    UNIDATA SPECIFICATIONS This chapter lists the physical and performance specifications of the PROLOGGER. Material: Grey, high impact rigid PVC. Size: 211 x 108 x 81mm (H x W x D). Weight: 2 kg including battery. Operating Temp: -20°C to 60°C, not affected by humidity. Scan Rate: 0.125 second to 5 minutes - programmable.
  • Page 21 PROLOGGER Hardware Analog Channels: Voltage input in four programmable ranges: -5.00 to +5.00 V, 155 V resolution. -500 to +500 mV, 15.5 V resolution. -50 to +50 mV, 1.55 V resolution. -5 to +5 mV, 155nV resolution. Input Impedance: >1 M Recommended Source Drive Impedance: <10 k...
  • Page 22: Power Supply

    UNIDATA POWER SUPPLY This chapter describes the uses of internal and external power supplies for the PROLOGGER. It also describes the low battery shutdown feature. The PROLOGGER is powered by an internal battery. External power sources can be used as an alternative supplies or to recharge batteries (NiCad and Sealed Lead Acid only).
  • Page 23: Battery Pack Connections

    PROLOGGER Hardware • Computer communication (RS-232). Formula for Determining Battery Life The following calculation will determine the battery life for UNIDATA battery packs (Model 6910A): Life (days) = [ST/(RT+35)] * 3300 ST = Scan Time (seconds) RT = Run Time (milliseconds) …...
  • Page 24: Replacing A Battery Pack

    UNIDATA Users who manufacture their own replacement battery packs may purchase connectors from a Molex dealer or simply re-use the wire & connector from the old battery pack. The connector type is Molex brand 050-57-9403 70066-0177 shell with type 016-02-1125 71851-0224 crimp terminals. 4.1.3 Replacing a Battery Pack All recorded data will be lost when the battery pack is disconnected (unless...
  • Page 25: External Power Supply

    PROLOGGER Hardware External Power Supply An external power source can be connected to the PROLOGGER. External power can be used with an Alkaline or NiCad battery pack as a backup power source or simply on its own. A mains power pack and a solar power pack are available from UNIDATA. The supply voltage to the PROLOGGER must be maintained at all times to ensure correct logger operation and data integrity.
  • Page 26: Battery Status Indicators

    UNIDATA Battery Status Indicators The PROLOGGER measures its internal battery voltage every scan. If the battery voltage falls below certain preset levels, the Battery Status LEDs on the front panel will change state. GREEN BATTERY STATUS ALKN NiCAD LCD DISPLAY Battery OK >7.2V >7.2V...
  • Page 27: Saving Memory

    PROLOGGER Hardware 4.5.1 Saving Memory A logger in “Shutdown” or “Sleep” mode will preserve its memory for many weeks. To recover information stored in the logger: Connect a computer to the logger and attempt to “Unload” it. If the logger was in sleep mode, it will wake-up and unload normally. If it was in shutdown mode, connect an external power source to the logger (such as a new battery pack, see page 18 for details).
  • Page 28: Automatic Battery Type Detection

    UNIDATA Automatic Battery Type Detection The PROLOGGER automatically detects which type of battery is installed and sets the voltage thresholds accordingly. The logger also enables the battery charging circuit when a NiCad battery is installed. ALKLN or NiCad will be displayed on the LCD according to which type of battery is installed.
  • Page 29: Installation & Connection

    PROLOGGER Hardware INSTALLATION & CONNECTION This chapter provides information necessary to install a PROLOGGER. It includes: • A list of the connections of the INPUT SIGNALS connector. • Signal specifications for each connection. • How to initialise a PROLOGGER. Locating the logger The PROLOGGER may be installed in nearly any environment with the following provisos: •...
  • Page 30 UNIDATA The following table lists each pin in the INPUT SIGNALS connector by number. Next to the pin number is a description of the signal for which this connection is designed. The last column lists the high resolution channel mnemonic used by the STARLOG Software to refer to this connection. Signal Description Channel Analog ground...
  • Page 31 PROLOGGER Hardware Signal Description Channel SENSE 1 Sense input BIT 1 (MASK 2) /SDI-12 Analog input A0 (A0+ve) Analog input A2 (A2+ve) Analog input A4 (A4+ve) Analog input A6 (A6+ve) Analog input A8 (A0-ve) Analog input A10 (A2-ve) Analog input A12 (A4-ve) Analog input A14 (A6-ve)
  • Page 32 UNIDATA Analog Ground Analog single ended (normal) Digital 0 (Log Start) Digital Ground Counters IO Clock 1 High Speed Synchronous IO Data 1 Serial I/O Port IO Clock 0 IO Data 0 Outputs OUT 1 OUT 0 External Power Input Power Ground External Power Input User's Power Sources...
  • Page 33: Log Start Sense

    PROLOGGER Hardware 5.2.1 Log Start Sense Normally, the PROLOGGER only begins to record when an instrument is connected via the INPUT SIGNALS input. To sense this condition, Pin 10 (Log Start Sense 0) of the INPUT SIGNALS socket is grounded (connected to Pin 28).
  • Page 34: Counters And Digital Inputs

    UNIDATA 5.2.3 Counters and Digital Inputs Counter and Digital inputs are DC Standby = 4.5V inputs suitable for 20 kHz potential free contacts or 0–5V to 0–12V DC digital input. 100k Maximum pulse rate to the counters is 20 kHz. Pulse rates must also be Counter 0.001uF (C0/C2) input...
  • Page 35 PROLOGGER Hardware These ports are read each logger scan. The Sync signal (Pin 18) is used to indicate to the remote equipment that a logger read scan is about to begin. This signal is used to load the serial shift register(s) in the remote equipment in preparation of being read.
  • Page 36: Sdi-12 Serial Digital Interface (Optional)

    UNIDATA SERIAL OUT LOGGER SCAN Pin 18 SYNC 30us 50 us Pin 14/13 10ms CLOCK 0/1 20us 30us Write Bit 0 Bit 1 Bit 2 Bit 7 0 (BYTE 1) Pin 32/31 Bit 1 Bit 2 Bit 0 Bit 7 Bit 0 DATA 0/1 Serial Out Timing Diagram...
  • Page 37 PROLOGGER Hardware During initialization, the logger’s firmware and Configuration Table is check-summed to confirm its integrity. The Scan Counter is set to the logger Scan Rate and other housekeeping functions performed. See the STARLOG User’s Manual for more information. INSTALLATION & CONNECTION 31...
  • Page 38: Internal Channels

    UNIDATA INTERNAL CHANNELS The PROLOGGER has four internal channels. These are presented as high resolution values (signed 16 bit) in Register Addresses 232 to 239 as detailed below: Name Description Register Address I0 (Temp) logger Temperature (0.1221°C per bit) I1 (10V) 10V reference (1.221 mV per bit) I2 (Batt) logger battery (or supply) voltage...
  • Page 39: Computer Communication

    PROLOGGER Hardware COMPUTER COMMUNICATION The PROLOGGER uses standard asynchronous, RS-232 serial communications to connect to IBM PC or compatible computers. You can load and unload schemes and data using the RS232 connection . About half of the pins in this plug are allocated a function. The rest are reserved for future use.
  • Page 40: Computer Connector Pin Designations

    UNIDATA Computer Connector Pin Designations The following table lists each pin in the COMPUTER connector by number. Next to the pin number is a signal description. The last column explains how the pin is used. Signal Description Usage Signal and logic ground Ground Serial data signal to logger Serial data signal from logger...
  • Page 41: Communications (Starlog) Protocol

    PROLOGGER Hardware To select the RS-232 baud rate (other than the default 9600* baud) you must link one (or more) of the COMPUTER connector pins 15, 16 and 17 to ground (pin 7). Pin 15 Pin 16 Pin 17 Baud Rate 1200 2400 4800...
  • Page 42: Non-Synchronised Rs-232 Communication (Default)

    UNIDATA 7.3.2 Non-Synchronised RS-232 Communication (default) If the PROLOGGER is set to operate in non-synchronised mode the RS-232 communication protocol timing is slightly different. The logger will immediately enter communications state (and send a prompt) whenever the Request To Send (RTS) line becomes true (ON/HIGH). It does not wait until the end of the next logger scan.
  • Page 43 PROLOGGER Hardware To read 256 bytes from address 768 into the host computer the command is: G030000 PUT {and (p)ut} Commands PAAAASS paaaaaaaassss...put data...cccc similar to the GET command except that data is sent to the logger immediately following the command string. cccc the 16 bit checksum for the (p)ut command includes the address, size and data fields (i.e., everything except the “p”...
  • Page 44: Sample Program

    UNIDATA GET or PUT may address any continuous segment of the memory. (K)ILL command K is the KILL command that directs the logger to switch OFF until the next scan cycle (usually 5 seconds). a command to load location 2 with 0 then exit, would be: P00020100K Note: After a GET command, the computer must wait until the logger has sent the GET data before a KILL is issued.
  • Page 45 PROLOGGER Hardware immediately gets the data) The maximum G (get) size is 127 (7F hex). This is limited by BASIC string length maximum of 255 characters. REM PROLOGGER - data transfer example INPUT “Enter data logger command-”,A$ ‘Get Command from operator IF A$=""...
  • Page 46: Programming The Prologger

    UNIDATA PROGRAMMING THE PROLOGGER This chapter describes programming techniques of and memory layout for the PROLOGGER. The contents of this chapter will be useful to those who program and test the logger using the test mode screens provided with the STARLOG Software Package.
  • Page 47: Hardware Register Information

    PROLOGGER Hardware Hardware Register Information The hardware register information can be viewed in Test Mode or used by programmers wishing to write their own unload and analysis programs. The table below gives a description of each register numbered 0 to 255. For multiple byte registers the convention used is –...
  • Page 48 UNIDATA Address Size Description Digital input values (normally high) Bit 0...2 Baud Rate: 000=9600; 101=300; 010=1200 011=2400; 110=4800; 001=19200; 100=38400; 111=76800 Bit 3=0 Log Start (SENSE 0) connected to GND Bit 4=0 Reserved Bit 5=0 SDI-12 (SENSE 1) not active Bit 6 High speed serial DATA 1 Bit 7...
  • Page 49: Logger Scan Counter

    PROLOGGER Hardware 8.2.2 Logger Scan Counter This is incremented every scan and when loaded with a scheme represents the number of scan intervals past 1/1/1980 at 00:00:00. PROLOGGER - Program The PROLOGGER is a programmable data recording unit. The program resides in the first part of the logger’s main memory (after the Hardware Registers and Buffer Control Table).
  • Page 50: Typical Instructions

    UNIDATA Typical instructions TIMED GOTO Timer controlled logging sequences CONDITIONAL GOTO Event controlled logging sequences LOAD Flexible data storage command (BLOCK) MOVE Block, Word and Byte move ACCUMULA TE Block summation for averaging OUTPUT Control output sequences BLOCK CLEAR Storage initialization ADDITION 2 &...
  • Page 51: Buffer Format Convention

    PROLOGGER Hardware Standard and extended buffers can be intermixed, but only extended buffers can log data past the 64K memory limit. Extended Small (up to 64K) Buffer 0 Current Buffer Pointer Current Buffer Pointer (16 bit) (32 bit) End Buffer Pointer (16 bit) LM MC EV OF OV NC...
  • Page 52 UNIDATA Variable TIME and Fixed SIZE This form is used with event-initiated log entries. The first 4 bytes of the entry is the time that the event occurred. The time bytes come from Register Address 4 to 7 followed by the log entry (if any). For example, if an event initiated log entry stored the instantaneous value channel 1, the entry would time (4 bytes), channel 1 (1 byte) 46 PROGRAMMING THE PROLOGGER...
  • Page 53: Prologger Configuration Table

    PROLOGGER Hardware PROLOGGER CONFIGURATION TABLE The PROLOGGER has a number of operating modes for its analog inputs. During factory calibration and testing a standard setup and some calibration factors are permanently written into the logger’s firmware (in ROM). This part of the firmware is referred to as the Configuration Table and a copy of it is also located in protected memory.
  • Page 54: Memory Layout And Protected Memory

    UNIDATA Memory Layout and Protected Memory A small portion of the PROLOGGER memory is set aside for housekeeping functions such as I/O buffers and the LCD Scheme Display List. This portion of memory is protected (hidden) from normal logger operations and cannot be read or written by the Log Program or normal GET/PUT commands.
  • Page 55: Prologger Linear Calibration Correction

    PROLOGGER Hardware PROLOGGER Linear Calibration Correction The PROLOGGER uses the following linear correction formula:- y = gx + o Where: y = corrected value. x = raw value (from A/D converter). g = gain coefficient. o = offset coefficient. The gain coefficient (g) is made up of the gain coefficients from the appropriate Gain Drive Table gain stage entry.
  • Page 56: Initialisation Via The Rs-232

    UNIDATA Initialisation via the RS-232 Before the PROLOGGER can be used it must be initialised. In some cases, the logger may have stopped scanning to conserve its battery. Normally this initialisation occurs automatically when the logger is loaded with a Scheme. The command to initialise (or re-initialise) the logger is: Issss (where ssss is a 4 HEX ASCII number equal to the logger serial...
  • Page 57: Test Diagnostics

    PROLOGGER Hardware TEST DIAGNOSTICS The PROLOGGER has inbuilt diagnostic firmware activated by the protected command: Tssss = serial number Warning: Once you select diagnostic mode, information stored in the logger may be lost. Always unload the logger before performing test diagnostic requests and reload the logger after diagnostics.
  • Page 58: 10.1.1 Task Command List

    UNIDATA 10.1.1 Task Command List ANALOG Continuously convert and display single ended channels A0...A7. Continuously convert and display single ended channels A8...A15. Select differential signals. Select High level signals GAIN = 1 (0–5.00.V). Continuously convert and display temperature and battery readings.
  • Page 59 PROLOGGER Hardware Test keyboard. MEMORY Test memory circuit. Write/Read cycle through 256 date values on RAM address 0. Test RAM/ROM shadow. MISCELLANEOUS Pressing the Enter key will end the current command (if any) and display the Command Menu. End the current command. POWER SUPPLIES Toggle user power supplies.
  • Page 61: A - Operating Errors

    PROLOGGER Hardware Appendix A - OPERATING ERRORS When the PROLOGGER detects certain error conditions it sets flags in Register Address 3. BITS Register Address 3 MB OS (ERROR FLAGS) Flag Meaning Result Checksum error or other inconsistency found in the Fatal PROLOGGER’s Configuration Table or firmware Battery is too low for safe operation.
  • Page 62 UNIDATA The ERROR FLAGS are READ ONLY and cannot be reset by a log program or a (P)ut command. These flags are only cleared when the logger is RESET (using the I command or Keyboard RESET).
  • Page 63: B - Prologger Revisions

    PROLOGGER Hardware Appendix B - PROLOGGER REVISIONS This is a list of PROLOGGER firmware. Beside each model is a list of serial numbers and firmware included in each logger when it was released from the factory. Features of each revision are listed. You can use this list to determine your upgrade options.
  • Page 65: C - Starlog Protocol Command List

    PROLOGGER Hardware Appendix C - STARLOG PROTOCOL COMMAND LIST There is no response if a GET or READ request has a bad checksum. Command Format Response G/get data block from GAAAASS dd—ddcccc(CR) data logger gaaaaaaaasssscccc P/put data block to PAAAASSdd—dd eecccc(CR) data logger paaaaaaaassssdd—ddcccc...
  • Page 66 UNIDATA C - 1 Standard/Extended Command Differences Standard (UPPER CASE) supports 64K (16 bit) address and 256 byte (8 bit) data transfers. Extended (lower case) supports 4G (32 bit) address and 16K (16 bit) data transfers except the (p)ut/(w)rite commands which are limited to 1024 byte (10 bit) data transfers.
  • Page 67 PROLOGGER Hardware = PROM/Verify Fail = Mirror Fail = Bad checksum in RAM firmware...
  • Page 69: D - Using The Sdi-12 Interface

    PROLOGGER Hardware Appendix D - USING THE SDI-12 INTERFACE D - 1 INTRODUCTION SDI-12 is an industry-originated, serial digital interface bus designed to allow connection of a wide variety of transducers (meteorological, hydrological, water quality, etc.) to a single SDI-12 data recorder with a single cable bus. The PROLOGGER is such a data recorder.
  • Page 70 UNIDATA D - 3 MASTER MODE (SDI-12 DATA RECORDER) Using the PROLOGGER as an SDI-12 Data Recorder allows several PROLOGGERs to be connected together. D - 3.1. SDI-12 Data Recorder Commands Two Scheme Program instructions are used to control the SDI-12 Master operation: SDIGET which collects measurements from the nominated SDI-12...
  • Page 71 PROLOGGER Hardware D - 3.3. Measurement Errors If an error occurs during a data collection sequence (SDIGET), the sequence is retried a total of 10 times (configurable). A non-recoverable error causes the SDIGET instruction to report a “null” result and a subsequent SDICONV will not return any data (the channel readings remain unchanged from their last good reading).
  • Page 72 UNIDATA D - 3.6. INTERROGATION MODE (SDI-12 SENSOR) Using the PROLOGGER as an SDI-12 Sensor enables it to be interrogated by another PROLOGGER (or any SDI-12 Recorder). The SLAVE PROLOGGERs do not record their measurements (although they could do so) but instead, send the computed results to the MASTER PROLOGGER for logging.
  • Page 73 PROLOGGER Hardware D - 4 PROLOGGER SDI-12 IMPLEMENTATION Command Description Sensor Data Recorder & " Acknowledge " & Send identification " & Start verification " " Start measurement " & aD0! Send data Unused Commands & " aM1...9! Start additional Measurement &...

Table of Contents