Loading…

Method Name: MthSetEOptionDiagnosis2

Method ID: 0x42FE

Method Label: Select Diagnostics 2

Method Help: Sets the parameter to be assigned to cyclic value Diagnosis 2 (Fct. C1.10.2)


  • {
  • char achCmdStatus[3];
  • int iIdVarInitiator;
  • int objnum;
  • int temp;
  • _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);
  • if (_ivar_value(16745) == 1)
  • {
  • iIdVarInitiator = 2693;
  • _iassign(17126,_ivar_value(16748));
  • _get_dev_var_value(literal_string(1848),0,17126);
  • _lassign(17146,2693);
  • _iassign(16748,_ivar_value(17126));
  • send(158,achCmdStatus);
  • if (achCmdStatus[0] != 0)


Please login for more