Loading…

方法名称: MthSetEOptionDiagnosis1

方法ID: 0x42FB

方法标签: Select Diagnostics 1

方法描述: 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)


请登录以获得完整内容