Loading…
Loading…
Method Name: LF600_multi_range_hysteresys
Method ID: 0x412B
Method Label: Range hys
Method Help: Range hysteresis is the dead band used when multiple ranges are switched. You can set the hysteresis within the range of 0 to 25% in increments of 0.1%.
- {
- long ids[2];
- int hys10;
- float hys11;
- int hys20;
- float hys21;
- char status[3];
- send(157,status);
- do {
- hys10 = _ivar_value(resolve_record_ref(16598,16445));
- hys10 = (hys10 & 0xff00) / 0x0100 | (hys10 & 0x00ff) * 0x0100;
- hys21 = hys11 = (hys10 >> 8 & 0x00ff | hys10 << 8 & 0xff00) / 10.0;
- _get_local_var_value(literal_string(513),ids,literal_string(514));
- hys20 = hys21 * 10;
- if (hys20 < 0)
- {
- ACKNOWLEDGE(literal_string(483));
- status[0] = 1;
Please login for more