Loading…

Method Name: MthSetEMeasurementTotalizer3

Method ID: 0x46B3

Method Label: Set Measurement

Method Help: Measurement for totaliser 3 (Fct. C4.3.2)


  • {
  • char achCmdStatus[3];
  • int iIdVarInitiator;
  • iIdVarInitiator = 42154;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_no_device(0);
  • _set_comm_status(0xFF,0);
  • _set_no_device(2);
  • SET_NUMBER_OF_RETRIES(5);
  • _lassign(18086,_lvar_value(16742));
  • _get_dev_var_value(literal_string(2000),0,18086);
  • _lassign(16742,_lvar_value(18086));
  • _lassign(17434,11372);
  • send(155,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(155,achCmdStatus[0]);
  • }


Please login for more