Loading…

Method Name: LF220_multi_range_hysteresys

Method ID: 0x405D

Method Label: Hysteresys

Method Help: Hysteresys- Set the blind sector width associated with range switching.


  • {
  • long ids[2];
  • int hys10;
  • float hys11;
  • int hys20;
  • float hys21;
  • char status[3];
  • send(157,status);
  • do {
  • hys10 = _ivar_value(resolve_record_ref(resolve_array_ref(172,1),16445));
  • hys10 = (hys10 & 0xff00) / 0x0100 | (hys10 & 0x00ff) * 0x0100;
  • hys21 = hys11 = (hys10 >> 8 & 0x00ff | hys10 << 8 & 0xff00) / 10.0;
  • _get_local_var_value(literal_string(346),ids,literal_string(347));
  • hys20 = hys21 * 10;
  • if (hys20 < 0)
  • {
  • ACKNOWLEDGE(literal_string(348));
  • status[0] = 1;


Please login for more