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

📄 rfcomm_server_tx_counter_5clients_noext.mdl

📁 simulink real-time workshop for dragon12 development board from
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [190, 40, 220, 70]
	  Orientation		  "left"
	  ShowName		  off
	  Value			  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [25, 85, 55, 115]
	  ShowName		  off
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant5"
	  Position		  [240, 125, 290, 155]
	  ShowName		  off
	  Value			  "N"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [330, 82, 360, 113]
	  ShowName		  off
	  InputSameDT		  off
	  LogicOutDataTypeMode	  "Specify via dialog"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [105, 90, 125, 110]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "++|"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [190, 75, 220, 105]
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [245, 73, 280, 107]
	  ShowName		  off
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [335, 23, 365, 37]
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant5"
	  SrcPort		  1
	  Points		  [0, -35]
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [-25, 0; 0, 25]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  Points		  [0, 0; 30, 0]
	  Branch {
	    Points		    [0, -60]
	    Branch {
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [-200, 0]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "Relational\nOperator"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "Unit Delay"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  Points		  [15, 0; 0, 75; -235, 0; 0, -85]
	  DstBlock		  "Switch"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 8]
      Position		      [470, 554, 475, 761]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "8"
      Port {
	PortNumber		1
	Name			"top centre"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		2
	Name			"top right"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		3
	Name			"bottom right"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		4
	Name			"bottom centre"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		5
	Name			"bottom left"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		6
	Name			"top left"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		7
	Name			"centre"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		8
	Name			"dot"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Display"
      Ports		      [8]
      Position		      [605, 555, 740, 760]
      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\\rtmc9S"
"12_CW_R13\\bin\\mc9S12.map', 'mc9S12_DOUT_In_blkref')"
      MaskPromptString	      "Port (see hardware manuals for valid options)|P"
"in (see hardware manuals for valid options)|Sample time|On-threshold (Von)|Of"
"f-threshold (Voff)"
      MaskStyleString	      "popup(Port A|Port B|Port H|Port J|Port M|Port 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(por"
"t, 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:7|0.1|0.5|0.5"
      System {
	Name			"Display"
	Location		[262, 82, 702, 273]
	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		  Inport
	  Name			  "In2"
	  Position		  [30, 65, 50, 85]
	  FontSize		  12
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [30, 110, 50, 130]
	  FontSize		  12
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [30, 155, 50, 175]
	  FontSize		  12
	  Port			  "4"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [30, 200, 50, 220]
	  FontSize		  12
	  Port			  "5"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In6"
	  Position		  [30, 245, 50, 265]
	  FontSize		  12
	  Port			  "6"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In7"
	  Position		  [30, 290, 50, 310]
	  FontSize		  12
	  Port			  "7"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In8"
	  Position		  [30, 335, 50, 355]
	  FontSize		  12
	  Port			  "8"
	}
	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		    "255"
	    pinStr		    "0,1,2,3,4,5,6,7"
	  }
	  FontSize		  12
	  FunctionName		  "digOut_sfcn_9S12"
	  Parameters		  "sampletime, port, pins, Von, Voff"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [8, 1]
	  Position		  [165, 40, 170, 220]
	  ShowName		  off
	  Inputs		  "8"
	  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
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {

⌨️ 快捷键说明

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