Loading…

Method Name: AlarmFunctionEdit

Method ID: 0x4059

Method Label: Alarm Function Edit

Method Help: Changes the alarm function controls


  • {
  • char status[3];
  • int almselection;
  • int action;
  • int enable;
  • int direction;
  • int latch;
  • int retry;
  • int slen1;
  • char disp_string1[135];
  • long ids[1];
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _add_abort_method(4118);
  • almselection = SELECT_FROM_LIST(literal_string(330),literal_string(331));
  • enable = SELECT_FROM_LIST(literal_string(332),literal_string(333));
  • direction = SELECT_FROM_LIST(literal_string(334),literal_string(335));
  • latch = SELECT_FROM_LIST(literal_string(336),literal_string(337));
  • action = 0;
  • if (direction)
  • {
  • action = action | 0x02;


Please login for more