Loading…
Loading…
Method Name: dummy_contact_output_method
Method ID: 0x4685
Method Label: Dummy Contact Output
Method Help: Dummy Contact Output outputs dummy contact signal from the AVP700 to upper system for the functional check.
- {
- char status[3];
- int choice;
- _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(); }
- _add_abort_method(18023);
- do
- {
- do
- {
- send(188, status); if(status[0]) { display_response_status(188, status[0]); DELAY(3,"|en|Aborting method due to last error"); process_abort(); }
- choice = SELECT_FROM_LIST("|en|Dummy Contact Output will be executed.\n\n%[L]{contact_output}: %{contact_output}\n\nSelect a Dummy Contact Output value.","|en|Exit;Open;Closed;Clear");
- switch(choice)
- {
- case 1:
- dummy_contact_output = 1;
- send_trans(172, 0, status); if(status[0]) { display_response_status(172, status[0]); DELAY(3,"|en|Aborting method due to last error"); process_abort(); }
Please login for more