Loading…

Method Name: method_dev_var_sim

Method ID: 0x4301

Method Label: Device variable simulation

Method Help: Enable device variable simulation


  • {
  • char status[3];
  • int ynans;
  • int mdfsa;
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • _get_dev_var_value(literal_string(1983),0,16584);
  • _add_abort_method(17154);
  • do {
  • do {
  • _iassign(225,deviceVariables_simulation);
  • _iassign(226,0);
  • _iassign(227,0);
  • _iassign(228,0);
  • send(33,status);
  • if (status[0] != 0)
  • {
  • if (status[0] == 8 || status[0] == 14 || status[0] == 30)
  • {
  • ACKNOWLEDGE(literal_string(1960));
  • display_response_status(33,status[0]);
  • }


Please login for more