beautypg.com

Kipp&Zonen COMBILOG Data Logger User Manual

Page 54

background image

spez1(INTERFACE; TYPE; START; VAR; DEFAULT)

INTERFACE

1: RS232

2: RS485

TYPE

1: constant length

2: variable length

START: start position (starting with '0')

VAR

for TYPE = 1: value length

for TYPE = 2: delimiter character (ASCII value)

DEFAULT: on error this is value will be returned

In defining more than one arithmetic channel with this function
you can extract more than one value from one ASCII telegram.

To convert a variable value with start position 10, delimiter #,
interface RS485 and default value –1 from
“Value:_0023,6697#END” the call to spez1() should be
spez1(2; 2; 10; 35; -1) and the result is 3.6697.

With special function spez2() some special meteorological val-
ues can be calculated. The following functions are defined:

spez2(air pressure; height; 1);

Calculates the air pressure on sea level out of air pressure at
given height.

spez2(app_wind; fair_wind; wind_angle; 2);

Calculates the true wind speed out of apparent wind, fair wind
and the enclosed angle.

spez2(temperature; radiance_balance; saturation_deficit ;

wind_speed; 3);
Calculates the evaporation acc. to Penman-Monteith.

Hardware Manual COMBILOG 1022

54