Loading…

Method Name: MthSetTotalizer3

Method ID: 0x46B0

Method Label: Set Totaliser

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


  • {
  • char achCmdStatus[3];
  • long ai32VariableIds[2];
  • int iResult;
  • iResult = SELECT_FROM_LIST(literal_string(1951),literal_string(1950));
  • 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(17770,4212);
  • send(144,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(144,achCmdStatus[0]);
  • }


Please login for more