Loading…
Loading…
Method Name: auto_travel_calibration_method
Method ID: 0x46C2
Method Label: Auto Travel Calibration
Method Help: Calibrates the travel angles 0% and 100% parameters only. Other parameters are not calibrated.
- {
- char status[3];
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,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.");
- ACKNOWLEDGE("|en|Please check if the following 2 parameters are appropriate for the valve. If not, change the parameters from the Valve System menu.\n\n%[L]{actuator_type}\t\t: %{actuator_type}\n%[L]{valve_closed_position}\t: %{valve_closed_position}");
- ACKNOWLEDGE("|en|Execute Auto Travel Calibration?");
- send_trans(161, 0, status); if(status[0]) { display_response_status(161, status[0]); DELAY(3,"|en|Aborting method due to last error"); process_abort(); }
- _add_abort_method(18098);
- do
- {
- send(162, status); if(status[0]) { display_response_status(162, status[0]); DELAY(3,"|en|Aborting method due to last error"); process_abort(); };
- DELAY(3,"|en|Auto Travel Calibration is running.\nPlease wait.");
Please login for more