Loading…

Method Name: MthSetTotalizer3

Method ID: 0x45B6

Method Label: Set totalizer

Method Help: Sets totaliser 3 to desired value (Fct. C3.3.7)


  • {
  • char achCmdStatus[3];
  • long ai32VariableIds[2];
  • int iResult;
  • iResult = SELECT_FROM_LIST(literal_string(1823),literal_string(1822));
  • if (iResult != 1)
  • return;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_no_device(0);
  • _set_comm_status(0xFF,0);
  • SET_NUMBER_OF_RETRIES(0);
  • _lassign(17129,4212);
  • send(144,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(144,achCmdStatus[0]);
  • }


Please login for more