Loading…
Loading…
方法名称: limit_of_change
方法ID: 0x405F
方法标签: Limit of change
方法描述: The rate-of-change limit is used to control sudden changes of the converter's flow rate signal output when excessive noise is contained in the flow rate signal. The rate-of-change limit (set in percent value to the span of measuring range) and control limit time (set in second) are used, and if the flow rate signal sampling value exceeds the rate-of-change limit value based on the previous average value of the flow rate signal, the converter rejects the sampling value and outputs the average value including the maximum value of the rate-of-change value. Rate-of-change limit 0 to 30% / 50ms (in increments of 0.1%) Control limit time 0 to 20s (in increments of 1s)
- {
- {
- long ids[2];
- int percent_rate_limit10;
- float percent_rate_limit11;
- int percent_rate_limit20;
- float percent_rate_limit21;
- char status[3];
- send(135,status);
- do {
- percent_rate_limit10 = _ivar_value(resolve_record_ref(16598,16456));
- percent_rate_limit10 = (percent_rate_limit10 & 0xff00) / 0x0100 | (percent_rate_limit10 & 0x00ff) * 0x0100;
- percent_rate_limit21 = percent_rate_limit11 = (percent_rate_limit10 >> 8 & 0x00ff | percent_rate_limit10 << 8 & 0xff00) / 10.0;
- _get_local_var_value(literal_string(489),ids,literal_string(490));
- percent_rate_limit20 = percent_rate_limit21 * 10;
请登录以获得完整内容