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

📄 shaker_driver_sysid2.mdl

📁 simulink real-time workshop for dragon12 development board from
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	Location		[249, 261, 954, 634]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "f"
	  Position		  [50, 113, 80, 127]
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  []
	  Position		  [250, 20, 270, 40]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Direction2"
	  Ports			  [1]
	  Position		  [585, 129, 680, 181]
	  BackgroundColor	  "lightBlue"
	  AncestorBlock		  "mc9S12tool/Digital output"
	  List {
	    ListType		    RTWdata
	    portStr		    "PORTA"
	    ddrStr		    "DDRA"
	    pinStr		    "6"
	  }
	  FontSize		  12
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskHelp		  "helpview('C:\\Program Files\\Metrowerks\\rt"
"mc9S12_CW_R13\\bin\\mc9S12.map', 'mc9S12_DOUT_In_blkref')"
	  MaskPromptString	  "Port (see hardware manuals for valid option"
"s)|Pin (see hardware manuals for valid options)|Sample time|On-threshold (Von"
")|Off-threshold (Voff)"
	  MaskStyleString	  "popup(Port A|Port B|Port H|Port J|Port M|Po"
"rt P|Port S|Port T),edit,edit,edit,edit"
	  MaskTunableValueString  "off,off,off,on,on"
	  MaskCallbackString	  "||||"
	  MaskEnableString	  "on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on"
	  MaskVarAliasString	  ",,,,"
	  MaskVariables		  "port=@1;pin=&2;sampletime=@3;Von=@4;Voff=@5"
";"
	  MaskInitialization	  "[portstr, pinstr, pins] = mbc_digitaloutput"
"(port, pin, sampletime, Von, Voff);"
	  MaskDisplay		  "fprintf('%s\\nPins: %s', portstr, pinstr)"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "Port H|0|Ts|0.5|0.5"
	  System {
	    Name		    "Direction2"
	    Location		    [262, 81, 747, 356]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 20, 50, 40]
	      FontSize		      12
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Digital Output SFcn"
	      Tag		      "MC9S12target"
	      Ports		      [1]
	      Position		      [255, 81, 380, 119]
	      List {
		ListType		RTWdata
		portStr			"PTH"
		ddrStr			"DDRH"
		pinMask			"1"
		pinStr			"0"
	      }
	      FontSize		      12
	      FunctionName	      "digOut_sfcn_9S12"
	      Parameters	      "sampletime, port, pins, Von, Voff"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [1, 1]
	      Position		      [165, 40, 170, 220]
	      ShowName		      off
	      Inputs		      "1"
	      DisplayOption	      "bar"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, -30]
	      DstBlock		      "Digital Output SFcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Direction3"
	  Ports			  [1]
	  Position		  [585, 294, 680, 346]
	  BackgroundColor	  "lightBlue"
	  AncestorBlock		  "mc9S12tool/Digital output"
	  List {
	    ListType		    RTWdata
	    portStr		    "PORTA"
	    ddrStr		    "DDRA"
	    pinStr		    "6"
	  }
	  FontSize		  12
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskHelp		  "helpview('C:\\Program Files\\Metrowerks\\rt"
"mc9S12_CW_R13\\bin\\mc9S12.map', 'mc9S12_DOUT_In_blkref')"
	  MaskPromptString	  "Port (see hardware manuals for valid option"
"s)|Pin (see hardware manuals for valid options)|Sample time|On-threshold (Von"
")|Off-threshold (Voff)"
	  MaskStyleString	  "popup(Port A|Port B|Port H|Port J|Port M|Po"
"rt P|Port S|Port T),edit,edit,edit,edit"
	  MaskTunableValueString  "off,off,off,on,on"
	  MaskCallbackString	  "||||"
	  MaskEnableString	  "on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on"
	  MaskVarAliasString	  ",,,,"
	  MaskVariables		  "port=@1;pin=&2;sampletime=@3;Von=@4;Voff=@5"
";"
	  MaskInitialization	  "[portstr, pinstr, pins] = mbc_digitaloutput"
"(port, pin, sampletime, Von, Voff);"
	  MaskDisplay		  "fprintf('%s\\nPins: %s', portstr, pinstr)"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "Port H|3|Ts|0.5|0.5"
	  System {
	    Name		    "Direction3"
	    Location		    [262, 81, 747, 356]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 20, 50, 40]
	      FontSize		      12
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Digital Output SFcn"
	      Tag		      "MC9S12target"
	      Ports		      [1]
	      Position		      [255, 81, 380, 119]
	      List {
		ListType		RTWdata
		portStr			"PTH"
		ddrStr			"DDRH"
		pinMask			"8"
		pinStr			"3"
	      }
	      FontSize		      12
	      FunctionName	      "digOut_sfcn_9S12"
	      Parameters	      "sampletime, port, pins, Von, Voff"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [1, 1]
	      Position		      [165, 40, 170, 220]
	      ShowName		      off
	      Inputs		      "1"
	      DisplayOption	      "bar"
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, -30]
	      DstBlock		      "Digital Output SFcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Pulses2"
	  Ports			  [1]
	  Position		  [585, 54, 680, 106]
	  BackgroundColor	  "[1.000000, 1.000000, 0.000000]"
	  AncestorBlock		  "mc9S12tool/Digital output"
	  List {
	    ListType		    RTWdata
	    portStr		    "PORTA"
	    ddrStr		    "DDRA"
	    pinStr		    "6"
	  }
	  FontSize		  12
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskHelp		  "helpview('C:\\Program Files\\Metrowerks\\rt"
"mc9S12_CW_R13\\bin\\mc9S12.map', 'mc9S12_DOUT_In_blkref')"
	  MaskPromptString	  "Port (see hardware manuals for valid option"
"s)|Pin (see hardware manuals for valid options)|Sample time|On-threshold (Von"
")|Off-threshold (Voff)"
	  MaskStyleString	  "popup(Port A|Port B|Port H|Port J|Port M|Po"
"rt P|Port S|Port T),edit,edit,edit,edit"
	  MaskTunableValueString  "off,off,off,on,on"
	  MaskCallbackString	  "||||"
	  MaskEnableString	  "on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on"
	  MaskVarAliasString	  ",,,,"
	  MaskVariables		  "port=@1;pin=&2;sampletime=@3;Von=@4;Voff=@5"
";"
	  MaskInitialization	  "[portstr, pinstr, pins] = mbc_digitaloutput"
"(port, pin, sampletime, Von, Voff);"
	  MaskDisplay		  "fprintf('%s\\nPins: %s', portstr, pinstr)"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "Port H|1|Ts|0.5|0.5"
	  System {
	    Name		    "Pulses2"
	    Location		    [262, 81, 702, 272]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 20, 50, 40]
	      FontSize		      12
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Digital Output SFcn"
	      Tag		      "MC9S12target"
	      Ports		      [1]
	      Position		      [255, 81, 380, 119]
	      List {
		ListType		RTWdata
		portStr			"PTH"
		ddrStr			"DDRH"
		pinMask			"2"
		pinStr			"1"
	      }
	      FontSize		      12
	      FunctionName	      "digOut_sfcn_9S12"
	      Parameters	      "sampletime, port, pins, Von, Voff"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [1, 1]
	      Position		      [165, 40, 170, 220]
	      ShowName		      off
	      Inputs		      "1"
	      DisplayOption	      "bar"
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, -30]
	      DstBlock		      "Digital Output SFcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Pulses3"
	  Ports			  [1]
	  Position		  [585, 219, 680, 271]
	  BackgroundColor	  "[1.000000, 1.000000, 0.000000]"
	  AncestorBlock		  "mc9S12tool/Digital output"
	  List {
	    ListType		    RTWdata
	    portStr		    "PORTA"
	    ddrStr		    "DDRA"
	    pinStr		    "6"
	  }
	  FontSize		  12
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskHelp		  "helpview('C:\\Program Files\\Metrowerks\\rt"
"mc9S12_CW_R13\\bin\\mc9S12.map', 'mc9S12_DOUT_In_blkref')"
	  MaskPromptString	  "Port (see hardware manuals for valid option"
"s)|Pin (see hardware manuals for valid options)|Sample time|On-threshold (Von"
")|Off-threshold (Voff)"
	  MaskStyleString	  "popup(Port A|Port B|Port H|Port J|Port M|Po"
"rt P|Port S|Port T),edit,edit,edit,edit"
	  MaskTunableValueString  "off,off,off,on,on"
	  MaskCallbackString	  "||||"
	  MaskEnableString	  "on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on"
	  MaskVarAliasString	  ",,,,"
	  MaskVariables		  "port=@1;pin=&2;sampletime=@3;Von=@4;Voff=@5"
";"
	  MaskInitialization	  "[portstr, pinstr, pins] = mbc_digitaloutput"
"(port, pin, sampletime, Von, Voff);"
	  MaskDisplay		  "fprintf('%s\\nPins: %s', portstr, pinstr)"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "Port H|2|Ts|0.5|0.5"
	  System {
	    Name		    "Pulses3"
	    Location		    [262, 81, 702, 272]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 20, 50, 40]
	      FontSize		      12
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Digital Output SFcn"
	      Tag		      "MC9S12target"
	      Ports		      [1]
	      Position		      [255, 81, 380, 119]
	      List {
		ListType		RTWdata
		portStr			"PTH"
		ddrStr			"DDRH"
		pinMask			"4"
		pinStr			"2"
	      }
	      FontSize		      12
	      FunctionName	      "digOut_sfcn_9S12"
	      Parameters	      "sampletime, port, pins, Von, Voff"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [1, 1]
	      Position		      [165, 40, 170, 220]
	      ShowName		      off
	      Inputs		      "1"
	      DisplayOption	      "bar"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, -30]
	      DstBlock		      "Digital Output SFcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold2"
	  Position		  [465, 156, 500, 194]
	  ShowName		  off
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold3"
	  Position		  [470, 31, 500, 69]
	  ShowName		  off
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  Scope
	  Name			  "dir"
	  Ports			  [1]
	  Position		  [530, 159, 560, 191]
	  Location		  [197, 330, 521, 569]
	  Open			  on
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  TimeRange		  "4"
	  YMin			  "-1"
	  YMax			  "2"
	  SaveToWorkspace	  on
	  SaveName		  "direction"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Scope
	  Name			  "pulse"
	  Ports			  [1]
	  Position		  [520, 34, 550, 66]
	  Location		  [188, 365, 512, 604]
	  Open			  on
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles

⌨️ 快捷键说明

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