Loading…

Method Name: reset_mass_integrator_method

Method ID: 0x40E3

Method Label: Reset Totalizer

Method Help: Resets the Mass Totalizer


  • {
  • char status[3];
  • int i_result;
  • int i_choice;
  • long ids[1];
  • SET_NUMBER_OF_RETRIES(7);
  • _set_no_device(2);
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • ids[0] = 16457;
  • i_choice = 0;
  • ACKNOWLEDGE(literal_string(633));
  • i_choice = SELECT_FROM_LIST(literal_string(634),literal_string(605));
  • if (i_choice == 1)
  • {
  • _iassign(16457,1);
  • send(205,status);
  • if (status[0] != 0)
  • {
  • if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
  • {
  • display_response_status(205,status[0]);


Please login for more