background image

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
sensor, and

SDICONV

which converts the collected data for use by the Log Program.

Measurements may be converted into fixed point Short Integers (for
manipulation by the Scheme), Floating Point Numbers (for logging by the
Scheme) or an ASCII string.

Integers are two bytes.

Floating Point numbers are 4 bytes.

An ASCII string is zero byte terminated.

D - 3.2. Data Recorder Coordination

Once an SDI-12 communication has commenced (SDIGET instruction
executed) the SDI-12 Bus is busy and will ignore any subsequent SDIGET
commands until the active measurement transfer is complete. The
measurements are stored in memory, to be converted by a SDICONV
instruction. Converted measurements (stored on PROLOGGER channels)
may be further processed by the Scheme program and logged.

Because most SDI-12 sensors require considerable time to make their
measurements (typically 60 seconds), the PROLOGGER remains powered up
awaiting a response from the sensor. This mode of operation usually requires
the Scheme Program to initiate SDI-12 Measurements (SDIGETs) prior to the
desired Log Interval.

The sequencing of the SDI-12 measurements is under the control of the
Scheme Program (which is defined during Scheme Editing.) (See Chapter 7
in the STARLOG Version 3 Software Manual No. 6245.)

UNIDATA

2

Содержание Starlog Prologger 7001

Страница 1: ...STARLOG PROLOGGER Hardware Model 7001 Revision 33 Firmware User Manual Revision A 6261 May 1999...

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

Страница 3: ...2 8 1 Selecting a Display List and List Entry 9 2 8 2 Auto Key Repeat 10 2 8 3 Adjusting a Config Entry 10 2 8 4 Commands in the Config List 10 2 8 5 Using a PIN Password 10 2 8 6 Displaying the Schem...

Страница 4: ...terface optional 30 5 4 PROLOGGER Initialisation 30 6 INTERNAL CHANNELS 32 6 1 Battery Voltage Monitor I2 Batt 32 7 COMPUTER COMMUNICATION 33 7 1 Computer Connector Pin Designations 34 7 2 Baud Rates...

Страница 5: ...emory 48 9 3 Configuration Table Layout 48 9 4 PROLOGGER Linear Calibration Correction 49 9 5 Initialisation via the RS 232 50 9 6 Read Write Protected Memory 50 10 TEST DIAGNOSTICS 51 10 1 Diagnostic...

Страница 6: ......

Страница 7: ...on resolution on all channels analog and digital High impedance input channels with large 26 bit dynamic range down to microvolt resolution GSM Cellular and PSTN telemetry support SDI 12 communication...

Страница 8: ...logger and initialising the logger InternalChannels A listing and explanation of two special channels Computer Communication Lists the specifications for communication with a computer and explains in...

Страница 9: ...22 input channels two high speed serial input output busses and two outputs It also provides two power sources for external instruments The range of scan rates extends from 125 milliseconds to 5 minu...

Страница 10: ...omputer The PROLOGGER and its battery are housed in a small robust dustproof enclosure Exact hardware specifications are listed in Chapter 3 2 1 Programming Overview The PROLOGGER is a microprocessor...

Страница 11: ...orded in the PROLOGGER memory The hardware values are updated in the logger memory every scan n Interlog Analysis After scanning the input signals the logger program performs an inter log analysis of...

Страница 12: ...To save power the PROLOGGER only measures signals on channels specified in the scheme If you load a scheme that only specifies a single channel the remaining channels are not scanned If you want to sc...

Страница 13: ...ze is the sum of bytes used per channel The bytes used per channel varies depending on the Log Action raw reading totalise to 1 or 2 bytes etc and the capacity of the channel A counter channel may use...

Страница 14: ...be connected Primed Green Connected to signals and waiting to begin logging Primed Green Red Actively recording Logging Red No Scheme loaded Invalid 2 7 The Display and Keyboard The PROLOGGER has a 64...

Страница 15: ...channel readings unscaled SCHEME LIST Lists details of the current Scheme composed using the STARLOG Software V3 This is normally blank unless a Scheme has been loaded CONFIG LIST Lets you adjust som...

Страница 16: ...fig Entry with the message use ENTER on Line 2 will cause data stored in memory above 64K to be lost 2 8 4 Commands in the Config List Some entries in the Config List are simple commands they do not u...

Страница 17: ...ration To change the PIN you must enter the old PIN first A PIN of 0 means that all settings may be changed without PIN validation default If you forget the PIN the PROLOGGER will operate normally but...

Страница 18: ...reading will be displayed without units 2 9 Differences with Model 7000 Macro Data logger 2 9 1 Input Signals The following inputs are different from the Portable Data logger UNIDATA 12 PROLOGGER OVE...

Страница 19: ...Pin Model 7001 Model 7000 17 Continuous Battery Unused 19 Sense 1 SDI Unused PROLOGGER Hardware PROLOGGER OVERVIEW 13...

Страница 20: ...STARBUS 2 high speed serial lines with eight channels on each 16 bits bi directional synchronous data clock SDI 12 Optional 1200 Baud instrument channel Controls 2 channels 1 CMOS output 1 uncommitte...

Страница 21: ...rogrammable ranges 5 00 to 5 00 V 155mV resolution 500 to 500 mV 15 5mV resolution 50 to 50 mV 1 55mV resolution 5 to 5 mV 155nV resolution Input Impedance 1 MW Recommended Source Drive Impedance 10 k...

Страница 22: ...R is powered by its own internal power supply in the form of a battery pack usually supplied with each logger Alkaline Model 6910A and NiCad Model 6910B battery packs are available The battery pack is...

Страница 23: ...ry packs have a maximum life of 3 years n Battery Life Estimation Tables The following table details the estimated battery life from loggers with various scan rates and battery types This table assume...

Страница 24: ...nect the battery cable 3 Lift out the black metal battery retaining plate and remove the used battery pack 4 Insert a new battery pack and replace the metal retaining plate making certain not to crush...

Страница 25: ...install an external power supply 1 Connect ve to pin 16 of the INPUT SIGNALS socket terminal 1 of the Field Termination Strip 2 Connect ve common to pin 34 of the INPUT SIGNALS socket terminal 2 of th...

Страница 26: ...omatically use the internal battery if external power falls below 11V DC or fails altogether 4 4 Monitoring Battery Voltage The most recent battery voltage measurement is stored in the logger memory a...

Страница 27: ...Battery An optional Lithium battery Model 6909A can be installed to provide memory back up power when the main battery pack is removed or fails completely The battery type is a 3 4VAA lithium cell wi...

Страница 28: ...e LCD according to which type of battery is installed If external power is used and no battery pack is installed the LCD will indicate ALKLN 4 8 The Input Signals Connector Pin out The table on page 2...

Страница 29: ...and kept as short as possible Wherever possible install the PROLOGGER in a protected location exposed to the least temperature extremes This will increase the battery life and improve clock and signal...

Страница 30: ...og input A11 A3 ve 8 Analog input A13 A5 ve 9 Analog input A15 A7 ve 10 Sense input BIT 3 Log Start MASK 8 SENSE 0 11 16 bit counter input 20kHz C0 12 16 bit counter input 20kHz C2 13 High Speed Synch...

Страница 31: ...nter with prescale 20kHz C3 31 High Speed Synchronous Serial Data Port TTL level input and output HSIO data 1 32 High Speed Synchronous Serial Data Port TTL level input and output HSIO data 0 33 Contr...

Страница 32: ...Power Sources Outputs Serial I O Port External Power Input 36 35 31 32 33 34 30 29 28 17 18 13 14 15 16 12 11 10 5V regulated 3 1 37 19 Digital 0 Log Start C0 C2 IO Clock 1 IO Clock 0 OUT 1 External P...

Страница 33: ...nalog Inputs Analog inputs can be used as low resolution 8 bit or high resolution channels 16 bit Their usage depends how you refer to the input in the STARLOG software The software interprets analog...

Страница 34: ...he standing battery drain with the UPS switched ON and no external UPS load is 15mA The Scan Synchronised UPS Pin 18 switches on and off in sync with the logger scan Any loads connected to these outpu...

Страница 35: ...seconds per bit with a 30 microsecond gap between each byte See the timing diagrams for Serial In and Serial Out below Every 1mS a logger interrupt sequence adds a 50 microsecond delay to the serial t...

Страница 36: ...heme into the logger before it can be used In normal use the PROLOGGER will not require initialisation If however the logger does not appear to scan at the correct rate it may need re initialization A...

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

Страница 38: ...uses may be to provide high accuracy corrections to bridge measurements strain gauge PT100 etc referenced to the 10V or 5V supplies The temperature which is in thermal contact with the Analog ground...

Страница 39: ...o set the baud rate Describes the communications protocol Includes a sample communication program Includes a table listing pin allocations The communication format is RS 232C compatible 300 to 76800 b...

Страница 40: ...om logger OUT 0 All other pins are not connected and reserved for future use Notes 1 The RTS signal from the computer will activate the logger even between scans The logger may respond with a prompt C...

Страница 41: ...of STARLOG protocol commands 7 3 1 Scan Synchronised RS 232 Communication At the end of every scan 5 seconds usually the logger will check to see if the computer interface is connected If the interfa...

Страница 42: ...n extended protocol commands That is g performs an extended GET command All extended protocol commands require a checksum following the message If the logger receives an invalid command it will be ign...

Страница 43: ...rmat for the GET or PUT is a continuous string of hexadecimal characters The first two characters correspond to the first byte requested or to be sent the next two characters is the second byte and so...

Страница 44: ...ll issue a command to the logger and display the response from the logger The commands must be valid commands see above The ON ERROR GOTO 140 statement is needed to trap and ignore via RESUME statemen...

Страница 45: ...CD0 FOR RANDOM AS 1 Open RS 232 to logger 50 ON ERROR GOTO 140 Trap I O errors 60 INPUT 1 L IF INSTR L 0 THEN 60 Wait for logger prompt 70 PRINT 1 A Send command to logger 80 INPUT 1 L Get response f...

Страница 46: ...programming information consult the STARLOG Programmer s Manual No 6201 included with the STARLOG Software Package Model 6300 8 1 Memory Layout The PROLOGGER uses CMOS memory for the Logger Program t...

Страница 47: ...ithmetic instructions using 32 bit unsigned integers can represent values from 0 to 4294967295 8 2 1 PROLOGGER Memory Assignments The PROLOGGER operating the standard instruction set has the following...

Страница 48: ...e Bit 6 1 Memory Backup Battery OK Bit 7 1 unused 34 1 Arithmetic status register set by ADD SUB MUL DIV instructions Bit 2 Arithmetic overflow Bit 7 Arithmetic carry Logic status register set by CMP...

Страница 49: ...tion is encountered opcode 0 then the logger proceeds to service the RS232 port of the computer 8 3 1 PROLOGGER Operation Sequence Every logger scan cycle the logger hardware performs the following se...

Страница 50: ...ER is stored in one of eight memory areas Normally only one memory area is used and this occupies all free external memory starting at Address 1536 and ending at the limit of the PROLOGGER s CMOS memo...

Страница 51: ...l For example recording the wind speed and ambient temperature every hour would produce fixed TIME and SIZE log entries PROLOGGER Hardware PROGRAMMING THE PROLOGGER 45 256 260 264 268 272 Current Buff...

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

Страница 53: ...peration 9 1 Default Configuration Table The PROLOGGER has a permanent default copy of the Configuration Table in a ROM Read Only Memory chip This default version instructs the logger to operate with...

Страница 54: ...ROM and may be read by the computer using the S s commands The configuration table contains an array of 16 bit LSB MSB variables which control many aspects of the PROLOGGER s operation such as scan ra...

Страница 55: ...ient is multiplied by 8192 to form the PROLOGGER gain coefficient entry That is each bit is 1 8192 or 1 2207E 4 g 0 00610 g 0 00610 8192 50 or 32 HEX Gain coefficients must be POSITIVE n OFFSET The de...

Страница 56: ...re are five RS 232 commands used with the PROLOGGER They relate to the maintenance and initialization of the Configuration Table For a complete list of STARLOG Protocol commands see Appendix B Command...

Страница 57: ...Tssss the logger enters Diagnostic Mode and sends the message PROLOGGER Diagnostics 7001A V33 0F followed by a menu of diagnostic commands The diagnostic then awaits the entry of a Task Command from...

Страница 58: ...de Resets logger S Sleep Shut down logger to conserve batteries when the logger is left unused for long periods Warning logger will be left in an uninitialized state and will not scan The User must re...

Страница 59: ...address 0 R Test RAM ROM shadow n MISCELLANEOUS CR Pressing the Enter key will end the current command if any and display the Command Menu Esc End the current command n POWER SUPPLIES U Toggle user p...

Страница 60: ......

Страница 61: ...m exceeded maximum runtime and was prematurely terminated no EXIT instruction or corrupted incorrect Log Program Warning SC Scan counter fault detected Warning Error flags are divided into WARNING and...

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

Страница 63: ...he factory Features of each revision are listed You can use this list to determine your upgrade options It is possible to upgrade PROLOGGER firmware within a particular model contact your UNIDATA offi...

Страница 64: ......

Страница 65: ...dd ddcccc W W write protected mode WnnnnAAAASSdd dd eecccc CR w wnnnnaaaaaaaassssdd ddcccc R R read protected mode RnnnnAAAASS r dd ddcccc CR r rnnnnaaaaaaaasssscccc T T test mode Diagnostics Tnnnnzz...

Страница 66: ...t 00 256 ssss 4 Hex size in bytes of transfer 16 bit 0000 65536 MSB LSB zz 2 Hex parameter 8 bit dd 2 Hex data per byte transferred if applicable cccc 4 Hex data binary addition checksum 16 bit MSB LS...

Страница 67: ...02 PROM Verify Fail 03 Mirror Fail 04 Bad checksum in RAM firmware PROLOGGER Hardware 3...

Страница 68: ......

Страница 69: ...6201 D 2 THEORY OF OPERATION When the PROLOGGER sends a break signal the Sensor awakes and captures the SDI 12 command following the break signal If the command is valid the Sensor reads its address...

Страница 70: ...n Once an SDI 12 communication has commenced SDIGET instruction executed the SDI 12 Bus is busy and will ignore any subsequent SDIGET commands until the active measurement transfer is complete The mea...

Страница 71: ...command tssss01 Extended commands may be issued while the Scheme Program is operating but remember that the extended commands may disrupt the Scheme Program data collection timing Type Alt T from wit...

Страница 72: ...he normal logging functions STARLOG measurements RS 232 communications and data logging co exist with SDI 12 interrogation Whenever an SDI 12 Data Recorder issues a START MEASUREMENT SEND DATA sequenc...

Страница 73: ...200 A0 SDI1 channel 2 address 202 A1 SDI2 channel 3 address 204 A2 SDI3 channel 4 address 206 A3 SDI4 channel 5 address 208 A4 ID string 011UNIDATA 7001A 2200000 CR LF VERIFY string 00000 CR LF START...

Отзывы: