
native UI_SetSampleRate(samplerate);
Sets the sample rate for the measurement value acquisition at the universal inputs. The specified
setting is always valid for all of the universal inputs. Special settings for individual universal inputs are
not possible. The default value of the sample rate is 16Hz (62,5ms) . Detailed information on the
universal inputs is provided in chapter "Technical details about the universal inputs" on page 55.
Note:
The energy consumption increases when the sample rate is increased.
Note:
The selected option also influences the possible value range for the pulse duration of the
isolated switch contact in "pulse/min." mode.
Parameter
Explanation
samplerate
Sample rate in [Hz]
Note:
Only the constants specified in "Sample rate in [Hz] for the
measurement" in chapter "Constants" on page 145are permissible for this
parameter.
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
Note:
The sample rate for the universal inputs operated in "Counter", "Frequency" or "PWM" modes is
not relevant. You can use the lowest possible value for the sample rate, if you operate all of the universal
inputs in these modes and do not operate the isolated switch contact in "pulse/min." mode.
native UI_ResetCounter(channel);
Resets the counter reading of an universal input that is being operated in "Counter" mode. If no error
occurred during this process, the function returns the counter reading value before resetting the
counter. Detailed information on the universal inputs is provided in chapter "Technical details about the
universal inputs" on page 55.
Parameter
Explanation
channel
Number of the universal input, starting with 0 for UI 1
Note:
You can also use the predefined constants for this parameter (see
"Numbers of the universal inputs" in the chapter "System" on page 95).
Explanation
Return value
l
Counter reading before the reset
l
ERROR, if an invalid parameter was transferred
148
Rev. 01
Содержание myDatalogEASY IoTmini
Страница 2: ......
Страница 11: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 11 ...
Страница 12: ......
Страница 34: ......
Страница 66: ......
Страница 78: ......
Страница 82: ......
Страница 186: ......
Страница 194: ......
Страница 196: ......
Страница 202: ......
Страница 205: ...Chapter 19 Document history Chapter 19 Document history Rev Date Changes 01 28 08 2020 First version Rev 01 205 ...
Страница 206: ......
Страница 208: ......