Loading…

Method Name: contact_output_simulation_method

Method ID: 0x4160

Method Label: Contact Output Simulation Mode

Method Help: Contact Output Simulation Mode- Simulates the contact output. --Open: Select [Open] to put the device in simulation mode with the contact output circuit open. --Closed: Select [Closed] to put the device in simulation mode with the contact output circuit closed.


  • {
  • char status[3];
  • char disp_string[60];
  • int slen;
  • int choice;
  • int loop_simlation;
  • slen = 60;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _get_dictionary_string(19726337,(disp_string),(slen));
  • ACKNOWLEDGE(disp_string);
  • _add_abort_method(4118);
  • do
  • {
  • choice = SELECT_FROM_LIST("|en|Select Contact Output Simulation Mode.\n\n%[L]{co_state}: %{co_state}\n\n","|en|End Simulation Mode;Open;Close");
  • _remove_abort_method(4118);
  • _add_abort_method(16492);
  • switch(choice)


Please login for more