You are on page 1of 19

IO Logger basic settings

Introduction:
For proper function of the system some essential settings need to be done prior to the station could
began its duty.

New configuration
Update the config.json file on the SD card into the directory “sys” and then restart the data logger

SD card could be removed and inserted to the computer for this purpose or the command mount could
be used in data logger and the SD would be mounted into the computer via the data logger

Note: if new configuration is not updated, some function described here in this guide will not work!!

Communication/identification settings
The APN settings and station name must be entered

To enter the APN setting use the command bellow. The bellow example shows the entering of APN
name “blweb”. The APN needs to be used according to a local operator

SYS APN "IP","blweb"

The identification of the station could be done by setting the two following variable with the same value.
The example bellow is setting the value of both to 1

SYS AWS_ID 1

SYS AWS_NAME 1

Note: After these setups the station should be restarted.

Check the FTP transmission with commands:

The following command initiates the sending of data log file of previous day

runconfigObject S$data (via hyperterminal) or runconfigObject S$24data (via terminal 1.9b)

The following command initiates the sending of data log file of actual day

runconfigObject S$data_Actual (via hyperterminal) or runconfigObject S$24data_Actual (via terminal


1.9b)

Check the status of sending with command

periph
Note: please note that if the SD card is mounted as mass storage the reading of the sending of the files
will not be successful!!

Check data on FTP server

Modem and Sim Card check


Note: If the FTP transmission in previous step was successful, skip this section! If the FTP transmission
was not successful, perform this section and then try the FTP section once again.

When the above setup is done the checking of the modem and sim card could be carried out. To access
the modem, it must be initiated with command:

mdminit 1

Then modem could be accessed via the command:

bridge mdm

Now the modem commands could be used to see the response of the modem (see the AT commands on
the end of this guide)

To close the modem session use command:

tClosE

To switch off the modem use:

mdminit 0

Measurement settings
For purpose of proper water height reporting the actual height to the sensor (absolute to the zero level
of the water) must be entered. The value is entered in the millimeters. The offset of 10m (10000mm) is
entered with the command bellow.

SYS ELEV 10000

The meaning of the setting is shown bellow


Time check and set
Check the time and data with command:

dt

Set date with command

setdt

Data logger setting verification


To verify the settings, use the command

getvar *

or button

getvar

Try to record the listing of getvar request for all the station.

Especially record and add to your station table the value of variable listed with command:

getvar EXT_DELAY

Sensor setting
Introduction
To prepare the sensor for the measurement every sensor must be accessed. The access could be done
directly with using of power supply and suitable RS232 convertor, where the sensor could be wired
according to a user guide and accessed via the GEOLUX software or powering and accessing via the data
logger directly.

NOTE: Following actions may require the FW and configuration update of the data logger.
To access the sensor via the data logger the Hyperterminal or other terminal SW could be used. The
example bellow shows the setting of Hyperterminal allowing us to see typed characters as those are not
echoed with the data logger.

Normally the sensor is powered once per 10min for about 20s. To perform following actions on the
sensor it is necessary that the sensor is powered continuously.

To ensure that sensor is powered continuously, the special command must be entered to data logger.
After this command the sensor is powered for one hour.

Note: the command works just once, and its entering multiple times does not extend the time of
powering of the sensor. The sensor is going to be switched off after 60min after the first entering of this
command.

To power ON the sensor, proceed command:

runconfigObject C$SensorSetON

(In case that command is proceeded via Terminal 1.9b use runconfigObject C$24SensorSetON)
When the sensor is powered try to access the sensor via the SDI12. The sensor should be powered
continuously, so it should reply to SDI12 requests.

When sensor is powered, we could request its information with SDI12 command:

sdi12 1I!

the response should be identification information of the sensor.

When the sensor is not powered (the case without running command runconfigObject C$SensorSetON)
the response is 92 or 93 error.
To access the sensor, we could then use the bridge command to giving us access to a data which are
coming on the RS232 of the sensor.

To access the RS232 data, we could use command

bridge RS232

To end the bridge session, we will use the following command on the end:

tClosE
After bridge command is executed, the sensor RS232 message starts to be printed out.

When the RS232 message is coming the hyperterminal application could be disconnected from the serial
line.
When the hyperterminal is disconnected from the serial line Geolux SW could be connected to this serial
line.

Type of the sensor and the serial line com port could be chosen now using RS232 protocol.
Geolux program will initiate the connection and inform the user about status of the connection
When the connection is successful, the sensor readings will show up informing us about measured data

To set the sensor, the user must access the Settings page and Profile page.

Setting page
Most of the settings will respect the recommendation which could be found in the user guide and these
could be used according to the site characteristics and after careful consideration with the technician
doing the installation and commissioning.

For the proper function of the system, it is necessary that some of the settings are performed exactly as
stated bellow.

Discharge unit-m3/s (applicable only for RSS velocity sensor)

Velocity units-mm/s (applicable only for RSS velocity sensor)

Level units-mm
Velocity interval is set according to a local condition as well as the setting of the limits of active zone.
The active zone is set according to a height of the sensor installation and according to the limit levels
when the water could be present according to a picture bellow.
Profile set (applicable only for RSS velocity sensor)
For proper calculation of water discharge, it is important that the profile of the river cross-section and
position of the sensor is set into the sensor. This setting is proceeded into Profile set page of the sensor
settings.

For the proper setting of the sensor, the profile parameters measured during the site survey must be
recalculated that way that zero of both XY axles is starting on the left bottom corner.

Following example bellow shows the way how the site survey of Khatrabhanga River was provided,
followed with the profile setting as they need to be recalculated to be entered into the RSS sensor.

RL
4
3 2.85
2.74
2.35
2

1 1.18

0 -0.19 -0.19
-0.84 -0.64
-1 -1.04
-1.14
-1.47 -1.64
-2 -1.89
-2.34
-2.49 -2.69
-2.89
-3
-3.49 -3.29
-3.89 -3.69
-4 -4.09 -4.09
-4.49
-5
0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95

RL For sensor conpensation


8
7.23 7.34
7 6.84
6
5.67
5
4.3 4.3
4 3.85
3.65 3.45
3.35
3 3.02 2.85
2.6
2 2.15
2
1.6 1.8
1 1 1.2
0.60.4 0.8
0.4
0 0
0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95
For the proper function of the sensor the characteristic above needs to be entered to the sensor X and Y
parameters one by one or by inserting the CVS file where the sensor will ask the user what is the X and
what is the Y and what are the units of X and Y.

When this setting is finished also position of the sensos absolute to the zero of XY must be set.

Example bellow shows the default setup of the sensor.

This default parameters could be deleted with button Delete profile and then defined with user using
button Define manually.
As next, the profile is defined either manually point by point or by importing of CSV file.

The file which was use in the current example is as shown below.

After setting of sensor position (this parameter was not provided) the sensor will show the cross section
of the river as well as the sensor position and actual level and discharge values.
For the proper discharge measurement it is also necessary, that the K-factor is entered for the different
levels of the water state. The K factors describes the relation between the surface velocity of the water
and the average speed of the rive across the cross-section of the river. This value should be measured
with the ADCP or similar method and re-entered several times during the sensor duty. The
measurement should be taken in the different state of the flow situation.

In order to determine the discharge in a realistic channel, the area must be precisely measured by
measuring water depths at a series of points across the stream and multiplying by the width of the
stream within each segment represented by the depth measurement. The mean cross-section flow
velocity needs to be determined from measured surface flow velocity. Studies performed by USGS
reveal that, typically, the mean velocity is 80-95% of the surface velocity, the average being 85%.
Knowing non-rectangular area of the stream cross-section, and knowing the surface flow velocity, the
following formula can be used:
Q=0.85*V*A
More details about water flow measurements can be found in the following technical note:
https://www.bae.ncsu.edu/programs/extension/wqg/319monitoring/TechNotes/technote3surface_
flow.pdf
AT Commands to check the modem and SIM card

The reason of these command is to give user information about the state of the modem, SIM card and
to check if the SIM card provides the necessary services.

First it is necessary to check if modem responds. To check the modem response use command:

AT

The response should be OK

After SIM card is inserted, the test if the modem reads the SIM and if the PIN code is active could be
checked with command:

AT+CPIN?

Any response other than ERROR means that SIM card is inserted and could be read. If the answer is SIM
PIN, then you need to enter the pin and disable it then, if the answer is READY the PIN is already not
required.

Enter valid PIN code (for example 1111):

AT+CPIN=1111

Unlock the PIN

AT+CLCK=”SC”,0

Check if the modem is connected to the provider:

AT+CREG?

Should answer 0,state:

State is as follows:

0-not registered, ME is not currently searching a new operator to register to


1-registered, home network
2-not registered, but ME is currently searching a new operator to register to
3 - registration denied
4 -unknown
5 - registered, roaming
Check the signal quality:
AT+CSQ
Execution command reports received signal quality indicators in the form:
+CSQ: <rssi>,<ber>
where
<rssi> - received signal strength indication
0 - (-113) dBm or less
1 - (-111) dBm
2..30 - (-109)dBm..(-53)dBm / 2 dBm per step
31 - (-51)dBm or greater
99 - not known or not detectable

<ber> - bit error rate (in percent)


0 - less than 0.2%
1 - 0.2% to 0.4%
2 - 0.4% to 0.8%
3 - 0.8% to 1.6%
4 - 1.6% to 3.2%
5 - 3.2% to 6.4%
6 - 6.4% to 12.8%
7 - more than 12.8%
99 - not known or not detectable

To check the GPRS connections to the provider manually please use following commands:

First check if data logger already set APN to modem with command

AT+CGDCONT?

The APN which was set to data logger should be printed, if not, set the APN name manually:

AT+CGDCONT=2,”IP”,”blweb”
Instead of name “blweb” it is possible to use different APN name according to local provider solution.

To activate connection to the provider, use command:

AT+CGACT=1,2

To check the address received from provider use command:

AT+CGPADDR=1

To disconnect from provider, use command:

AT+CGACT=0,2

You might also like