Loading…

方法名称: MthSetTotalizer2

方法ID: 0x4691

方法标签: Set Totaliser

方法描述: Sets totaliser 2 to desired value (Fct. C4.2.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,4202);
  • send(144,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(144,achCmdStatus[0]);
  • }


请登录以获得完整内容