Loading…

方法名称: MthSetEMeasurementTotalizer2

方法ID: 0x459C

方法标签: Set Measurement

方法描述: Measurement for totaliser 2 (Fct. C3.2.2)


  • {
  • char achCmdStatus[3];
  • int iIdVarInitiator;
  • iIdVarInitiator = 42153;
  • _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(17809,_lvar_value(16588));
  • _get_dev_var_value(literal_string(1867),0,17809);
  • _lassign(16588,_lvar_value(17809));
  • _lassign(17156,11362);
  • send(155,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(155,achCmdStatus[0]);
  • }


请登录以获得完整内容