Loading…

方法名称: contact_output_simulation_method

方法ID: 0x4160

方法标签: Contact Output Simulation Mode

方法描述: 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)


请登录以获得完整内容