Loading…

方法名称: analog_1_trim

方法ID: 0x4263

方法标签: 毫安输出调整

方法描述: 数字量到模拟量校准 - 在毫安输出的操作端点使用外部参考值对选定的毫安输出进行校准。


  • {
  • char status[3];
  • long var_id[2];
  • int retry;
  • int connection_point;
  • char disp_string[150];
  • char disp_string1[100];
  • char disp_string2[150];
  • char disp_string3[100];
  • int slen;
  • int slen1;
  • int slen2;
  • int slen3;
  • int choice;
  • float lowPoint_1;
  • float lowPoint_2;
  • float highPoint_1;
  • float highPoint_2;
  • float fixedvalue;
  • float Value1;
  • float Value2;
  • int deviceChoice;
  • int loop_choice;
  • deviceChoice = 0;
  • slen = 150;
  • slen1 = 100;
  • slen2 = 150;
  • slen3 = 100;
  • retry = 0;
  • lowPoint_1 = 12;
  • highPoint_1 = 20;
  • lowPoint_2 = 4;
  • highPoint_2 = 20;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • ACKNOWLEDGE(literal_string(581));
  • connection_point = _ivar_value(16391);
  • while (connection_point == 0)
  • {


请登录以获得完整内容