Loading…

Method Name: trim_analogue_input_low

Method ID: 0x40C2

Method Label: Trim Low

Method Help:


  • {
  • char status[3];
  • DD_STRING str20;
  • float tmpF32;
  • int tmpInt;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • tmpInt = _ivar_value(16457);
  • if (tmpInt == 1)
  • {
  • str20 = literal_string(746);
  • ACKNOWLEDGE(str20);
  • tmpF32 = _fvar_value(resolve_record_ref(16579,191));
  • if (tmpF32 >= 3.5 && tmpF32 <= 4.5)
  • {
  • _fassign(16466,tmpF32);
  • send(157,status);
  • if (status[0] != 0)
  • {
  • display_response_status(157,status[0]);
  • }


Please login for more