Loading…

方法名称: MthSimulateControlInputIoB

方法ID: 0x45D8

方法标签: Simulation

方法描述: Sets simulated output of control input B (Fct. C3.3.4)


  • {
  • char achCmdStatus[3];
  • long ai32VariableIds[4];
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • ai32VariableIds[0] = 17591;
  • _iassign(17591,0);
  • _add_abort_method(17879);
  • while (1)
  • {
  • _get_dev_var_value(literal_string(1993),0,17591);
  • if (_ivar_value(17591) == 1)
  • {
  • _fassign(17839,1.0);
  • }
  • else
  • {


请登录以获得完整内容