Loading…
Loading…
Method Name: execute_fst_method
Method ID: 0x4721
Method Label: Execute FST
Method Help:
- {
- 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(); }
- send_trans(228, 0, status); if(status[0]) { display_response_status(228, status[0]); DELAY(3,"|en|Aborting method due to last error"); process_abort(); };
- if (fst_enabled == 1)
- {
- 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|Execute Full Stroke Test?\nFST Start from %{fst_initial_travel} %[U]{fst_initial_travel}\nPlease set input signal for Travel %{fst_initial_travel} %[U]{fst_initial_travel}" );
- send_trans(230, 0, status); if(status[0]) { display_response_status(230, status[0]); DELAY(3,"|en|Aborting method due to last error"); process_abort(); };
- _add_abort_method(18210);
- do{
- DELAY(3,"|en|Full Stroke Test is running.\nPlease wait.\n\n%[L]{input_percent}\t\t: %{input_percent} %[U]{input_percent}\n%[L]{set_point}\t: %{set_point} %[U]{set_point}\n%[L]{travel}\t\t: %{travel} %[U]{travel}\n%[L]{position}\t\t: %{position} %[U]{position}\n%[L]{drive_signal}\t: %{drive_signal} %[U]{drive_signal}");
- send(48, status); if(status[0]) { display_response_status(48, status[0]); DELAY(3,"|en|Aborting method due to last error"); process_abort(); };
Please login for more