Loading…

Method Name: mthDensityCalibration

Method ID: 0x459F

Method Label: Dichte kalibrieren

Method Help: Durchführen einer Dichtekalibrierung. (C1.2.1)


  • {
  • long ai32VariableIds[4];
  • char achCmdStatus[3];
  • int iLengthStStandardDct;
  • char stStandardDct[60];
  • float flTimeResponseDelayedGdc;
  • int iTimeResponseDelayedGdc;
  • int iOptionChosen;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • send_command(185);
  • if (!(eAccessLevel >= 1 || eOptionValidityDebug == 1))
  • {
  • ACKNOWLEDGE(literal_string(2132));
  • return;
  • }
  • _add_abort_method(17824);
  • mthLoadDefaultValue(53219,0x00,1);
  • mthLoadDefaultValue(1741,0x00,1);
  • _lassign(17412,20451);
  • send(153,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(155,achCmdStatus[0]);
  • iLengthStStandardDct = 60;
  • _get_dictionary_string(19726342,stStandardDct,iLengthStStandardDct);
  • DELAY(2,stStandardDct);
  • process_abort();
  • }
  • _get_dev_var_value(literal_string(2165),0,17179);
  • _lassign(17412,20451);
  • send(155,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(155,achCmdStatus[0]);
  • iLengthStStandardDct = 60;
  • _get_dictionary_string(19726342,stStandardDct,iLengthStStandardDct);
  • DELAY(2,stStandardDct);
  • process_abort();
  • }
  • switch (_ivar_value(17179))
  • {
  • case 0:
  • case 1:
  • _lassign(17412,20452);


Please login for more