📄 synch.mdl
字号:
Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Monitor" Position [335, 133, 365, 147] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "AI1" SrcPort 1 Points [5, 0; 0, 20] DstBlock "Mux" DstPort 1 } Line { SrcBlock "AI2" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 2 } Line { SrcBlock "TrueTime Kernel" SrcPort 2 DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "Ground2" SrcPort 1 Points [15, 0; 0, -35] DstBlock "TrueTime Kernel" DstPort 2 } Line { SrcBlock "AI3" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 1 } Line { SrcBlock "Ground1" SrcPort 1 Points [25, 0] DstBlock "TrueTime Kernel" DstPort 3 } Line { SrcBlock "TrueTime Kernel" SrcPort 4 Points [25, 0; 0, 35] DstBlock "Monitor" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 3 Points [5, 0; 0, 10] DstBlock "Schedule" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 1 Points [10, 0; 0, -25] DstBlock "AO1" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 5 Points [10, 0; 0, 55] DstBlock "Terminator" DstPort 1 } } } Block { BlockType Display Name "Display" Ports [1] Position [100, 15, 190, 45] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Scope Name "Monitor" Ports [1] Position [300, 211, 330, 239] Floating off Location [85, 778, 1082, 1118] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "25" YMin "0.8" YMax "2.7" SaveToWorkspace off SaveName "ScopeData4" DataFormat "Array" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [444, 65, 486, 70] Orientation "up" NamePlacement "alternate" ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Reference Name "Reference \npositons" Ports [0, 1] Position [30, 110, 60, 140] SourceBlock "simulink3/Sources/Repeating\nSequence" SourceType "Repeating table" rep_seq_t "[0 1 1 5 5 9 9 13 13 17 17 21 21 25] " rep_seq_y "[0 0 5 5 -3 -3 8 8 0 0 2 2 -7 -7]" } Block { BlockType Scope Name "Schedule" Ports [1] Position [300, 161, 330, 189] Floating off Location [30, 612, 1027, 952] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "25" YMin "0.8" YMax "2.7" SaveToWorkspace off SaveName "ScopeData1" DataFormat "Array" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "phi" Ports [1] Position [450, 300, 480, 330] Floating off Location [154, 520, 598, 864] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "25" YMin "-8" YMax "10" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "u" Ports [1] Position [315, 30, 345, 60] Orientation "up" Floating off Location [610, 519, 1054, 863] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "25" YMin "-10" YMax "10" SaveToWorkspace off SaveName "ScopeData3" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "x" Ports [1] Position [450, 15, 480, 45] Orientation "up" Floating off Location [610, 122, 1054, 466] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "25" YMin "-8" YMax "10" SaveToWorkspace off SaveName "ScopeData2" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Line { SrcBlock "Clock" SrcPort 1 DstBlock "Display" DstPort 1 } Line { SrcBlock "Ball and Beam Process" SrcPort 2 Points [15, 0] Branch { DstBlock "Mux" DstPort 2 } Branch { Points [20, 0; 0, 120; -370, 0; 0, -85] DstBlock "Computer" DstPort 3 } } Line { SrcBlock "Ball and Beam Process" SrcPort 1 Points [60, 0; 0, 165; -145, 0] Branch { Points [-275, 0; 0, -125] DstBlock "Computer" DstPort 2 } Branch { Points [0, 40] DstBlock "phi" DstPort 1 } } Line { SrcBlock "Reference \npositons" SrcPort 1 Points [0, 0; 35, 0] Branch { DstBlock "Computer" DstPort 1 } Branch { Points [0, -40] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Computer" SrcPort 1 DstBlock " " DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "x" DstPort 1 } Line { SrcBlock "Computer" SrcPort 2 Points [35, 0] DstBlock "Schedule" DstPort 1 } Line { SrcBlock "Computer" SrcPort 3 Points [10, 0; 0, 50] DstBlock "Monitor" DstPort 1 } Line { SrcBlock " " SrcPort 1 Points [25, 0] Branch { DstBlock "u" DstPort 1 } Branch { DstBlock "Ball and Beam Process" DstPort 1 } } Annotation { Position [181, 316] Text "TrueTime 1.5 Task Synchronization Using Monito""rs\nCopyright (c) 2007\nMartin Ohlin, Dan Henriksson and Anton Cervin\nDepart""ment of Automatic Control, Lund University, Sweden\nPlease direct questions a""nd bug reports to: truetime@control.lth.se " } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -