background image

Address Size

Description

32

1

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

High speed serial DATA 0

33

1

User Power Supply status register
Bit 0 = 1 UPS will be ON next scan
Bit 1 = 1 UPS was ON this scan
Bit 2 = 1 UPS is currently ON
Bit 3

unused

Bit 4 = 1 RTS is not active
Bit 5 =

DTR not active

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 (compare) instruct.
Bit 4

set Operand 1 =Operand 2

Bit 5

set Operand 1 < Operand 2 (unsigned)

Bit 6

set Operand 1 < Operand 2 (signed)

35

1

Reserved

80

6

Software stores Scheme Name here.

200

32 16 x analog channel A0 (Pin 1) signed 16 bit channel (155mV/bit)

232

2

PROLOGGER internal temperature signal ±500°C range (0.1°C

resolution/bit)

234

2

10V reference (0.01V/bit) (Pin 35)

236

2

Supply (Battery) voltage scaled 0.01V/bit

238

2

5V scan synchronised reference voltage (0.01V/bit) (Pin18)

UNIDATA

42 PROGRAMMING THE PROLOGGER

Summary of Contents for Starlog Prologger 7001

Page 1: ...STARLOG PROLOGGER Hardware Model 7001 Revision 33 Firmware User Manual Revision A 6261 May 1999...

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

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

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

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

Page 6: ......

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

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

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

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

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

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

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

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

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

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

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

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

Page 19: ...Pin Model 7001 Model 7000 17 Continuous Battery Unused 19 Sense 1 SDI Unused PROLOGGER Hardware PROLOGGER OVERVIEW 13...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 60: ......

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

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

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

Page 64: ......

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

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

Page 67: ...02 PROM Verify Fail 03 Mirror Fail 04 Bad checksum in RAM firmware PROLOGGER Hardware 3...

Page 68: ......

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

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

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

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

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

Reviews: