Loading…

Method Name: MthSetEOptionDiagnosis1

Method ID: 0x42FB

Method Label: Select Diagnostics 1

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


  • {
  • 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 = 2690;
  • _iassign(17124,_ivar_value(16744));
  • _get_dev_var_value(literal_string(1848),0,17124);
  • _lassign(17146,2690);
  • _iassign(16744,_ivar_value(17124));
  • send(158,achCmdStatus);
  • if (achCmdStatus[0] != 0)


Please login for more