Loading…

Method Name: angle_correction_method

Method ID: 0x466F

Method Label: Angle Correction

Method Help: A method of calibrating the travel angle 0% or 100% by specifying a correction to the preset travel angle 0% or 100%.


  • {
  • char status[3];
  • int choice, choice_value;
  • float angleList[6];
  • float angle;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • angleList[0] = 0.01;
  • angleList[1] = 0.1;
  • angleList[2] = 1.0;
  • angleList[3] = -0.01;
  • angleList[4] = -0.1;
  • angleList[5] = -1.0;
  • send_trans(164, 1, status); if(status[0]) { display_response_status(164, status[0]); DELAY(3,"|en|Aborting method due to last error"); process_abort(); } if(ope_authority_sts != 1) { ACKNOWLEDGE("|en|User does not have permission for the operation. Please allow operator action."); process_abort(); }
  • ACKNOWLEDGE("|en|Caution!\nThis operation may cause sudden action of the valve.\nPlease ensure the safety of personnel and of the process operation before proceeding.");
  • do
  • {
  • choice = SELECT_FROM_LIST("|en|Select the desired Angle Correction operation.","|en|Exit;Travel Angle 0%;Travel Angle 100%");
  • if(choice == 1)


Please login for more