Chapter 13 Device Logic (Pawn)
Configuration of the external temperature measurement (PT100/1000)
Configuration options for the Temp_Init() function
TEMP_MODE_SINGLE_CONV = 0,
// single conversion mode
TEMP_MODE_CONT_CONV
= 1,
// continuous conversion mode
Identifications of the modules implemented in the myDatalogEASY V3
These are used by the functions for updating the firmware of the modules.
#define MODFW_BLE
"NINA-B11X"
// Bluetooth low energy module
13.2.4.3 Functions
native Temp_Init(temp, mode);
The temperature is only measured once after this function is called if single conversion mode has been
activated (mode = TEMP_MODE_SINGLE_CONV). The measurement value can be read out by the
"Temp_GetValue" function until the PT100/1000 interface is closed by the "Temp_Close" function.
The temperature is measured at 320ms intervals after this function is called if continuous conversion
mode has been activated (mode = TEMP_MODE_CONT_CONV). The "Temp_GetValue" function
always supplies the last valid temperature value until the PT100/1000 interface is closed by the "Temp_
Close" function.
Parameter
Explanation
temp
Number of the PT100/1000 interface; is always 0 for the myDatalogEASY V3
mode
TEMP_MODE_SINGLE_
CONV :
The temperature is only measured once after
the "Temp_Init" function is called.
TEMP_MODE_CONT_CONV : The temperature is measured continuously at
320ms intervals after the "Temp_Init" function
is called.
Explanation
Return value
l
Time in [ms] required to measure the temperature
l
ERROR_FEATURE_LOCKED, if the specified interface on the device is
not released
l
ERROR, if an invalid parameter was transferred
Note:
The energy consumption in continuous conversion mode is significantly higher than in single
conversion mode. The lowest level of energy consumption is only achieved once the PT100/1000
interface is closed via the "Temp_Close" function. This means that even if the PT100/1000 interface
was initialised in single conversion mode, it should be closed as soon as the measurement value is read
out.
Rev. 05
139
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......