Loading…

方法名称: trim_analogue_input_low

方法ID: 0x40C2

方法标签: Trim Low

方法描述:


  • {
  • 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]);
  • }


请登录以获得完整内容