Loading…

方法名称: Capture20mALevel

方法ID: 0x4023

方法标签: Capture 20mA Level

方法描述: Sets 20mA point to level at float position


  • {
  • char status[3];
  • char disp_string1[60];
  • int slen1;
  • long var_id[1];
  • int use_abort_method;
  • int units;
  • int key_selected;
  • slen1 = 60;
  • _get_dictionary_string(19726337,disp_string1,slen1);
  • _add_abort_method(4118);
  • ACKNOWLEDGE(disp_string1);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • ACKNOWLEDGE(literal_string(125));
  • do {
  • send_command(1);
  • units = _ivar_value(16385);
  • var_id[0] = 16386;
  • if (units == 47)
  • key_selected = select_from_list(literal_string(118),var_id,literal_string(126));
  • else


请登录以获得完整内容