FIS HDL1 Скачать руководство пользователя страница 38

 

- 30 - 

TRANSMITTING SATELLITE DATA 

If you have one of the satellite options enabled on the telemetry port, then the TX() 
command is used to put data to the satellite communications. If the satellite options 
are not enabled, then the TX() command is ignored and does not generate an error 
message. 

The  TX()  command  has  exactly  the  same  syntax  as  the  LOG()  command,  and  is 
used  in  a  similar  fashion.  The  internal  difference  is  that  the  data  is  formatted  as 
needed  by  the  particular  satellite  interface  specified,  then  put  to  an  internal  buffer 
until  the  satellite  transmission  time  is  reached. The data is then sent and the buffer 
cleared.  This  data  is  not  logged  by  the  data  logger.  Depending  on  the  satellite 
interface, it may be hours before the data is sent, or it may be just a few seconds. A 
power  failure  or  reset  causes  the  buffer  contents  to  be  lost,  but  not  the  satellite 
configuration. This will be restored when the power returns. 

Because  some  satellite  interfaces  (particularly  GOES)  are  very  particular  about  the 
order and amount of data, the user must be very careful to put the data in the right 
order  for  transmission,  and  to  generate  the  data  at  the  proper  times,  so  as  not  to 
overfill the buffer and lose data. 

If you wish to log the transmitted data, then there must be a LOG() command for the 
data. 

For the GOES satellite only, there is also a TXA() command. This transmits data on 
the random channel instead of the timed channel that the TX() command uses. This 
is normally used for issuing alerts. 

CURRENT CONDITIONS 

The very first LOG() command found in a program has a special significance -- it can 
be used to return its readings (by telemetry) to the caller without having to store the 
data. This is used to allow the user to monitor values that do not need to be logged 
under  normal  circumstances.  For  example,  this  can  be  used  to  return  the  current 
battery  voltages,  so  the  user  can  read  these  without  having  to  take  up  memory 
logging their values. 

If you do not want to store its  data then the first LOG()command is usually put inside 
an IF() statement so that it is never executed:  

IF(1==0) 


LOG(DCellV, TelemV); 
 

If this is the case, then the above can be placed inside the initialization block, so that 
time will not be wasted checking the IF() during regular timer operation. 

 

WARNING:   In  some  cases  SDI  sensors  may  take  many  seconds  to  take  their 
readings.   If  these  are  used  directly  in  a  current  conditions  call,  then  the 
telemetry system may time out waiting for all the sensors to be read.   The best 
way to get around this is to store the most recently read values in variables, and 
return  the  values  of  the  variables  instead.   This  does  mean  that the  data  is  not 
completely  up  to  date.   As  a  rough  guideline,  the  total  time  to  read  all  the  SDI 
sensors  should  be  less  than  15  seconds.   Built-in  sensors  and  variables  are 
quick enough they do not need to be accounted for in the total time. 

Содержание HDL1

Страница 1: ...HDL1 HDL1 G5 Data Logger Operating Manual...

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

Страница 3: ...TS FOREST TECHNOLOGY SYSTEMS LTD 1065 Henry Eng Place Victoria B C V9B 6B2 PH 250 478 5561 or 1 800 548 4264 FAX 250 478 8579 or 1 800 905 7004 ON THE INTERNET Web Page www ftsinc com E mail info ftsi...

Страница 4: ...March 2007 700 HDL1 REVISION HISTORY Revision Date Description 1 Mar 23 2006 Original issue 2 June 6 2006 Add new functions 3 Feb 6 2007 Add GOES antenna set up information 4 Mar 16 2007 Update typogr...

Страница 5: ...e 6 CONNECTING SDI SENSORS 6 CONNECTING AN FTS RAIN GAUGE 6 CONNECTING OTHER FTS SENSORS 6 CONNECTING TELEMETRY DEVICES 7 BATTERY CONNECTION 7 SOLAR PANEL CONNECTION 8 ANTENNA CONNECTIONS HDL1 G5 only...

Страница 6: ...DVANCED TOPICS 31 OPERATION ___________________________________________________________________ 35 USING THE DISPLAY 35 EXTRACTING STORED DATA 35 TROUBLESHOOTING 36 AUDIT LOG 36 SENSORS 36 CHANGING AN...

Страница 7: ...COUNT 45 POWER 45 BATTERY VOLTAGE 45 TELEMETRY VOLTAGE 45 SDI VOLTAGE 45 TIME 46 CURRENT YEAR 46 CURRENT MONTH 46 CURRENT DAY OF MONTH 46 CURRENT HOUR 46 CURRENT MINUTES 46 CURRENT SECONDS 46 CURRENT...

Страница 8: ...iv THIS PAGE INTENTIONALLY LEFT BLANK...

Страница 9: ...fications on the data logger POWER Power for the data logger is provided by a 12 Vdc sealed lead acid battery connected to the front panel BATTERY connector A battery must be connected to the data log...

Страница 10: ...The data logger actually stores four separate items the data logger program DLP the data an audit log and telemetry configuration information Each item is described further below All data logger stora...

Страница 11: ...is is a circular buffer so the newest messages overwrite the oldest when the buffer fills Each message is tagged with a message number and time This can not be cleared except by an explicit command A...

Страница 12: ...4 THIS PAGE INTENTIONALLY LEFT BLANK...

Страница 13: ...ING IN AN ENCLOSURE FTS ENCLOSURE A mounting plate for the data logger will be fastened to the back of the enclosure Decide where you want the data logger and any other equipment being installed at th...

Страница 14: ...to the sensor Incorrect or missing readings will result if this is not done correctly Sensors supplied by FTS have a 3 pin waterproof connector attached so all that is necessary to set it up is to plu...

Страница 15: ...ee C That is for every 1 degree C that the battery temperature rises above the 25 degree C level the charge voltage that the regulator switches off at is reduced by 0 03 volts The battery voltage can...

Страница 16: ...opriate sized solar panel is site specific and depends on solar exposure and overall power requirements The HDL1 does not require a solar panel in order to operate Please contact FTS for assistance wi...

Страница 17: ...nt This antenna is mounted through a hole in the top of the electronics cabinet and connects to the data logger inside the cabinet using a short coaxial cable When installing this antenna make sure th...

Страница 18: ...aluminum is applied to the antenna element threads Attach the elements finger tight to the antenna boom There is a number stamped on the end of each element Beginning at the end and working toward the...

Страница 19: ...irect the GOES antenna toward the satellite by tilting it up to the correct angle and rotating it around the vertical pipe to the adjusted bearing see Figure 6 Figure 6 GOES Antenna Adjusted for Satel...

Страница 20: ...12 THIS PAGE INTENTIONALLY LEFT BLANK...

Страница 21: ...ta logger and is preconfigured as GOES GPS telemetry in order to work with the built in GOES transmitter If modifications are made to the HDL1 programming ensure that the HDL1 s external telemetry por...

Страница 22: ...be reconfigured for a specific telemetry device For the HDL1 G5 the Set to GOES GPS Telemetry option is required in order for the data logger to correctly transmit the collected data The various telem...

Страница 23: ...illustration purposes only and not necessarily the values you should use Figure 8 Telemetry Port Configuration for the GOES Satellite System Specifics of each of the GOES GPS Telemetry configuration f...

Страница 24: ...ays between transmissions This is usually set to 0 zero FIRST TX TIME This sets the time of the first transmission After the first transmission the transmissions will repeat at the transmit interval T...

Страница 25: ...le alternative field names used by manufacturers For greater detail consult the manual for the specific device being using as there are many variations and exceptions After entering the relevant infor...

Страница 26: ...support DNIDs Contact your land earth station for details DATA NETWORK MEMBER NUMBER This is the Data Network Member Number assigned to the station Leave at 1 if not using Data Network IDs ENABLE POWE...

Страница 27: ...nd communications information The fields in this example are for illustration purposes only and not necessarily the values you should use MCC TELEMETRY MCC Telemetry option configures the data logger...

Страница 28: ...oard installed with the modem There are no parameters required for this configuration GLOBALSTAR MODEM WITH GS1 CONTROL BOARD TELEMETRY Currently Globalstar modems supplied by FTS are supplied with an...

Страница 29: ...am currently in the data logger will cause the stored data to be erased Download all the data out of the data logger before changing the program The main focus of the Data Logger Programming Language...

Страница 30: ...nt per line but this is not required Similarly indentation could be used to clarify the relationships within a complex program but this is up to the user Try to make your program readable it makes lat...

Страница 31: ...The EVERY portion defines how frequently the code inside the curly braces is to be executed 60 seconds in the above example The value following the EVERY can be from 1 to 86400s 1 day The AT portion...

Страница 32: ...inimum allowed value is 0 0 the maximum allowed value is 20 0 and whose units are Gal sec The data will be stored with one decimal place since only one decimal is shown in the Max and Min values A val...

Страница 33: ...m d h m s Seconds since specified date For the seconds since function the specified date must be less than 90 days before the current date or accuracy will be reduced This is due to internal limitatio...

Страница 34: ...10 Timers follow This sets the value of A to be 5 and TurbSampl to 10 DEFINING SDI SENSORS The general syntax for defining an SDI sensor is as follows SDI name LowValue TO HighValue units SDI command...

Страница 35: ...tra time tags as the data logger does not attempt to group LOG commands together LOG Temp LOG Hum LOG A LOG B LOG TurbAvg If there is an error in the data a missing sensor for example then the stored...

Страница 36: ...t hour t_Hour 0 23 Current minutes t_Min 0 59 Current seconds t_Sec 0 59 Current day of year t_DayOfYr 1 366 Seconds since midnight t_SeOfDy 0 86399 Seconds since start of hour t_SeOfHr 0 3599 The log...

Страница 37: ...ead turbidity and compare to threshold LOG Turb was higher so log turbidity The tests that are allowed are as follows equal not equal greater than greater than or equal less than less than or equal In...

Страница 38: ...lso a TXA command This transmits data on the random channel instead of the timed channel that the TX command uses This is normally used for issuing alerts CURRENT CONDITIONS The very first LOG command...

Страница 39: ...ts from an intermediate calculation having a bad value because of the missing sensor then their priority is as shown in the above list with the highest priority first This can cause problems if not us...

Страница 40: ...timers with only one reading of the sensor If the timers have timed out at different times then the sensor will be read again If you want to carry a sensor reading forward to another timer block that...

Страница 41: ...read occasionally If for example it took 50 seconds to return a reading then 5 of the 10 second SDI readings will be missing because the SDI bus cannot be used for anything else while waiting for the...

Страница 42: ...34 THIS PAGE INTENTIONALLY LEFT BLANK...

Страница 43: ...ain Menu key to turn on the display and show the initial menu From this point select the desired menu options using the black keys in conjunction with the options written above them You can return to...

Страница 44: ...nductivity the conductivity value in the second unit may be in a different field than the first unit the second field instead of the third field This varies from manufacturer to manufacturer Power and...

Страница 45: ...en not powered PHYSICAL Size 10 wide 8 high 6 deep SOLAR PANEL Input Range 8 to 20 Vdc Max Charge Current 7 A Max Solar Panel Size 100 W Charge Characteristics Charge Cutoff Voltage 14 3 Volts 25 deg...

Страница 46: ...ons such as clearing memory etc Data 504k bytes 1 Program 8k bytes Audit Log 2k bytes 1 Large enough to stored over a years worth of typical data records TELEMETRY The data logger telemetry port is pr...

Страница 47: ...that individual wire seals require wires of a specific diameter to work Delivery can be slow from the suppliers there are so many possible variations of these military style connectors that the suppli...

Страница 48: ...AS BATTERY Pin Function A Temperature drive B Temperature sense C Battery ground D Battery 12 Vdc E Chassis ground F Signal ground SIGNAL INPUTS Temperature Sensor is an Analog Devices AD22100 Voltage...

Страница 49: ...r and signal ground NOTE If running long cables to a SDI sensor it is very important that the wire gauge be large enough to minimize voltage drops due to the sensor operating current As a rule of thum...

Страница 50: ...pull up to 5v internally 0 400 Hz at 50 duty cycle Minimum closure low level duration 1 ms Pins A and C connected internally in data logger PROGRAMMING SUPPORT RnCnt Running count 0 65535 of closures...

Страница 51: ...n sent When this output is off it will be at or near ground unless an external device forces it to a different level Software and hardware communicating with the data logger must be able to deal with...

Страница 52: ...nsmitters are turned on The data logger will not send the first byte until the drivers have been active for at least one full character time SIGNALS RXD TXD CTS RTS are all RS 232 Flow control may be...

Страница 53: ...cting the counts at the start and end of the interval and multiplying by the amount of rain per tip usually 0 01 inches POWER BATTERY VOLTAGE D_Cell Get the current battery voltage The units are volts...

Страница 54: ...rom the logger clock The range of values is 0 to 23 CURRENT MINUTES t_Min Get the current minute from the logger clock The range of values is 0 to 59 CURRENT SECONDS t_Sec Get the current second from...

Страница 55: ...the next most accurate clock This only applies if the G3 is being used 5 The GPS clock has failed and the logger was unable to use the TGT clock The logger is using its internal crystal Note The behav...

Отзывы: