⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 instructoretc.mdl

📁 Engine control Source code
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      eval_nam		      "ZeroETC"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "motohawk_override_abs"
	      Ports		      [1, 1]
	      Position		      [55, 452, 205, 478]
	      ShowName		      off
	      SourceBlock	      "MotoHawk_lib/Calibration & Probing Bloc"
"ks/motohawk_override_abs"
	      SourceType	      "MotoHawk Absolute Override"
	      ShowPortLabels	      on
	      parent_name	      "'ETCDutyCycle'"
	      show_more		      off
	      name_source	      "Use Parameter"
	      parent_read_level	      "1"
	      parent_override_level   "1"
	      view_as		      "Number"
	      enum_struct	      "{'Disabled', 'Enabled'}"
	      use_help_units	      off
	      parent_help	      "''"
	      parent_units	      "''"
	      use_min_max	      off
	      parent_min	      "-inf"
	      parent_max	      "inf"
	      use_precision	      off
	      parent_precision	      "''"
	      parent_gain	      "1"
	      parent_offset	      "0"
	      parent_exp	      "1"
	      use_mototune_group      off
	      parent_group	      "motohawk_vardec_path(gcb)"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "motohawk_probe"
	      Ports		      [1]
	      Position		      [55, 417, 205, 443]
	      Orientation	      "left"
	      ShowName		      off
	      SourceBlock	      "MotoHawk_lib/Calibration & Probing Bloc"
"ks/motohawk_probe"
	      SourceType	      "MotoHawk Probe"
	      nam		      "'ETCActualDutyCycle'"
	      show_more		      off
	      name_source	      "Use Parameter"
	      read_level	      "1"
	      view_as		      "Number"
	      enum_struct	      "{'Disabled', 'Enabled'}"
	      vector_style	      "Wide Row"
	      use_help_units	      off
	      help		      "''"
	      units		      "''"
	      use_header_enum	      off
	      row_header_enum	      "{}"
	      col_header_enum	      "{}"
	      use_precision	      off
	      precision		      "''"
	      gain		      "1"
	      offset		      "0"
	      exp		      "1"
	      use_mototune_group      off
	      mototune_group	      "motohawk_vardec_path(gcb)"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "motohawk_pwm"
	      Ports		      [2]
	      Position		      [605, 435, 895, 555]
	      ShowName		      off
	      UserDataPersistent      on
	      SourceBlock	      "MotoHawk_lib/Analog I//O Blocks/motohaw"
"k_pwm"
	      SourceType	      "MotoHawk PWM Output"
	      text_resource	      "ETC"
	      code_resource	      "RES_NONE"
	      val_resource	      "-1"
	      target		      "ECU555_80"
	      resource_enum_str	      "(None)=-1,FUELP=0,ETC=1,HSOL1=2,HSOL2=3"
",HSOL3=4,HSOL4=5,START=6,OILP=11,FINJ1=12,FINJ2=13,FINJ3=14,FINJ4=15,FINJ5=16"
",FINJ6=17,AINJ1=18,AINJ2=19,AINJ3=20,AINJ4=21,AINJ5=22,AINJ6=23,TACH=24,EST 1"
"=36,EST 2=37,EST 3=38,EST 4=39,EST 5=40,EST 6=41,EST 7=42,EST 8=43"
	      freq_mode		      "Low"
	      output_current	      off
	      output_fault_status     off
	      use_child		      off
	      use_vardec	      off
	      nam		      "'PWM'"
	      read_level	      "1"
	      write_level	      "1"
	      group		      "'System | I/O Pins | Outputs Config'"
	    }
	    Line {
	      SrcBlock		      "motohawk_fault_action"
	      SrcPort		      1
	      DstBlock		      "Logical\nOperator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Logical\nOperator1"
	      SrcPort		      1
	      DstBlock		      "Logical\nOperator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Actuators"
	      SrcPort		      1
	      Points		      [50, 0; 15, 0]
	      Branch {
		Points			[0, 50]
		DstBlock		"Bus\nSelector1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Bus\nSelector"
		DstPort			1
	      }
	    }
	    Line {
	      Name		      "<ETCEnable>"
	      Labels		      [0, 0]
	      SrcBlock		      "Bus\nSelector"
	      SrcPort		      1
	      DstBlock		      "Logical\nOperator1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Logical\nOperator"
	      SrcPort		      1
	      DstBlock		      "Multiport\nSwitch"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Multiport\nSwitch"
	      DstPort		      3
	    }
	    Line {
	      Name		      "<ETCDutyCycle>"
	      Labels		      [0, 0]
	      SrcBlock		      "Bus\nSelector1"
	      SrcPort		      1
	      DstBlock		      "Multiport\nSwitch"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Multiport\nSwitch"
	      SrcPort		      1
	      Points		      [160, 0; 0, 140; -820, 0; 0, 175]
	      DstBlock		      "motohawk_override_abs"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "motohawk_override_abs"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		DstBlock		"Gain"
		DstPort			1
	      }
	      Branch {
		Points			[0, -35]
		DstBlock		"motohawk_probe"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Data Type Conversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type Conversion"
	      SrcPort		      1
	      DstBlock		      "motohawk_pwm"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type Conversion1"
	      SrcPort		      1
	      DstBlock		      "motohawk_pwm"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      DstBlock		      "Data Type Conversion1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "motohawk_calibration"
	      SrcPort		      1
	      DstBlock		      "Gain2"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "CAN Receive"
	  Ports			  [0, 1]
	  Position		  [45, 527, 325, 603]
	  BackgroundColor	  "[0.827451, 0.705882, 0.521569]"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "CAN Receive"
	    Location		    [-17, 90, 1007, 646]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      BusCreator
	      Name		      "Bus\nCreator"
	      Ports		      [2, 1]
	      Position		      [1440, 217, 1450, 528]
	      ShowName		      off
	      DialogController	      "Simulink.DDGSource_Bus"
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Read CAN Message"
	      Ports		      [0, 3]
	      Position		      [65, 60, 875, 530]
	      ShowName		      off
	      SourceBlock	      "MotoHawk_lib/CAN Blocks/Read CAN Messag"
"e"
	      SourceType	      "MotoHawk Read CAN Message"
	      bus		      "1"
	      msg		      "ETC_student_to_instructor_600"
	      queue		      "1"
	      slot		      "''"
	      valid		      off
	      stale		      on
	      labelwires	      on
	      Port {
		PortNumber		1
		Name			"AgeCount"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		2
		Name			"ETCDutyCycle"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		3
		Name			"ETCEnable"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [1110, 114, 1140, 221]
	      ShowName		      off
	      Operator		      ">"
	      LogicOutDataTypeMode    "Boolean"
	      ZeroCross		      off
	    }
	    Block {
	      BlockType		      SignalSpecification
	      Name		      "Signal Specification"
	      Position		      [970, 283, 1050, 307]
	      ShowName		      off
	      Port {
		PortNumber		1
		Name			"ETCDutyCycle"
		PropagatedSignals	"ETCDutyCycle"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      SignalSpecification
	      Name		      "Signal Specification1"
	      Position		      [970, 438, 1050, 462]
	      ShowName		      off
	      DataType		      "boolean"
	      Port {
		PortNumber		1
		Name			"ETCEnable"
		PropagatedSignals	"ETCEnable"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "motohawk_calibration"
	      Ports		      [0, 1]
	      Position		      [920, 175, 1070, 215]
	      ShowName		      off
	      SourceBlock	      "MotoHawk_lib/Calibration & Probing Bloc"
"ks/motohawk_calibration"
	      SourceType	      "MotoHawk Calibration"
	      nam		      "'ETCTimeout'"
	      val		      "100"
	      storage		      "Calibration"
	      show_more		      on
	      name_source	      "Use Parameter"
	      data_type		      "Inherit via back propagation"
	      read_level	      "1"
	      write_level	      "1"
	      ovr_cals		      on
	      view_as		      "Number"
	      enum_struct	      "{'Disabled', 'Enabled'}"
	      vector_style	      "Wide Row"
	      use_help_units	      on
	      help		      "'Timeout for the received CAN message f"
"rom student'"
	      units		      "'ms'"
	      use_header_enum	      off
	      row_header_enum	      "{}"
	      col_header_enum	      "{}"
	      use_min_max	      off
	      min_val		      "-inf"
	      max_val		      "inf"
	      use_precision	      on
	      precision		      "''"
	      gain		      "5"
	      offset		      "0"
	      exp		      "1"
	      use_mototune_group      off
	      mototune_group	      "motohawk_vardec_path(gcb)"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "motohawk_fault_def"
	      Ports		      [1]
	      Position		      [1205, 149, 1375, 191]
	      ShowName		      off
	      SourceBlock	      "MotoHawk_lib/Fault Management Blocks/mo"
"tohawk_fault_def"
	      SourceType	      "MotoHawk Fault Definition"
	      nam		      "'ETCTimedOut'"
	      mode		      "Enabled"
	      x			      "1"
	      y			      "1"
	      input_suspected	      on
	      indeterminate	      off
	      increment_xy	      on
	      downsample_count	      "1"
	      ovr_cals		      on
	      ovr_actions	      on
	      show_actions	      off
	      action1_name	      "''"
	      action1_cond	      "(None)"
	      action2_name	      "''"
	      action2_cond	      "(None)"
	      action3_name	      "''"
	      action3_cond	      "(None)"
	      action4_name	      "''"
	      action4_cond	      "(None)"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "motohawk_probe"
	      Ports		      [1]
	      Position		      [1205, 247, 1355, 273]
	      ShowName		      off
	      SourceBlock	      "MotoHawk_lib/Calibration & Probing Bloc"
"ks/motohawk_probe"
	      SourceType	      "MotoHawk Probe"
	      nam		      "'Probe'"
	      show_more		      on
	      name_source	      "Use Input Wire Name"
	      read_level	      "1"
	      view_as		      "Number"
	      enum_struct	      "{'Disabled', 'Enabled'}"
	      vector_style	      "Wide Row"
	      use_help_units	      off
	      help		      "''"
	      units		      "''"
	      use_header_enum	      off
	      row_header_enum	      "{}"
	      col_header_enum	      "{}"
	      use_precision	      off
	      precision		      "''"
	      gain		      "1"
	      offset		      "0"
	      exp		      "1"
	      use_mototune_group      off
	      mototune_group	      "motohawk_vardec_path(gcb)"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "motohawk_probe1"
	      Ports		      [1]
	      Position		      [1210, 402, 1360, 428]
	      ShowName		      off
	      SourceBlock	      "MotoHawk_lib/Calibration & Probing Bloc"
"ks/motohawk_probe"
	      SourceType	      "MotoHawk Probe"
	      nam		      "'Probe'"
	      show_more		      on
	      name_source	      "Use Input Wire Name"
	      read_level	      "1"
	      view_as		      "Number"
	      enum_struct	      "{'Disabled', 'Enabled'}"
	      vector_style	      "Wide Row"
	      use_help_units	      off
	      help		      "''"
	      units		      "''"
	      use_header_enum	      off
	      row_header_enum	      "{}"
	      col_header_enum	      "{}"
	      use_precision	      off
	      precision		      "''"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -