background image

SpaceLogger

®

.S10

 

User Manual 

 

©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom 

 Tel +44 (0) 1590 679755 Fax +44 (0) 1590 688577 e-mail [email protected] web www.r-p-r.co.uk 

 

 

 

- 9 -

 

017SL167/3 04/09/13 

 

5.2

 

To Define the Data Sample(s) to be Recorded 

 
The  SpaceLogger.S10  is  capable  of  being  used  with  any  sensors  that  output  their  information  in 
ASCII sentences.  The format of the data must be 8 bits and no parity.  It is also a requirement that 
each data record has identifying start and end characters to define the data sequence to be sampled. 
 
Up to two different data samples may be defined.  By default just one sample is recorded, defined 
by STX (start) and ETX (end) identifiers. 
 
The start and end identifiers may be defined in one of two ways; either a single ASCII character 
specified  by  its  decimal  value  (0-255)  or  by  a  string  of  up  to  31  characters  contained  by  quote 
marks. 
 
The SpaceLogger.S10’s default start character is <STX> (2) and end character is <LF> (10).   
 
The  SpaceLogger.S10  may  be  set  to  recognise  any  other  start  and  end  characters  using  the 
following SETUP.TXT command lines: 
 

STX=x   

or

 

STX=“cc…” 

ETX=x   

or

 

ETX=“cc…” 

 

Where: 

o

 

x is the decimal value (0-255) of the ASCII character that indicates the start (STX) 
or  end  (ETX)  of  the  data  string  that  is  to  be  stored.    Default  value  for  STX  is  2.  
Default value for ETX is 10.  * 

o

 

cc… is a string of up to 31 ASCII characters 

 

Note: 

 

The string is case sensitive. 

 

Question marks (?) may be used to denote any character i.e. as wildcards. 

 

The following escape codes may be included in the STX and ETX strings: 

\n = 0x0A 

LF 

 

\r = 0x0D 

CR 

 

\" = 0x22 

 

\' = 0x27 

 

\\ = 0x5C 

 

\1 = 0x01 

SOH 

 

\2 = 0x02 

STX 

 

\3 = 0x03 

ETX 

 

\4 = 0x04 

EOT 

 

\5 = 0x05 

ENQ 

 

\6 = 0x06 

ACK 

 

\7 = 0x07 

BEL 

 

\a = 0x07 

BEL 

 

\b = 0x08 

BS 

 

\f = 0x0C 

FF 

 

\t = 0x09 

HT 

 

\v = 0x0B 

VT 

 

*  For table of ASCII characters and their decimal values, refer to the Appendix A2. 

Summary of Contents for SpaceLogger.S10

Page 1: ...th Road Lymington SO41 3SE United Kingdom Tel 44 0 1590 679755 Fax 44 0 1590 688577 e mail sales r p r co uk web www r p r co uk 017SL167 3 04 09 13 SpaceLogger S10 User Manual For the latest informat...

Page 2: ...8 To Enable Logging from the Second RS232 Input 13 5 9 To Set the Baud Rate 13 5 10 To Select a Logging Interval 14 5 11 To Record Data to a Single Log File 14 5 12 To Customise File Names 15 5 13 To...

Page 3: ...are accessed in the same way as files on the computer s other disk drives The text files may be read and manipulated in any standard Office applications e g Notepad or MS Excel The SpaceLogger S10 wi...

Page 4: ...inputs see section 4 Set up logging preferences with SETUP TXT file see section 5 Power on see section 4 6 Set time and date see section 5 1 Insert SD card see section 6 1 Start recording data see se...

Page 5: ...GND Power 2 Supply V 7 to 30V dc 3 GND RS232 signal input output ground 4 N A Reserved for future options 5 GND RS232 signal input output ground 6 N A Reserved for future options 7 Switch GND 1 Switc...

Page 6: ...is connected the Primary RS232 input 1 should be used The Secondary RS232 input 2 is limited to 4800 baud rate Details on how to enable the secondary input via the RX2 command are given in section 5...

Page 7: ...terminal and insert the wire as far as it will go into the hole below the plunger Release the grey plunger and the wire is held captive by the connector A gentle tug on the wire will confirm that it i...

Page 8: ...e section 5 6 Timeout when waiting for second data sample See section 5 7 Logging of data from second RS232 input See section 5 8 Baud rate of RS232 input output See section 5 9 Logging interval sampl...

Page 9: ...t folder Note if folder DATA already exists on the card ensure the file SETUP TXT is not in this folder but at the top level in the root directory If using Windows and Vista please refer to section be...

Page 10: ...racter specified by its decimal value 0 255 or by a string of up to 31 characters contained by quote marks The SpaceLogger S10 s default start character is STX 2 and end character is LF 10 The SpaceLo...

Page 11: ...ter detection of the primary data sample defined by STX and ETX the logger will expect the sample defined by STX2 and ETX2 If s N the logger will not record the sample defined by STX2 and ETX2 This se...

Page 12: ...LOGSTX2 g LOGETX2 g Where g Y or N For example If LOGSTX Y the characters included in the STX identifier are included in the recorded data sample If LOGSTX N the characters included in the STX identi...

Page 13: ...will not be able to advance to monitor for the next data sample until each of the first set of identifiers have been detected and logged In applications where one of ETX STX2 or ETX2 may be missed it...

Page 14: ...nd will record all data received if set to LOG_ALL Y mode If x N the logger will not monitor RS232 Input 2 The wiring connections for RS232 Input 2 are as described in Section 4 2 signal to terminal 1...

Page 15: ...ition as an integer Note r 0 to 60 r should be set to a value greater than the sensor output interval or 0 If r 0 every sample received by the SpaceLogger will be recorded i e the SpaceLogger looks fo...

Page 16: ...aracters are 20 And nnn are the ASCII characters that set the file extension Default characters are CSV Note Lower case characters are converted to upper case characters so will not be differentiated...

Page 17: ...wing SETUP TXT command line TIMESTAMP t Where t Y or N If t Y on detection of the start of the sample STX the date time stamp will be inserted into the stored data pre pending the data sample s If t N...

Page 18: ...data input on the RS232 input Rx is output on the RS232 output Tx If o L the data as written to the log file on the memory card is output on the RS232 output Tx If o N no data will be output Please no...

Page 19: ...lowing escape codes may be included in the STX and ETX strings n 0x0A LF r 0x0D CR 0x22 0x27 0x5C 1 0x01 SOH 2 0x02 STX 3 0x03 ETX 4 0x04 EOT 5 0x05 ENQ 6 0x06 ACK 7 0x07 BEL a 0x07 BEL b 0x08 BS f 0x...

Page 20: ...all characters with values 0 to 255 will be logged If w N characters with a value less than 10 will be logged as a space character SP 5 18 To Record the Status of the Digital Input Channels It is pos...

Page 21: ...l be output on the RS232 Output 1 each time the memory card is initialised If u N STARTUP TXT will not be output Note File STARTUP TXT must be located in the root directory on the card File STARTUP TX...

Page 22: ...setting the SpaceLogger S10 to Default Settings To intentionally return to the default settings create a new SETUP TXT file containing the command line RESET RESET loads the following default settings...

Page 23: ...ions above for explanation of commands 3 Commands may be typed in upper or lower case but they will be converted to upper case before execution 4 The SETUP TXT file may contain a list of commands For...

Page 24: ...mmand lines will now be effective The configuration is saved to the SpaceLogger S10 and the file SETUP TXT is automatically renamed to SETUPOLD TXT on the memory card Settings are stored in eeprom and...

Page 25: ...receiving new data from the connected equipment The length of time the memory card takes to initialise will depend on the formatting of the card and the amount of data already stored on it The green...

Page 26: ...D card should not be removed while data is being written to it To stop recording data the small button to the left of the card slot on the front of the SpaceLogger should be depressed There will be an...

Page 27: ...ent out 7 A max RS232 Output 1 Transmission standard RS232 compatible 8 bits and no parity Transmission speed 9600 Baud default or selectable from 115200 57600 38400 19200 4800 2400 1200 300 or 110 Ba...

Page 28: ...0 1590 679755 Fax 44 0 1590 688577 e mail sales r p r co uk web www r p r co uk 27 017SL167 3 04 09 13 Screwless terminals 0 32 to 0 64 mm AWG 28 to 22 diameter conductors Environmental Operating Tem...

Page 29: ...tor cc a string of up to 31 ASCII characters or Decimal value of single ASCII character 10 SENTENCE2 Controls whether a second data sample is monitored for and logged Y N N STX2 Defines the start char...

Page 30: ...to one continuous log file rather than daily files Y N N FILE Modifies file name and extension format ff nnn or ffffffff nnn 20 CSV TIMESTAMP Switches data time stamping on or off Y N Y LOG_ALL Disab...

Page 31: ...H 8 9 09H HT 25 19H EM 41 29H 57 39H 9 10 0AH LF 26 1AH SUB 42 2AH 58 3AH 11 0BH VT 27 1BH ESC 43 2BH 59 3BH 12 0CH FF 28 1CH FS 44 2CH 60 3CH 13 0DH CR 29 1DH GS 45 2DH 61 3DH 14 0EH SO 30 1EH RS 46...

Page 32: ...removal or installation of the component Misuse including failure to use the component for its normal purpose or incorrect installation Damage caused by Lightning Water Fire Acts of God War Public Di...

Page 33: ...gdom Declare under our sole responsibility that the product SpaceLogger RS Manufactured by Richard Paul Russell Limited to which this declaration relates is in conformity with the protection requireme...

Page 34: ...e with the specific WEEE recycling requirements This symbol on the product or on its packaging indicates that the product must NOT be disposed of with normal household waste Instead it is the end user...

Reviews: